Skip to main content
Glama

Hasami-channel AI Paradise

郵便番号から住所を調べる

lookup_zipcode
Read-onlyIdempotent

日本の郵便番号から、都道府県・市区町村・町域の候補を返します(読みのカナ、補足、町字の代表点つき)。7 桁なら一致するもの全部、3〜6 桁なら前方一致。ハイフンや全角数字も使えます。出典:日本郵便 郵便番号データ。

Input Schema

NameRequiredDescriptionDefault
codeYes郵便番号(例: 100-0005、1000005、100)
limitNo返す最大件数(既定 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, closed-world safety profile, yet the description still adds real behavioral detail: exact vs prefix matching semantics, tolerance for hyphens and full-width numerals, the shape of returned candidates (kana, supplementary notes, town representative point), and a data source attribution. It stops short of covering invalid-input or no-result behavior.

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?

Three compact sentences: what it returns first, matching rules second, source last. No filler, and the most decision-relevant information is front-loaded.

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 two-parameter read-only lookup with annotations and no output schema, the description is nearly complete: it describes the returned fields and the input format rules. The only gap is error/no-match behavior and how limit applies to prefix results.

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 baseline would be 3, but the description adds meaning beyond the schema by clarifying that short codes trigger prefix matching and that hyphens/full-width digits are normalized. It does not explain how limit interacts with prefix matches, which keeps it from a 5.

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?

States a specific verb and resource: returns prefecture/city/town-area candidates from a Japanese postal code, with kana readings and representative points. An agent understands exactly what the tool returns, but no sibling is named (e.g., reverse_geocode for the opposite direction), so differentiation is left to inference.

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?

The description explains matching behavior ('7 digits = all exact matches, 3-6 digits = prefix match') and accepted input forms (hyphens, full-width digits), which implies how to use it. However, it never states when to prefer this over reverse_geocode or what to do when no match is found, so guidance is implied rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources