Skip to main content
Glama

Look up a Japanese postal code / 郵便番号から住所

lookup_postal_code
Read-onlyIdempotent

Look up the address (prefecture, city, town) for a 7-digit Japanese postal code, from Japan Post data. Accepts forms like 1000001, 100-0001 or 〒100-0001. One code can cover several towns; all are returned. town_detail holds the parenthesized part as written by Japan Post (e.g. chome ranges or building floors). If the code is a business-specific code (大口事業所個別番号) or a PO box code, the business is returned in offices. / 郵便番号から住所(都道府県・市区町村・町域)。日本郵便のデータ。1つの郵便番号に町域が複数あれば、すべて返す。事業所の個別郵便番号なら、事業所名と所在地を offices に返す。

Input Schema

NameRequiredDescriptionDefault
postal_codeYes7-digit postal code, hyphen optional / 郵便番号(7桁、ハイフンは任意)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / postal_code / maxLength
      Added value: +200
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, and closed-world behavior, so the description is free to add richer call semantics. It discloses that one code can return multiple towns, explains the town_detail field's parenthesized content, and states that business-specific or PO box codes return offices – all valuable behavioral context beyond the structured metadata.

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?

The English portion is front-loaded and efficient, covering purpose, input formats, multi-result behavior, and special-case output fields in a few sentences. The bilingual duplication adds length, but given the tool's bilingual title it is purposeful rather than purely redundant.

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 simple single-parameter lookup with no output schema, the description explains the main return components (prefecture, city, town, town_detail, offices) and the key edge cases. It could be more explicit about the overall response shape or error behavior, but it is largely complete for an agent to invoke correctly.

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?

The input schema already documents the single postal_code parameter with hyphen-optional guidance, so the baseline would be 3. The description adds concrete accepted forms (1000001, 100-0001, 〒100-0001), which extends the schema's meaning with useful input flexibility.

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: looking up a Japanese address from a 7-digit postal code, using Japan Post data. It clearly defines the operation, but it does not differentiate this tool from its sibling search_postal_code, leaving the agent to infer which one to use.

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 is implied: use when you have a postal code and need the corresponding address. However, there is no explicit when-not guidance and no mention of the sibling search_postal_code as an alternative, so the agent must infer the boundary from context rather than the description.

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