Skip to main content
Glama

Market data: technical analysis

technical_analysis

Compute multi-indicator market analysis for a symbol and timeframe, cross-checking price, RSI, ATR, and volume across TradingView, Finviz, and Yahoo to corroborate trading signals.

Instructions

Multi-indicator technical analysis, price cross-checked across providers.

TradingView computes the full indicator stack (RSI, MACD, EMAs, Bollinger, ATR, ADX, structure, trade setup). Finviz's snapshot and Yahoo's chart API independently provide price, RSI(14), ATR(14) and volume, which are compared here, so the numbers the analysis is built on are corroborated rather than taken on trust. The TradingView leg uses its resolved symbol and venue, never a bare ticker redirected by the caller's default exchange.

Args: symbol: Ticker. exchange: TradingView exchange prefix (NASDAQ, NYSE, BIST, …). timeframe: 5m, 15m, 1h, 4h, 1D, 1W, 1M.

Returns: Envelope whose data.analysis is the TradingView analysis and data.cross_check holds the per-provider comparison.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "technical_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes
exchangeNoNASDAQ
timeframeNo1D

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses a three-provider fan-out (TradingView, Finviz, Yahoo), explains that numbers are corroborated rather than trusted, and warns that the TradingView leg uses its resolved symbol/venue rather than a caller-default redirect. Missing are failure/degradation behavior when a provider disagrees or is unavailable, and any latency or rate-limit expectation for a three-provider call.

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?

Front-loaded with the one-line purpose, then a compact provider rationale, then explicit Args/Returns blocks — well structured and easy to scan. A few phrases ('rather than taken on trust') are rhetorical padding, but nothing structurally wasteful.

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?

For a 3-parameter tool with an output schema, this is close to complete: parameters are fully specified and the return envelope's data.analysis / data.cross_check shape is described even though the output schema already defines it. The remaining hole is behavioral edge cases — partial provider failure and whether cross_check can be incomplete.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry all parameter meaning — and it does: symbol is the ticker, exchange is the TradingView exchange prefix with concrete examples (NASDAQ, NYSE, BIST), and timeframe is enumerated with all seven accepted values (5m through 1M), which the schema lacks entirely. Minor gap: the NASDAQ default's semantics aren't explained.

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?

States a specific operation ('multi-indicator technical analysis') plus a distinguishing trait ('price cross-checked across providers'), and names the actual indicator stack (RSI, MACD, EMAs, Bollinger, ATR, ADX) and providers. An agent can tell this apart from snapshot-style siblings like market_snapshot or bloomberg_quote because the multi-indicator, multi-provider corroboration framing is explicit.

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?

Implied usage is clear — reach for this when you want a full indicator read corroborated across providers — but the description never states when NOT to use it or names an alternative (e.g. a cheap snapshot when you only need price). No prerequisites or scope exclusions are given, leaving routing to inference.

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