Skip to main content
Glama

Batch quotes (up to 50 symbols) ★

get_batch_quotes
Read-only

Latest price, price date, change percentages and market cap for up to 50 companies in ONE call (same fields as get_quote). For PER, dividend yield and CAGRs of a list use get_batch_key_metrics_latest. Results follow the request order; unknown symbols come back with found=false instead of failing the call. Prefer this over repeated get_quote calls when comparing a list. 最大50銘柄の株価・騰落率・時価総額を1回で取得(get_quote と同じ項目)。リクエスト順で、見つからない銘柄は found=false。PER・配当利回りは get_batch_key_metrics_latest。Costs 10 tokens (one call, whatever the number of symbols). Date-times are ISO 8601 UTC (YYYY-MM-DDTHH:MM:SSZ; add 9 hours for Japan time). Date-only fields are YYYY-MM-DD. 時刻(日時)は ISO 8601 の UTC(YYYY-MM-DDTHH:MM:SSZ。日本時間は 9 時間を足す)。日付だけの項目は YYYY-MM-DD。 Information derived from TDnet (timely disclosures, earnings releases, dividend and split notices, shareholder benefit and dividend policy notices, and values computed from them) is returned 24 hours after the disclosure time (JPX TDnet API service terms, Article 7(1)); items whose TDnet disclosure time is unknown are not returned. Within 24 hours such rows are left out (for shareholder benefits and dividend policies the previous version is returned), TDnet PDFs return 403 tdnet_embargo, and the latest metrics of the affected stocks are null (response headers X-TDnet-Embargoed-Count, X-TDnet-Embargo-Next-Release, X-TDnet-Embargoed-Symbols). TDnet(適時開示)由来の情報(開示の一覧・決算短信・配当や分割のお知らせ・株主優待や配当方針のお知らせと、それらから計算した値)は、開示から 24 時間後から返します(JPX の TDnet API サービス利用約款 第 7 条 1 項)。TDnet の開示の時刻が分からないものは返しません。24 時間以内は、その行を返さず(株主優待と配当方針は前の版を返します)、TDnet の PDF は 403 tdnet_embargo、最新値はその銘柄の書類由来の項目を null にします(応答ヘッダ X-TDnet-Embargoed-Count・X-TDnet-Embargo-Next-Release・X-TDnet-Embargoed-Symbols)。

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

Input Schema

NameRequiredDescriptionDefault
symbolsYesComma-separated 4-digit ticker codes, max 50 (e.g. "7203,6758,9984") / 証券コードのカンマ区切り(最大50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description goes well beyond that: results preserve request order, unknown symbols return found=false rather than failing the call, cost is 10 tokens regardless of symbol count, and TDnet-derived rows are withheld for 24 hours with specific null/header/403 consequences. The one gap is that the shape of the result payload itself (field names) is not sketched, though 'same fields as get_quote' largely covers it.

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

Conciseness3/5

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

The opening is well front-loaded with purpose, alternative, and edge-case behavior, but the text is more than tripled by full English/Japanese duplication of both the basics and the lengthy TDnet embargo rules. The embargo section is accurate and useful but reads as boilerplate appended to a simple batch-quote lookup, so signal-to-length is only moderate.

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?

For a one-parameter read-only lookup with no output schema, the description covers everything an agent needs: what fields come back, ordering, missing-symbol handling, cost, date formats, and the data-freshness embargo with its null/header side effects. Nothing material is left unspecified.

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% and the single parameter already documents comma-separated 4-digit codes with an example and a max of 50. The description still adds real semantics beyond the schema: list order is honored in the response and invalid/unknown codes degrade to found=false instead of erroring, which changes how an agent should construct and trust the input.

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?

States a specific resource and field set ('latest price, price date, change percentages and market cap for up to 50 companies in ONE call') and anchors it to the single-symbol sibling ('same fields as get_quote'). It also names the sibling to use for different fields (get_batch_key_metrics_latest), so an agent can distinguish it 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?

Explicit routing guidance is present: 'Prefer this over repeated get_quote calls when comparing a list' gives the positive condition, and 'For PER, dividend yield and CAGRs of a list use get_batch_key_metrics_latest' gives the exclusion with a named alternative. Nothing about when-to-use is left to inference.

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.

Resources