Skip to main content
Glama

ZENITH Code

Income statement

get_income_statement
Read-only

Income statement (P/L) history. Sourced from TDnet 決算短信 (same-day) and EDINET filings, with document-level provenance (doc_id + EDINET source URL) on every row. For filers reporting operating revenue (e.g. retailers), revenue = netSales + otherOperatingRevenue and grossProfit is computed from netSales; under Japanese GAAP operatingIncome = (operatingGrossProfit ?? grossProfit) − SG&A − (otherOperatingExpenses ?? 0). 損益計算書の推移。営業収益の会社は revenue = 売上高(netSales)+ 営業収入(otherOperatingRevenue)。 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。

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of periods to return, newest first / 取得期間数(新しい順)
periodNoPeriod filter. annual = full-year only, quarter = quarterly only. Omit for all.
symbolYes4-digit Japanese ticker code / 4桁の証券コード (e.g. "7203" = Toyota)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With readOnlyHint already declaring the safety profile, the description adds genuinely useful behavioral context: dual upstream sources (TDnet same-day vs EDINET), row-level provenance (doc_id + EDINET URL), and non-obvious derivation rules for revenue, grossProfit and operatingIncome under Japanese GAAP. It does not cover ordering beyond the schema, error/empty behavior, or rate limits, so it stops short of a 5.

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 the GAAP caveats are correctly front-loaded, but every sentence is duplicated verbatim in Japanese, including the ISO 8601 datetime explanation and its 'add 9 hours' note, roughly doubling length without adding information. The core content is worthwhile; the structure is padded.

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 financial-statement tool with no output schema, the description covers the hard parts an agent would otherwise get wrong: the retailer/operating-revenue revenue formula, the operatingIncome derivation, and timestamp conventions. It omits the reporting units/currency scale of the figures, which is a meaningful gap for a numeric tool, and says nothing about how rows are ordered beyond the schema's 'newest first'.

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 symbol, limit and the period enum are already fully documented, and the description adds no parameter-specific meaning. The formulas it cites reference output fields (netSales, otherOperatingRevenue, operatingGrossProfit) rather than input semantics, so it neither helps nor hurts parameter interpretation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line 'Income statement (P/L) history' gives a specific verb-free but unambiguous resource and scope, and the source detail (TDnet 決算短信 / EDINET) further pins down what data this returns. It is clearly distinguishable from get_balance_sheet and get_cash_flow by resource, but it never explicitly names a sibling or states how it differs from get_full_financial_statement.

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

Usage Guidelines3/5

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

Usage is only implied by the resource name — an agent can infer 'use this for P/L time series.' There is no explicit when-to-use/when-not guidance, no mention of when to prefer get_full_financial_statement or get_xbrl_facts, and no stated prerequisites for the symbol.

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