Skip to main content
Glama

Get Yahoo Finance chart

yahoo_finance_chart_get
Read-onlyIdempotent

Get Yahoo Finance chart bars, dividends, splits and capital gains. Requires symbol. Costs credits; see meta.creditsCharged.

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>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "yahoo_finance_chart_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoWindow end, as an ISO 8601 date or time or epoch seconds. It is exclusive: bars before it are returned. It takes precedence over `range`.
rangeNoA named window such as `1y`, `5y` or `max`. Ignored when `start` or `end` is sent; those define the window. Default: `1y` when neither is sent.
startNoWindow start, as an ISO 8601 date or time (such as `2026-01-31`) or epoch seconds. A time with no zone is UTC. It takes precedence over `range`.
eventsNoCorporate events to include: `div`, `split`, `capitalGain`, comma-separated. Default: `div,split`.
symbolYesRequired. Ticker symbol, case-insensitive, e.g. `AAPL`, `^GSPC`, `EURUSD=X`, `BTC-USD`, `7203.T`.
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
intervalNoBar size. Default: `1d`. `1m` bars cover the last 30 days, at most 8 days per request. `2m`, `5m`, `15m`, `30m` and `90m` cover at most 60 days; `60m`, `1h` and `4h` at most 730 days.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.
includeExtendedHoursNoInclude pre-market and post-market bars. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the description's added value is the credit-cost disclosure and the pointer to `meta.creditsCharged` in the response. That is genuine behavioral context an agent could not get from the annotations. It stops short of mentioning limits such as intraday window caps or the conversation_id handshake, which are left to the schema.

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

Conciseness5/5

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

Two short sentences with no filler, and the core capability is front-loaded ahead of the requirement and cost note. Every clause carries information an agent needs.

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?

The schema is rich and self-documenting, and there is no output schema, so the description need not explain returns. However, for a 10-parameter tool with required context/llm_model plumbing and no output schema, a sentence on what the response contains (series shape alongside `meta.creditsCharged`) would close the remaining gap.

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 parameters such as `start`/`end` precedence, `range` defaults and `interval` window limits are already fully documented. The description only repeats that `symbol` is required and lists the event kinds, adding no meaning beyond the schema. Baseline 3 applies.

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?

The description names a specific verb and resource (chart bars plus dividends, splits and capital gains) and scopes it to Yahoo Finance data, which is enough to separate it from siblings like yahoo_finance_quotes_list or yahoo_finance_instrument_get. It does not explicitly state how it differs from those siblings, keeping it 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 only guidance is the prerequisite 'Requires `symbol`'. There is no statement of when to choose a chart over a quote, instrument, or fundamentals endpoint, and no exclusions or alternative routing. An agent must infer usage from the name and schema alone.

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.