Skip to main content
Glama

Market cap history (daily) ★

get_market_cap_history
Read-only

Daily market capitalization of a Japanese stock: split-adjusted close x shares outstanding (treasury stock excluded) from the latest disclosed fiscal period, so buybacks and share issuance are reflected. Defaults to the last year; max 10 years per request; interval=weekly/monthly thins the series. 時価総額(円)の日次推移(分割調整後終値 × 開示済み決算の株数)。Costs 10 tokens. from/to are dates in Japan time (JST). from・to は日本時間(JST)の日付。 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_market_cap_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date YYYY-MM-DD. Default: today
fromNoStart date YYYY-MM-DD. Default: one year before `to`
symbolYes4-digit Japanese ticker code / 4桁の証券コード (e.g. "7203" = Toyota)
intervalNodaily, or last trading day of each week / monthdaily

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply readOnlyHint, and the description goes well beyond that: 10-token cost, a 24-hour TDnet embargo delay, 403 tdnet_embargo on PDFs, nulled latest metrics, and named response headers (X-TDnet-Embargoed-Count, X-TDnet-Embargo-Next-Release, X-TDnet-Embargoed-Symbols). These are non-obvious behavioral traits an agent would otherwise get wrong.

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 purpose and limits are front-loaded well, but the TDnet embargo policy is stated twice, once in English and once verbatim in Japanese, roughly doubling length without adding information for a single agent. The core tool behavior occupies one sentence while the edge-case policy dominates the rest.

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?

For a 4-parameter read-only series tool this covers computation method, defaults, range cap, interval behavior, time zone, cost, and embargo edge cases. The only gap is the response shape (field names of each row), which is left implicit since no output schema exists.

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%, so the baseline is 3, but the description adds meaning the schema does not: from/to are JST dates, the default window is one year, the hard cap is 10 years per request, and weekly/monthly return the last trading day of each period rather than an aggregate.

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?

Names a specific resource and computation: 'Daily market capitalization of a Japanese stock: split-adjusted close x shares outstanding (treasury stock excluded) from the latest disclosed fiscal period.' The method definition plus the yen/JST framing makes it distinguishable from a generic valuation-history tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete operating guidance: defaults to the last year, max 10 years per request, and interval=weekly/monthly thins the series. It never points to a sibling alternative (e.g. when to prefer a valuation-history tool instead), so the routing guidance is contextual rather than exclusionary.

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