Skip to main content
Glama

resas_finance

Retrieve prefectural and municipal finance data, including revenue, expenditure, and purpose-specific spending by region code. Deprecated: use dashboard_data or estat_search for fiscal statistics.

Instructions

【RESAS】⚠️ DEPRECATED: RESAS APIは2025-03-24に提供終了。代替: dashboard_data(地方財政指標)またはestat_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>",
      "cityCode": "<cityCode>",
      "matter": "<matter>"
    },
    "name": "resas_finance"
  }
}

Input Schema

NameRequiredDescriptionDefault
matterYes1:歳入 2:歳出 3:目的別歳出
cityCodeYes市区町村コード
prefCodeYes都道府県コード

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?

With no annotations, the description carries the full burden, and it does disclose the critical behavioral fact: the underlying RESAS API was shut down on 2025-03-24, so calls likely fail or return nothing. It does not say what happens when called now (error vs empty result) or what the tool returned when it worked.

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 sentence, front-loaded with the deprecation marker and the shutdown date, then the replacements. No wasted wording, though the Japanese parentheticals are doing double duty as both purpose hints and routing hints.

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 dead tool, the one thing an agent needs is 'do not call this, call X instead', and that is fully delivered with a date and two named siblings. Parameter documentation is complete via the schema, so the only gap is failure-mode behavior on invocation.

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 prefCode, cityCode and matter (including the 1/2/3 matter meanings) are already documented in the schema. The description adds no parameter meaning beyond that, which matches the baseline for fully covered schemas.

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 resas_finance does. It only announces deprecation and points to alternatives; the actual resource (local government finance data) is only inferable from the tool name and the parenthetical labels on the replacements.

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?

Explicitly says not to use this tool and names two concrete alternatives, dashboard_data for 地方財政指標 and estat_search for 地方財政統計. It stops short of a rule for choosing between the two beyond their short labels.

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