Skip to main content
Glama

Key metrics

get_key_metrics
Read-only

Valuation and profitability metrics per period: PER, PBR, PSR, PEG, ROE, ROA, ROIC, EBITDA, EV/EBITDA, free cash flow, dividend yield, payout ratio, equity ratio, BPS, margins, beta, WACC. PER / PBR / dividend yield use each period's period-end price (dividend yield on annual rows only); for today's values use get_key_metrics_latest. Ratios are 0-1 decimals. ETFs are not covered (empty; use get_etf_metrics / get_dividends). J-REITs have two FY rows a year (6-month periods, fiscalPeriodDays ≈ 182) with annualized ROE / DOE; their annualDividend / dividendYield add the previous period to cover 12 months of actual dividends (null if the two do not make 12 months), while dividendPerShare / eps stay the half-year values. As elsewhere, the annual dividend includes the company forecast when there is one, and is the actual otherwise; these per-period rows are settled years, so they use the actual. 主要指標。ETF は対象外。J-REIT は 6 か月ごとの決算期で 1 年に FY が 2 行(ROE・DOE は年換算、年間配当・配当利回りは 2 期の実績の合計で 12 か月。dividendPerShare・eps は半年分)。 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of periods to return, newest first / 取得期間数(新しい順)
periodNoPeriod filter: Q1-Q3 (cumulative from the start of the fiscal year), FY (full year), annual = FY only, quarter = Q1-Q3 only. Omit for all. / 期間の絞り込み(Q1〜Q3 は期首からの累計・FY は通期・annual は通期だけ・quarter は四半期だけ)。省略時はすべて
symbolYes4-digit Japanese ticker code / 4桁の証券コード (e.g. "7203" = Toyota)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / period / description
      Previous value: -"Period filter. annual = full-year only, quarter = quarterly only. Omit for all."New value: +"Period filter: Q1-Q3 (cumulative from the start of the fiscal year), FY (full year), annual = FY only, quarter = Q1-Q3 only. Omit for all. / 期間の絞り込み(Q1〜Q3 は期首からの累計・FY は通期・annual は通期だけ・quarter は四半期だけ)。省略時はすべて"
    • changedInput schema / properties / period / enum
      Previous value: -[
      -  "Q1",
      -  "Q2",
      -  "Q3",
      -  "Q4",
      -  "FY",
      -  "annual",
      -  "quarter"
      -]New value: +[
      +  "Q1",
      +  "Q2",
      +  "Q3",
      +  "FY",
      +  "annual",
      +  "quarter"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/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: ratios are 0-1 decimals, ETFs return empty, J-REITs have two FY rows per year with annualized ROE/DOE and a 12-month dividend construction rule. It also discloses the TDnet 24-hour embargo, including nulled fields, 403 tdnet_embargo for PDFs, and X-TDnet-Embargoed-* response headers. The density is high but nothing contradicts the read-only annotation.

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 with the metric list, which is good, but the body is very long and interleaves value-format notes, J-REIT edge cases, and a lengthy TDnet embargo policy. The full English/Japanese duplication compounds the length, and several clauses (e.g., the TDnet embargo restatement) could be consolidated without losing meaning.

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?

With no output schema, the description carries the burden of explaining return values and does so: ratio scaling, period-end price basis, J-REIT dividend construction, and ETF emptiness are all covered. Given the tool's complexity, an agent has enough to call and interpret it correctly; only the pagination/response-shape picture is left implicit.

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?

Schema description coverage is 100%, so limit, period, and symbol are already documented with enum semantics in the schema. The description adds related meaning (period-end price basis, ratio scaling) but says nothing about limit or period that the schema does not already carry, so the baseline 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?

"Valuation and profitability metrics per period" names a specific resource and scope, then enumerates the actual metrics returned (PER, PBR, ROE, EV/EBITDA, WACC, etc.). It explicitly separates itself from get_key_metrics_latest for today's values and from get_etf_metrics for ETFs.

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?

It gives explicit routing: use get_key_metrics_latest for today's values, get_etf_metrics / get_dividends for ETFs, which are out of scope and return empty here. It also states the per-period price convention so the agent knows when these values differ from latest.

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