Skip to main content
Glama

Stock, ETF and index quotes

stock_quote
Read-only

Retrieve current prices, daily changes, ranges, volume, and optional closing-price history for up to 10 stocks, ETFs, indices, futures, or forex pairs using Yahoo symbols.

Instructions

Latest available price (may be delayed), daily change, day range, 52-week range and volume for up to 10 stocks, ETFs, indices, futures or forex pairs (Yahoo symbols: AAPL, SPY, ^GSPC, BTC-USD, EURUSD=X), with optional price history for charts and backtests. Costs $0.001 per call.

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": {
      "symbols": "<symbols>"
    },
    "name": "stock_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
historyNoAlso return closing prices over this range (daily; weekly for 5y).
symbolsYesTicker symbols, e.g. ["AAPL", "MSFT", "^GSPC"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses two genuinely useful traits: prices 'may be delayed' and each call 'Costs $0.001'. It also caps the batch at 10 symbols. It stops short of describing failure behavior for invalid or delisted tickers, which keeps it from a 5.

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?

A single dense sentence, front-loaded with the returned fields, then scope, then the optional history, then the cost. Every clause carries information an agent needs; nothing is padding.

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, the description carries the burden of describing return values and does so explicitly (price, daily change, ranges, volume). Combined with the symbol cap and cost, an agent has everything needed to call it correctly.

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 already 100%, so the baseline is 3, but the description adds real meaning: it establishes the Yahoo symbol namespace with non-obvious examples (^GSPC, BTC-USD, EURUSD=X) and clarifies that history is for charts/backtests. The enum values themselves are documented in the schema, so no extra credit is due there.

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 resource (latest price, daily change, day/52-week range, volume) and enumerates the asset classes covered (stocks, ETFs, indices, futures, forex) with a cap of 10 symbols. It does not explicitly distinguish itself from quote-like siblings such as crypto_price or currency_convert, though naming BTC-USD and EURUSD=X implicitly signals overlap coverage.

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 is implied rather than stated: the 'optional price history for charts and backtests' clause hints at when to pass history, but there is no explicit when-to-use/when-not guidance or routing to an alternative for single-asset crypto or FX lookups. An agent can infer the purpose but must decide on its own about sibling tools.

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