Skip to main content
Glama

Interactive Price Chart

price_chart
Read-only

Render an interactive candlestick chart for a symbol inside the conversation. Accepts crypto pairs (BTCUSDT, BTC-USD), stocks (AAPL, NVDA) or any Yahoo Finance symbol. period: 1mo|3mo|6mo|1y|2y (1h also takes 1d|5d), interval: 1d|1h|15m. 15m charts show recent action only: period is limited to 1d|5d|1mo (longer values auto-adjust to 5d) and the most recent 350 bars are drawn. Set bollinger=true to overlay Bollinger Bands (SMA20 ± 2σ); the latest band values are returned in the result. Daily (1d) candles are adjusted for dividends, like the prices the backtest tools use, so a stock's prices before a payout sit below what traded then; 1h and 15m candles are not adjusted. Clients without interactive app support can read the summary field of the result.

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

Input Schema

NameRequiredDescriptionDefault
periodNo6mo
symbolYes
intervalNo1d
bollingerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, yet the description still adds real behavioral context: the 15m period silently auto-adjusts to 5d, only the most recent 350 bars are drawn, daily candles are dividend-adjusted while 1h/15m are not. That last point is genuinely useful and non-obvious, though it does not mention latency or data-source freshness.

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 purpose and symbol formats, then parameter details. It is a dense single paragraph, and the dividend-adjustment sentence is long, but nearly every clause carries actionable information rather than filler.

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

Completeness5/5

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

With no output schema and no annotations describing returns, the description still explains what comes back: rendered chart, bollinger band values in the result, and a `summary` field for clients without interactive support. For a 4-parameter read-only chart tool this is complete enough to call correctly.

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% and the schema lists no enums, so the description carries the full load — and it does: it enumerates accepted symbol formats, the allowed period values with the 1h exception, the allowed interval values, and the exact meaning of bollinger (SMA20 ± 2σ, with band values returned). Every parameter gains meaning beyond the bare type declarations.

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 concrete verb and resource: 'Render an interactive candlestick chart for a symbol inside the conversation', plus the symbol families it accepts. It does not explicitly contrast itself with the sibling backtest_chart, though the mention of 'the prices the backtest tools use' hints at the relationship rather than defining it.

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?

Usage constraints are well covered for parameters (which symbols work, which period/interval combos are valid, the 15m limitation), and a fallback is given for non-interactive clients. However, there is no explicit 'use this instead of X' guidance against siblings such as yahoo_price, market_snapshot, or backtest_chart; the when-to-use is only implied by the rendering behavior.

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.