Skip to main content
Glama

Japan Business Tools

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

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/no-open-world, so the bar is lower; the description adds real behavioral context by warning that one code can map to several towns and that business/PO-box codes surface in `offices`. It does not say what happens for an unknown or malformed code, which is the remaining gap.

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?

Front-loaded with the action and input format, and each sentence carries information. The fully duplicated bilingual text doubles the length, which is a convention rather than waste, but it is not maximally 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?

With no output schema, the description usefully explains the key return fields (`town_detail`, `offices`) and the possibility of multiple results, so an agent knows what to expect. It stops short of describing error handling or result ordering.

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?

With a single parameter and 100% schema coverage the baseline is 3, but the description adds accepted input variants (bare 7 digits, hyphenated, and the 〒 prefix) that the schema's 'hyphen optional' does not enumerate.

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

Purpose5/5

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

States a specific verb (look up) and resource (address for a 7-digit Japanese postal code) with the exact data source (Japan Post). The exact-code input requirement implicitly separates it from the sibling search_postal_code, which would take free-text address input.

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 required input form ('accepts forms like 1000001, 100-0001 or 〒100-0001') implies when the tool applies, but the description never explicitly names search_postal_code as the alternative for the reverse or fuzzy lookup. Usage is inferable but not stated.

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