Skip to main content
Glama

Quote

get_quote
Read-only

Latest price snapshot: close price, price date, 1d/1w/1m/3m/6m/1y/YTD change and market cap. For PER, PBR, dividend yield, consecutive non-decrease years (including flat years) and CAGRs use get_key_metrics_latest. Changes are 0-1 decimals (0.03 = 3%). 最新株価・騰落率・時価総額(PER・配当利回り・CAGR は get_key_metrics_latest)。 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": {
      "symbol": "<symbol>"
    },
    "name": "get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes4-digit Japanese ticker code / 4桁の証券コード (e.g. "7203" = Toyota)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description adds substantial behavior beyond that: the TDnet 24-hour post-disclosure delay, omitted rows within the window (previous version returned for shareholder-benefit/dividend-policy items), 403 tdnet_embargo on PDFs, nulling of affected metrics, and the X-TDnet-Embargoed-* response headers. It also discloses value conventions (0.03 = 3%) and the date-time encoding (ISO 8601 UTC, +9h for Japan).

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?

It is front-loaded well — return fields first, alternate tool second, then conventions and embargo caveats — but the entire content is duplicated verbatim in English and Japanese, and the TDnet embargo paragraph runs to several dense clauses. Much of that text is boilerplate an agent will rarely need; the duplication costs tokens without adding decision-relevant information.

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 fully specifies the returned fields, their units, and their date encodings. It also covers the complex edge case (TDnet embargo) that would otherwise cause an agent to misreport missing data as zero or as an error, which is the main completeness risk for this tool.

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?

Only one parameter (symbol) and schema description coverage is 100%, including the 4-digit ticker example and a Toyota illustration, so the schema already carries full meaning. The description adds nothing about symbol formatting, market scope, or delisted-code handling, so the baseline of 3 applies.

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 verb+resource ("latest price snapshot") and enumerates exactly what is returned: close price, price date, 1d/1w/1m/3m/6m/1y/YTD change, and market cap. It explicitly names the sibling it is not ("For PER, PBR, dividend yield ... use get_key_metrics_latest"), so an agent can distinguish the two tools without opening either 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?

Provides explicit routing: price/change/market-cap questions go here, valuation and long-run growth metrics go to get_key_metrics_latest. It also states the embargo-driven condition under which rows are absent or null, which tells the agent when an empty/null result is expected rather than an error.

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