Skip to main content
Glama

Get financial facts

get_financial_facts
Read-only

If a call is not available for this account, get_account_quota shows what this account can access. Return the XBRL financial facts reported in one EDINET filing of a Japanese listed company. Each fact carries an English label (label_en) and a Japanese label (label_ja). To find one fact, descend: outline true lists the filing sections; section with outline true lists the headings of a section; section with parent lists the facts under a heading, with total and context_counts (primary: no dimension member; non_consolidated: NonConsolidatedMember; dimension: segment, equity-component and other members), and context primary keeps only the primary facts; query finds facts by label or concept name. Every outline node carries a next field holding the exact arguments of the next call. Document and entity information (jpdei_cor) is not returned. When two facts in the result share the same standard label, those facts also carry label_en_verbose and label_ja_verbose with the full taxonomy label. Source: EDINET (https://disclosure2.edinet-fsa.go.jp/), PDL 1.0 (https://www.digital.go.jp/resources/open_data/public_data_license_v1.0). Data is processed by Kabuken, not raw unprocessed FSA data. Not investment advice.

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": {
      "doc_id": "<doc_id>"
    },
    "name": "get_financial_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of facts to return (1-500, default 100)
queryNoReturn facts whose English label, Japanese label or concept name contains this text (case-insensitive).
cursorNoOpaque next_cursor from the previous response; send it with the same doc_id, filters and limit to get the next page. It also pages a section outline.
doc_idYesEDINET document ID, e.g. S100ABCD
parentNoHeading or concept name from a next field, or in the prefix:Name form of fact_name; requires section. Returns the direct children of that heading with values.
contextNoContext filter for the facts returned: 'all' (default) returns every context; 'primary' returns only facts whose context carries no dimension member and is not NonConsolidatedMember; this includes prior periods (Prior1YearDuration) and FilingDateInstant. The facts left out stay reachable with 'all'; parent mode reports context_counts for each kind.
outlineNoWith only doc_id, list the sections of the filing with fact and concept counts. With section, list the top-level headings of that section. No values are returned.
sectionNoSection name to descend into, as given in the next field of an outline response: 'BalanceSheet', 'IncomeStatement', 'CashFlows', 'ChangesInEquity', 'ComprehensiveIncome', 'Notes', 'Other', 'CoverPage' or 'Unclassified' (facts without a section). The short codes of statement_type are accepted too.
conceptsNoOptional list of XBRL concept names (fact_name) to filter to (e.g. 'jppfs_cor:NetSales')
statement_typeNoOptional filter by financial statement type: 'bs', 'pl', 'cf', 'ss', or the bucket names (balance_sheet, income_statement, cash_flow). Every section name accepted by section is also accepted here. Matching is case-insensitive on the server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Context filter for the facts returned: 'all' (default) returns every context; 'primary' returns only facts whose context carries no dimension member and is not NonConsolidatedMember; this includes prior periods (Prior1YearDuration) and FilingDateInstant. The facts left out stay reachable with 'all'; parent mode reports context_counts for each kind.",
      +  "enum": [
      +    "primary",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / section / description
      Previous value: -"Section name to descend into, as given in the next field of an outline response: 'BalanceSheet', 'IncomeStatement', 'CashFlows', 'ChangesInEquity', 'ComprehensiveIncome', 'Notes', 'Other', 'CoverPage', 'DEI' or 'Unclassified' (facts without a section). The short codes of statement_type are accepted too."New value: +"Section name to descend into, as given in the next field of an outline response: 'BalanceSheet', 'IncomeStatement', 'CashFlows', 'ChangesInEquity', 'ComprehensiveIncome', 'Notes', 'Other', 'CoverPage' or 'Unclassified' (facts without a section). The short codes of statement_type are accepted too."
    • changedInput schema / properties / section / enum
      Previous value: -[
      -  "bs",
      -  "pl",
      -  "cf",
      -  "ss",
      -  "income_statement",
      -  "balance_sheet",
      -  "cash_flow",
      -  "BalanceSheet",
      -  "IncomeStatement",
      -  "CashFlows",
      -  "ChangesInEquity",
      -  "ComprehensiveIncome",
      -  "CoverPage",
      -  "DEI",
      -  "Notes",
      -  "Other",
      -  "Unclassified"
      -]New value: +[
      +  "bs",
      +  "pl",
      +  "cf",
      +  "ss",
      +  "income_statement",
      +  "balance_sheet",
      +  "cash_flow",
      +  "BalanceSheet",
      +  "IncomeStatement",
      +  "CashFlows",
      +  "ChangesInEquity",
      +  "ComprehensiveIncome",
      +  "CoverPage",
      +  "Notes",
      +  "Other",
      +  "Unclassified"
      +]
    • changedInput schema / properties / statement_type / enum
      Previous value: -[
      -  "bs",
      -  "pl",
      -  "cf",
      -  "ss",
      -  "income_statement",
      -  "balance_sheet",
      -  "cash_flow",
      -  "BalanceSheet",
      -  "IncomeStatement",
      -  "CashFlows",
      -  "ChangesInEquity",
      -  "ComprehensiveIncome",
      -  "CoverPage",
      -  "DEI",
      -  "Notes",
      -  "Other",
      -  "Unclassified"
      -]New value: +[
      +  "bs",
      +  "pl",
      +  "cf",
      +  "ss",
      +  "income_statement",
      +  "balance_sheet",
      +  "cash_flow",
      +  "BalanceSheet",
      +  "IncomeStatement",
      +  "CashFlows",
      +  "ChangesInEquity",
      +  "ComprehensiveIncome",
      +  "CoverPage",
      +  "Notes",
      +  "Other",
      +  "Unclassified"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / parent / description
      Previous value: -"Heading or concept name from a next field; requires section. Returns the direct children of that heading with values."New value: +"Heading or concept name from a next field, or in the prefix:Name form of fact_name; requires section. Returns the direct children of that heading with values."
  3. Changed7 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque next_cursor from the previous response; send it with the same doc_id, filters and limit to get the next page"New value: +"Opaque next_cursor from the previous response; send it with the same doc_id, filters and limit to get the next page. It also pages a section outline."
    • addedInput schema / properties / outline
      Added value: +{
      +  "description": "With only doc_id, list the sections of the filing with fact and concept counts. With section, list the top-level headings of that section. No values are returned.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / parent
      Added value: +{
      +  "description": "Heading or concept name from a next field; requires section. Returns the direct children of that heading with values.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Return facts whose English label, Japanese label or concept name contains this text (case-insensitive).",
      +  "maxLength": 100,
      +  "type": "string"
      +}
    • addedInput schema / properties / section
      Added value: +{
      +  "description": "Section name to descend into, as given in the next field of an outline response: 'BalanceSheet', 'IncomeStatement', 'CashFlows', 'ChangesInEquity', 'ComprehensiveIncome', 'Notes', 'Other', 'CoverPage', 'DEI' or 'Unclassified' (facts without a section). The short codes of statement_type are accepted too.",
      +  "enum": [
      +    "bs",
      +    "pl",
      +    "cf",
      +    "ss",
      +    "income_statement",
      +    "balance_sheet",
      +    "cash_flow",
      +    "BalanceSheet",
      +    "IncomeStatement",
      +    "CashFlows",
      +    "ChangesInEquity",
      +    "ComprehensiveIncome",
      +    "CoverPage",
      +    "DEI",
      +    "Notes",
      +    "Other",
      +    "Unclassified"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / statement_type / description
      Previous value: -"Optional filter by financial statement type: 'bs', 'pl', 'cf', 'ss', or the bucket names (balance_sheet, income_statement, cash_flow). Matching is case-insensitive on the server."New value: +"Optional filter by financial statement type: 'bs', 'pl', 'cf', 'ss', or the bucket names (balance_sheet, income_statement, cash_flow). Every section name accepted by section is also accepted here. Matching is case-insensitive on the server."
    • changedInput schema / properties / statement_type / enum
      Previous value: -[
      -  "bs",
      -  "pl",
      -  "cf",
      -  "ss",
      -  "income_statement",
      -  "balance_sheet",
      -  "cash_flow"
      -]New value: +[
      +  "bs",
      +  "pl",
      +  "cf",
      +  "ss",
      +  "income_statement",
      +  "balance_sheet",
      +  "cash_flow",
      +  "BalanceSheet",
      +  "IncomeStatement",
      +  "CashFlows",
      +  "ChangesInEquity",
      +  "ComprehensiveIncome",
      +  "CoverPage",
      +  "DEI",
      +  "Notes",
      +  "Other",
      +  "Unclassified"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / statement_type / description
      Previous value: -"Optional filter by financial statement type (e.g. 'bs', 'pl', 'cf', 'ss')"New value: +"Optional filter by financial statement type: 'bs', 'pl', 'cf', 'ss', or the bucket names (balance_sheet, income_statement, cash_flow). Matching is case-insensitive on the server."
    • addedInput schema / properties / statement_type / enum
      Added value: +[
      +  "bs",
      +  "pl",
      +  "cf",
      +  "ss",
      +  "income_statement",
      +  "balance_sheet",
      +  "cash_flow"
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Opaque next_cursor from the previous response; send it with the same doc_id, filters and limit to get the next page",
      +  "maxLength": 512,
      +  "type": "string"
      +}
  6. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description then adds real value with the jpdei_cor exclusion, the 'next' field contract on outline nodes, and verbose labels appearing only on duplicate standard labels. It does not describe the response envelope (next_cursor, totals, how many facts per page beyond the limit parameter), which matters for a paginated tool with no output schema. The data-source and 'not raw FSA data' notes are useful caveats but border on boilerplate.

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 statement is buried behind an oddly fronted quota-routing sentence, so the most important information is not first. The traversal paragraph is dense but well organized as a single descent narrative, and licensing/disclaimer sentences are defensible but add bulk to an already long description.

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 10-parameter, output-schema-less traversal tool this covers the essentials: how to descend, what is excluded, and how labels are shaped. Missing are the response envelope details (next_cursor semantics beyond the schema note; whether total/context_counts appear at every level) that an agent needs to drive pagination confidently.

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; the description earns above that by explaining the mode combinations the schema documents only in isolation — outline with only doc_id versus section, parent requiring section and accepting both heading names and prefix:Name fact names, and what context=primary keeps (no dimension member, not NonConsolidatedMember, still including prior periods). Minor room remains since the schema already carries much of this.

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 concrete verb and resource with scope: 'Return the XBRL financial facts reported in one EDINET filing of a Japanese listed company.' That pins the unit of retrieval (one filing) and the content type (XBRL facts) precisely enough to distinguish it from document- or company-level siblings.

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 a detailed operating procedure — outline true to list sections, section + outline for headings, section + parent for facts, query for label/concept lookup — plus a routing hint to get_account_quota when a call is unavailable for the account. It stops short of saying when to prefer this over get_company_financials, get_calculation_tree or get_segment_breakdown, so the alternative-selection gap remains.

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.