Skip to main content
Glama

XFINLAB Intelligence

get_technical_analysis

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

TableJSON 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.3/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It mentions data source (real OHLC) and that it powers XFINLAB's chart-analysis pages, which adds credibility, but it does not state whether the operation is read-only, has side effects, requires authentication beyond what schema shows, or imposes rate limits. The description focuses on the content of signals rather than behavior, leaving the agent without information about expected side effects or limitations.

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

Conciseness3/5

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

The description is a single dense sentence that lists many signals and then appends a dash explanation of the data source. It is not overly verbose but is somewhat run-on and could be split for clarity. The key content (what it computes) is front-loaded, but the long enumeration makes it harder to parse quickly. It earns a middle score because it is informative yet not optimally structured.

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

Completeness3/5

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

Given the tool has six parameters and no output schema, the description partially compensates by enumerating the types of signals returned, giving the agent an idea of what to expect. However, it does not describe the response format (e.g., JSON structure, pagination), error behavior, or any prerequisites beyond parameters. For a moderately complex analysis tool, this is an adequate but not complete picture, so a 3 is warranted.

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 fully documents all six parameters. The description does not add meaning beyond the schema; it only lists computed signals, which relate to output rather than parameters. The phrase 'for one ticker' reiterates the ticker parameter but does not provide new semantics. Since the baseline is 3 for high coverage and no additional value is added, this score is appropriate.

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

Purpose5/5

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

The description clearly states the tool retrieves technical analysis signals (confluence, trend, MACD, volume, chart patterns, market-structure) for a single ticker, computed from real OHLC data. It is distinct from sibling tools like get_sentiment or get_global_market_map, which cover sentiment or market-wide views. The specific verb 'get' and resource 'technical analysis' make the purpose unambiguous.

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

Usage Guidelines3/5

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

The description implies usage for technical analysis on a single ticker but does not explicitly contrast with siblings or state when not to use it. For example, it doesn't mention that for sentiment one should use get_sentiment or for market-wide context get_global_market_map. The purpose is clear enough to infer usage, but no explicit guidance or exclusions are provided.

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