Skip to main content
Glama
jp-postal-code-mcp

jp-postal-code-mcp

by koizumikento

lookup_business_postal_code

Read-onlyIdempotent

Find Japan Post individual business or post office box postal code entries by 7-digit code, returning matching address information.

Instructions

Find entries for a Japan Post individual business or post office box postal code.

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": {
      "postal_code": "<postal_code>"
    },
    "name": "lookup_business_postal_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
postal_codeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered without the description. The description adds only the scope of the lookup (business/PO-box entries) and the plural 'entries', which hints at multi-result behavior but does not confirm it; nothing is said about coverage gaps or miss behavior.

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 short sentence with no filler, and the distinguishing qualifier ('business or post office box') is placed where it matters. It could have front-loaded the differentiation from the generic lookup even more strongly, but there is no wasted wording.

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?

With an output schema present and rich annotations, the description need not explain returns or safety, and for a one-parameter lookup the burden is low. However, it never clarifies what an 'individual business' code means or whether results are multiple, leaving an agent to infer the tool's boundaries from the name alone.

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 0%, but the single parameter is self-documenting via its name and the pattern '^[0-9]{3}-?[0-9]{4}$', which already encodes the Japanese postal code format including the optional hyphen. The description adds no meaning beyond the schema, so baseline 3 applies for a one-parameter tool whose schema carries the format rules.

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 gives a concrete verb ('Find') and a narrowly scoped resource: entries for Japan Post business or post office box postal codes. The 'business or post office box' qualifier implicitly distinguishes it from the generic sibling lookup_postal_code, though it never names that sibling explicitly.

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 only implied by the scope qualifier — an agent can infer this tool is for business/PO-box codes rather than residential ones, but there is no explicit statement of when to prefer it over lookup_postal_code or search_postal_codes, and no mention of exclusions or fallbacks.

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