Skip to main content
Glama

Get Market Analysis

get_market_analysis
Read-onlyIdempotent

Analyze a stock symbol’s price action and 50+ technical indicators, returning measured values with oversold, overbought, signal-line, and band readings so you can assess market conditions.

Instructions

Price action and 50+ technical indicators for a symbol, reported as measured values with each indicator's own standard reading (oversold / overbought, above / below its signal line, inside / outside its band).

This is the usual starting point for a single symbol. For the full picture including fundamentals, filings and insider activity, call get_company_profile instead of chaining calls. If you only need the bars, get_ohlcv is cheaper; to ask whether the daily, hourly and 15-minute pictures agree, use get_multi_timeframe.

No BUY/SELL score is produced unless you ask for one. The composite verdict is a fixed-weight heuristic that underperformed buy-and-hold in backtest, and an unvalidated score anchors judgment even when it is labelled unvalidated — so the default is to hand back the evidence and leave the call to the reader.

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": "get_market_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of historical bars to analyze.
symbolYesThe stock symbol (e.g. AAPL, KBANK).
intervalNoBar interval: D (Daily), M1 (1 min), M5 (5 min), M15 (15 min), M30 (30 min), H1 (1 hour), W (Weekly).D
include_verdictNoSet true to also compute the composite BUY/SELL score. Off by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv0.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds substantive context beyond them: the output is measured values with each indicator's own standard reading, no BUY/SELL score is emitted by default, and the omitted verdict is a fixed-weight heuristic that underperformed buy-and-hold and would anchor judgment. That is real behavioral disclosure the annotations cannot express.

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 what the tool returns, followed by routing to alternatives and then the verdict caveat, so the reader can stop early. The third paragraph is longer than strictly necessary, but every claim in it changes how an agent should use the tool rather than padding.

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 explaining returns and does so at a conceptual level (measured values plus standard readings per indicator). It stops short of describing the response shape or which of the 50+ indicators appear, which leaves a mild gap for a read tool an agent must interpret.

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

Parameters4/5

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

Schema coverage is 100% so the baseline is 3; the description earns an increment by explaining why include_verdict defaults to false and what its absence means, which the schema field text ('Set true to also compute the composite BUY/SELL score') does not. It adds nothing about count or interval, but those are already fully documented.

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?

Names a specific verb and resource (price action plus 50+ technical indicators for a symbol) and immediately distinguishes itself from get_company_profile, get_ohlcv and get_multi_timeframe. An agent can pick this tool without opening any schema.

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

Usage Guidelines5/5

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

Explicitly positions itself as 'the usual starting point for a single symbol', then names three alternatives with the exact condition that selects each: full picture -> get_company_profile, bars only -> get_ohlcv (cheaper), cross-timeframe agreement -> get_multi_timeframe. Both when-to-use and when-not-to-use are covered.

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