Skip to main content
Glama

get_data_catalog

Read-only

Retrieve data catalog metadata from Japan's e-Stat API to locate specific statistical surveys by code, keyword, or year.

Instructions

データカタログ情報を取得する.

広い探索にはget_stats_listを使い、stats_code等で候補を絞ってから get_data_catalogを呼ぶと安定しやすい。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo取得件数
gov_codeNo政府機関コード
open_yearsNo公開年
stats_codeNo政府統計コード
search_wordNo検索キーワード
stats_fieldNo統計分野コード
survey_yearsNo調査年
updated_dateNo更新日
start_positionNoデータ取得開始位置
stats_name_listNo調査・集計の種類

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.4.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / gov_code / description
      Added value: +"政府機関コード"
    • addedInput schema / properties / limit / description
      Added value: +"取得件数"
    • addedInput schema / properties / open_years / description
      Added value: +"公開年"
    • addedInput schema / properties / search_word / description
      Added value: +"検索キーワード"
    • addedInput schema / properties / start_position / description
      Added value: +"データ取得開始位置"
    • addedInput schema / properties / stats_code / description
      Added value: +"政府統計コード"
    • addedInput schema / properties / stats_field / description
      Added value: +"統計分野コード"
    • addedInput schema / properties / stats_name_list / description
      Added value: +"調査・集計の種類"
    • addedInput schema / properties / survey_years / description
      Added value: +"調査年"
    • addedInput schema / properties / updated_date / description
      Added value: +"更新日"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, so the agent already knows this is a safe read operation. The description adds a behavioral hint about stability when narrowing candidates ('安定しやすい'), but does not disclose other traits like pagination or rate limits. With annotations covering the safety profile, this is adequate but not rich.

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

Conciseness5/5

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

The description is two sentences with no wasted words. The first sentence states the purpose, and the second provides actionable usage guidance relative to a sibling. It is front-loaded and efficient.

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?

The tool has an output schema, so return values are documented. All parameters are described in the schema, annotations cover read-only safety, and the usage guidance clarifies the recommended workflow. Minor gaps like detailed filtering behaviors or examples are absent, but not critical given the schema and output schema. Overall, an agent has enough to call it correctly.

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%, meaning each of the 10 parameters has a description in the schema. The tool description itself does not add additional semantic meaning beyond what the schema provides, but given full coverage, this is sufficient. Baseline 3 applies.

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?

The description states a specific verb (取得する) and resource (データカタログ情報), and distinguishes itself from the sibling get_stats_list by explaining that get_stats_list is for broad search. This clearly tells an agent what this tool does and how it differs from a closely related alternative.

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

Usage Guidelines5/5

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

The description explicitly provides usage guidance: for broad searches, use get_stats_list first, then narrow candidates with stats_code before calling get_data_catalog for stability. This gives clear when-to-use and when-not-to-use instructions relative to a specific sibling tool.

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