Skip to main content
Glama

resas_population

Retrieve population data for Japanese prefectures and municipalities by code; deprecated RESAS API—use estat_search or dashboard_data for current alternatives.

Instructions

【RESAS】⚠️ DEPRECATED: RESAS APIは2025-03-24に提供終了。代替: estat_search(人口統計・統計コード00200521)またはdashboard_data(人口系指標)を使用すること

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>",
      "cityCode": "<cityCode>"
    },
    "name": "resas_population"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityCodeYes市区町村コード("-"で全体)
prefCodeYes都道府県コード

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and the deprecation disclosure is the single most important behavioral fact: calls will likely fail or return stale/empty data. What it does not cover is failure mode specifics (error vs. empty payload) or a last-valid-data caveat, which keeps it short of a 5.

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?

One sentence, front-loaded with the ⚠️ DEPRECATED marker and the termination date, then the alternatives. Nothing is wasted and the critical warning cannot be missed.

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 dead tool the redirect is arguably sufficient to prevent misuse, and no output schema means return values need no explanation. But an agent cannot learn from this description what the tool used to return, so judging whether an alternative truly covers the same population slice requires inferring from the name and the stats code.

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 coverage is 100%, including the '-' wildcard convention for cityCode and the 1-47 bound on prefCode, so the schema already does the work. The description adds no parameter meaning at all, which is acceptable at this coverage level but earns only the baseline.

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 — no verb, no data resource, no scope. Its entire content is a deprecation notice plus redirect targets, so an agent must infer the purpose from the tool name 'resas_population' alone.

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?

It gives an explicit when-not (API terminated 2025-03-24) and names two concrete alternatives, estat_search and dashboard_data, even pinning the relevant statistics code (00200521) for the population case. This is exactly the routing an agent needs.

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