Skip to main content
Glama

Real-Time Price Quote

yahoo_price
Read-only

Real-time price quote from Yahoo Finance for any stock, crypto, ETF or index.

Yahoo has no spot gold, silver, platinum or palladium (XAUUSD=X, XAGUSD,
OANDA:XPTUSD…): those are quoted from the front-month futures (GC=F,
SI=F, PL=F, PA=F), and the result's `note` says so.

Args:
    symbol: Yahoo Finance symbol — e.g. AAPL, BTC-USD, SPY, ^GSPC, EURUSD=X, THYAO.IS

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

Input Schema

NameRequiredDescriptionDefault
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds non-obvious behavior the annotations cannot: quotes are real-time, sourced from Yahoo Finance, and for precious metals the values are silently substituted with front-month futures contracts (GC=F, SI=F, PL=F, PA=F), with the substitution surfaced in a `note` field of the result.

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?

The core capability is front-loaded in the first line, followed by the metals caveat and then the argument documentation in a conventional Args block. The metals paragraph is longer than strictly necessary but contains a genuinely non-obvious caveat, so every sentence earns its place; only minor tightening is possible.

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 single-parameter read-only tool with no output schema, the description covers what is needed: source, latency claim, accepted symbol formats, and the one case where the returned instrument differs from the requested one. The only gap is that return fields other than `note` (price, currency, timestamp) are unmentioned, which is acceptable without an output schema but would help.

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 description coverage is 0%, so the description carries the full burden for the single `symbol` parameter, and it does so with concrete format examples spanning tickers (AAPL), crypto (BTC-USD), ETFs (SPY), indices (^GSPC), forex (EURUSD=X) and exchange suffixes (THYAO.IS). It does not spell out the suffix/prefix conventions explicitly, so the agent must infer them from the examples.

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 gives a specific verb and resource ('Real-time price quote from Yahoo Finance') and enumerates the covered asset classes (stock, crypto, ETF, index), which lets an agent separate it from charting or scanning siblings. It stops short of naming any sibling or stating explicitly that it returns a single quote rather than a time series, so differentiation from tools like price_chart is left partly to inference.

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?

There is no explicit when-to-use/when-not-to-use guidance relative to alternatives, but the metals paragraph functions as a real usage rule: for XAUUSD=X-style symbols the tool returns front-month futures quotes instead, so the agent knows the semantic shift before calling. That is input-level guidance rather than task-level routing, so it lands at minimum-viable-plus.

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.