Skip to main content
Glama

estat_search

Search Japanese government statistics across all ministries by keyword, field, or survey year to find census, GDP, CPI, and household survey tables.

Instructions

【e-Stat】政府統計を横断検索。国勢調査/GDP/CPI/家計調査等、全府省の統計表をキーワード・分野・調査年で検索

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "estat_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoJ:日本語 E:英語
limitNo取得件数(デフォルト20)
statsCodeNo政府統計コード 5桁:機関 8桁:統計
searchWordNo検索キーワード
statsFieldNo統計分野コード 2桁:大分類 4桁:小分類
surveyYearsNo調査年 YYYY or YYYYMM-YYYYMM

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?

With no annotations provided, the description carries the full behavioral burden and mostly does not meet it. It never says whether results are table metadata (IDs/titles) rather than data values, whether the operation is read-only, how results are ordered, or what the default 20-item cap implies for discovery; only the field-and-year filtering behavior is conveyed.

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?

A single compact sentence, front-loaded with the e-Stat tag and the core action, then the concrete dataset examples. Every clause contributes; no filler or redundancy.

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

Completeness3/5

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

For a six-parameter, all-optional search tool with no output schema, the description establishes the domain and the filter axes adequately. The critical missing piece is what comes back — table identifiers or actual statistics — which determines whether the agent chains into estat_data or estat_meta next.

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 six parameters are already fully documented, making 3 the baseline. The description reinforces three of them (keyword, 分野, 調査年) but adds nothing about lang, limit, or statsCode beyond what the schema states.

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 gives a specific verb and resource — cross-searching government statistical tables on e-Stat — and names concrete datasets (国勢調査, GDP, CPI, 家計調査) plus the searchable axes. It does not explicitly distinguish this discovery tool from siblings like estat_data or estat_meta, which is why it falls short of a 5.

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?

The description states what can be searched but gives no when-to-use guidance: it never says this is the entry point for discovering statistical tables before fetching values with estat_data, nor does it mention any exclusions or alternatives. An agent must infer the search-then-fetch workflow from sibling names alone.

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