Skip to main content
Glama

estat_time_series

Fetch and align municipal time-series indicators from e-Stat/SSDS, reconciling differing survey cycles with ±3-year fallback for comparable data.

Instructions

【e-Stat/SSDS】自治体の時系列データを整列取得。調査周期が異なる指標(5年毎の国勢調査 vs 毎年の財政データ)を±3年フォールバックで整列

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": {
      "code": "<code>",
      "indicators": "<indicators>"
    },
    "name": "estat_time_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes市区町村コード(5桁)
yearToNo終了年(デフォルト: 2023)
yearFromNo開始年(デフォルト: 2005)
indicatorsYesSSDS指標コード配列(例: ["A1101","C2108","D2201"])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one substantive behavioral trait: a ±3-year fallback when an indicator has no value in the requested year. It omits what happens when no observation exists even within the fallback window (null, skip, error), whether fallback is reported per indicator, and any auth or rate-limit context.

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 sentences, front-loaded with the source tag and the core action, then the differentiating alignment behavior. Dense but no filler; the parenthetical example earns its place by making the cadence mismatch concrete.

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 4-parameter read tool with no annotations and no output schema, the description covers purpose and the key alignment behavior but leaves the result shape and no-data outcomes unexplained. An agent knows what the tool does but not exactly what it will get back or how fallback results are surfaced.

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, but the description adds real meaning beyond the schema: the indicators array may mix indicators of different survey periods, and the ±3-year fallback defines how yearFrom/yearTo boundaries are interpreted per indicator. It does not restate the 5-digit code format or the year defaults, which the schema already covers.

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 states a specific verb and resource: aligning and retrieving municipal time-series data from e-Stat/SSDS. It adds the distinguishing capability — reconciling indicators with different survey cadences (5-yearly census vs annual fiscal data) — which differentiates it from a plain data fetch like estat_data. It does not, however, name any sibling tool as an explicit alternative.

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 context is implied by the mixed-cadence alignment feature: an agent can infer this is the tool for combining indicators whose observation periods do not line up. There is no explicit statement of when to prefer it over estat_data, estat_compare_municipalities, or estat_check_availability, and no stated preconditions.

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