Skip to main content
Glama

estat_data

Fetch Japanese e-Stat statistical data by table ID, filtering by time, region, and classification codes to isolate specific data series.

Instructions

【e-Stat】統計データ取得。時間・地域・分類で絞込可能

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": {
      "statsDataId": "<statsDataId>"
    },
    "name": "estat_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo言語
limitNo取得件数(最大100000)
cdAreaNo地域コード
cdTimeNo時間コード
cdCat01No分類事項01
cdCat02No分類事項02
statsDataIdYes統計表ID
startPositionNo取得開始位置

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly does not. 取得 implies a read, but nothing states that this is a side-effect-free fetch, how many records are returned by default, how startPosition/limit interact for paging, or what the response looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact clauses, front-loaded with the tool's function and then its capabilities; no filler sentences. The 【e-Stat】 source tag and the terse filter list leave room that a slightly longer sentence about the retrieval workflow could have used productively.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with a required statsDataId, no annotations and no output schema, the description is thin. The critical missing piece is where statsDataId comes from and that filtering is optional while paging is bounded (max 100000), all of which the agent must discover from the schema.

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 the baseline is 3. The phrase 時間・地域・分類 does loosely map to cdTime, cdArea and cdCat01/cdCat02, but it adds no code format, wildcard, or multi-value syntax beyond what the schema already documents, and it says nothing about the required statsDataId.

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 description pairs a specific verb (統計データ取得 / retrieve statistics data) with the resource and names the filter dimensions (time, region, classification). It is clearly distinguishable from browse/search-style siblings, but it does not explicitly contrast with estat_time_series or estat_search, which also return statistical values.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says this is the retrieval step after estat_search/estat_meta supplies a statsDataId, nor when to prefer estat_time_series or estat_compare_municipalities instead. An agent must infer the workflow from sibling names alone, which the prompt explicitly warns against.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools