Skip to main content
Glama

Latest key metrics

get_key_metrics_latest
Read-only

Latest valuation and growth metrics computed with the latest close: PER, PBR, dividend yield, annual dividend, consecutive non-decrease years (including flat years; "N or more" when progressiveDividendYearsCapped is true), and 3y/5y CAGR of dividend, revenue, net income and EPS. PER uses the latest annual EPS; PBR uses the latest reported BPS (quarterly included). priceDate is the date of the price used. For dividend yield and annual dividend, the annual dividend includes the company forecast when there is one, and is the actual otherwise. Ratios are 0-1 decimals (0.03 = 3%). For per-period values use get_key_metrics; for price and changes use get_quote. 最新の PER・PBR・配当利回り・年間配当・連続非減配年数(据え置きを含む)・CAGR(直近の終値で計算。年間配当は、会社予想があれば予想を含み、無ければ実績)。 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_key_metrics_latest"
  }
}

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: a 24-hour TDnet embargo rule with legal citation, that embargoed rows are excluded, that PDFs return 403 tdnet_embargo, and that response headers (X-TDnet-Embargoed-Count / -Next-Release / -Symbols) signal the condition. It also discloses computation semantics (PER on latest annual EPS, PBR on latest reported BPS, forecast-inclusive dividends, 0-1 ratio scaling) that an agent needs to interpret results.

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 core purpose and routing are front-loaded well, but the body is roughly tripled by full Japanese restatements of every English block plus repeated ISO 8601 date-format boilerplate. The information is valuable, yet for an agent consuming this definition much of the length is redundancy rather than earned content.

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 takes on full responsibility for explaining the return shape, and it does: metric definitions, the meaning of priceDate, ratio scaling, the 'N or more' cap behavior, and embargo-induced nulls. Nothing material an agent needs to call and interpret this tool correctly is missing.

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) with 100% schema description coverage including a concrete example, so the schema already carries the semantics and the baseline of 3 applies. The description adds no extra constraint on symbol format beyond the schema, and the `priceDate` mention refers to a returned field rather than 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 verb+resource and enumerates the exact metric set returned (PER, PBR, dividend yield, annual dividend, consecutive non-decrease years, 3y/5y CAGR of dividend/revenue/net income/EPS) computed against the latest close. It explicitly contrasts itself with get_key_metrics (per-period values) and get_quote (price and changes), so an agent can distinguish it from siblings without opening schemas.

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?

Gives explicit routing: 'For per-period values use get_key_metrics; for price and changes use get_quote.' It also states when data is unavailable (TDnet items within 24 hours are omitted, affected latest metrics are null), which is a use-condition an agent must know before calling.

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