Skip to main content
Glama

get_technical_analysis

Read-onlyIdempotent

Get confluence direction/confidence, trend, MACD, volume, chart patterns, and market-structure signals (BOS/CHOCH/liquidity-sweep/order-flow/volume-profile/institutional-footprint) for one ticker, computed from real OHLC price data -- the same engine that powers XFINLAB's chart-analysis and ai-analysis pages.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage for text labels, e.g. 'en', 'zh-HK'.en
periodNoHistory window, e.g. '6mo', '1y'.6mo
tickerYesTicker to analyze, e.g. 'TSLA', '0700.HK'.
api_keyNoXFINLAB Intelligence API key (X-API-Key). Omit if supplied via HTTP header instead.
intervalNoCandle interval, e.g. '1d'.1d
marketplace_license_keyNoOptional: an mcp-marketplace.io license key for this listing's paid tier. If valid, upgrades a free XFINLAB API key's daily quota to Pro for this call. Omit if supplied via the X-Marketplace-License-Key header instead, or if not using a marketplace license.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / marketplace_license_key
      Added value: +{
      +  "description": "Optional: an mcp-marketplace.io license key for this listing's paid tier. If valid, upgrades a free XFINLAB API key's daily quota to Pro for this call. Omit if supplied via the X-Marketplace-License-Key header instead, or if not using a marketplace license.",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower. The description adds genuine context: results are computed from real OHLC price data and come from the same engine as XFINLAB's chart/ai-analysis pages, which speaks to provenance and trust. It still says nothing about latency, rate limits, or daily quota behavior that the api_key/marketplace_license_key parameters hint at.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tightly packed sentence that front-loads the resource and keeps the signal list scannable. The parenthetical market-structure enumeration is long but every item carries information about the return content, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of describing what comes back, and it does so by enumerating the computed signals (confluence direction/confidence, trend, MACD, volume, patterns, BOS/CHOCH/liquidity sweep). It stops short of describing the shape or organization of the response, but combined with full annotation and schema coverage it is largely sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents lang, period, interval, api_key, and marketplace_license_key in detail; baseline 3 applies. The description only reinforces that it operates on one ticker, adding no format or syntax meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (get) and a well-enumerated resource: confluence direction/confidence, trend, MACD, volume, chart patterns, and named market-structure signals for a single ticker. The enumerated output set makes it easy to separate from get_sentiment or get_fundamentals_as_of in practice, but the description never explicitly names or routes against those siblings, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description only says what the tool computes; it never states when to reach for it, when not to, or how it relates to alternatives such as get_sentiment (which also takes a ticker). An agent must infer the invocation condition entirely from the tool name and output list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources