Skip to main content
Glama

resas_cities

Retrieve cities by Japanese prefecture code via RESAS; deprecated since March 24, 2025, so use estat_search or mlit_dpf_search for city-level statistics and regional data.

Instructions

【RESAS】⚠️ DEPRECATED: RESAS APIは2025-03-24に提供終了。代替: estat_search(市区町村別統計)またはmlit_dpf_search(地域データ)を使用すること

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": {
      "prefCode": "<prefCode>"
    },
    "name": "resas_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
prefCodeYes都道府県コード 1-47

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the most important behavioral fact — the upstream API is terminated, so calls will presumably fail — which is genuine value beyond the schema. However it says nothing about what a call would return, error behavior, or whether any cached data remains accessible.

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?

One sentence with the deprecation warning front-loaded and the actionable advice second — well ordered and free of filler. Points off only because the omission of any purpose statement makes it under-specified rather than tight.

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 deprecated tool with one fully documented parameter and no output schema, the critical information an agent needs — do not call this, call these instead — is present and unambiguous. What is missing is a one-clause statement of the original function, which would let the agent judge whether an alternative is truly equivalent.

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?

The single parameter prefCode is fully documented in the schema (100% coverage) with type and 1-47 range, so the description need not repeat it. It adds no meaning beyond that, which is the expected baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what the tool does. It only announces deprecation and names replacements; the resource ('cities' / 市区町村) must be inferred from the tool name and the parenthetical '市区町村別統計' in the alternative. An agent cannot learn from the description that this returns a list of municipalities for a prefecture.

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?

This is the description's strongest element: it explicitly says the API ended on 2025-03-24 (a when-NOT-to-use rule) and names two concrete alternatives with brief domain hints. It stops short of explaining which alternative to pick under which condition, so it is not a full 5.

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