Skip to main content
Glama

Normalize Japanese address

jp_address_normalize
Read-onlyIdempotent

Standard form of a Japanese address, given in Japanese or romanized: canonical hierarchy (prefecture to room), completed town, postal-master consistency and an English rendering from Japan Post romanized data. No coordinates and no final decision (use jp_address_validate). Accepts business-specific postal codes (e.g. 100-8310) and parcel (番地) addresses. Use when: You need Japanese address normalization or standardization, whether or not the input contains a postal code. Returns: Standard written form: normalized components, a unique truncated town completed, an English address from Japan Post romanization, and postal-master consistency and candidates. It does not infer a missing postal code, return coordinates (geocode) or give a final decision (validate). Price: $0.005 USDC per successful call, paid with x402 on Base. / 日本語・ローマ字の日本住所を標準表記にします。都道府県から部屋番号までの階層、町名補完、郵便データとの整合、日本郵便ローマ字の英語表記。座標と最終判定は返しません(判定は jp_address_validate)。事業所の個別郵便番号(例: 100-8310)と地番(番地)住所にも対応します。 用途: 入力に郵便番号があってもなくても、日本住所を正規化・標準化したい場合。 返却: 標準表記:正規化した構成要素、一意な町名の補完、日本郵便ローマ字の英語住所、郵便データとの整合と候補。未入力の郵便番号は推定せず、座標(geocode)と最終判定(validate)は返しません。 料金: 成功した呼び出し1回あたり $0.005 USDC(Base上のx402決済)。

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": {
      "address": "<address>"
    },
    "name": "jp_address_normalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesPostal address in Japan, in Japanese or romanized (1-9-1 Marunouchi, Chiyoda-ku, Tokyo). Not a blockchain wallet address. Postal code optional. / 日本国内の住所(日本語・ローマ字)。ウォレット不可。郵便番号は任意。
response_languageNoResponse presentation language: ja, en, or both. / レスポンス表示言語: ja(日本語)、en(英語)、both(両方)。both

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / address / description
      Previous value: -"Japanese address to normalize, with or without a postal code. / 正規化する日本の住所(郵便番号の有無は問いません)。"New value: +"Postal address in Japan, in Japanese or romanized (1-9-1 Marunouchi, Chiyoda-ku, Tokyo). Not a blockchain wallet address. Postal code optional. / 日本国内の住所(日本語・ローマ字)。ウォレット不可。郵便番号は任意。"
  2. Changed2 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Japanese address to normalize, with or without a postal code. / 正規化する日本の住所(郵便番号の有無は問いません)。"
    • addedInput schema / properties / response_language / description
      Added value: +"Response presentation language: ja, en, or both. / レスポンス表示言語: ja(日本語)、en(英語)、both(両方)。"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds material behavior beyond them: the price ($0.005 USDC per successful call via x402 on Base), the acceptance of business-specific postal codes such as 100-8310 and 番地 parcel addresses, and an explicit list of what is NOT returned. Pricing and payment-rail disclosure is high-value context an agent cannot get from the annotations.

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 text is front-loaded and sectioned (capability, 'Use when', 'Returns', exclusions, price), so an agent can scan it quickly. The full Japanese duplication roughly doubles the length and is largely redundant for a non-Japanese-reading agent, though it is a reasonable localization choice rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although there is no output schema, the description enumerates the returned fields, the exclusions, the input domain, and the payment model, which is everything needed to call a two-parameter, read-only normalizer correctly. No material gap remains for the tool's complexity.

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 the baseline is 3; the description still earns credit for stating that the address may be Japanese or romanized, that the postal code is optional, and that business-specific postal codes and 番地 addresses are accepted — the last point is genuine meaning beyond the schema. The response_language parameter is not addressed in the description, which keeps this below a 5.

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?

The description states a specific verb and resource — putting a Japanese address into standard/canonical form — and enumerates what the output contains (prefecture-to-room hierarchy, completed town, postal-master consistency, English rendering). It also names the sibling it is not (jp_address_validate) and the capability it lacks (geocoding), so an agent can separate it from alternatives without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'Use when' clause covers the trigger (normalization/standardization, with or without a postal code) and the description lists three exclusions with the alternative named for the decision case ('no final decision (use jp_address_validate)'). Missing postal-code inference and geocoding are called out as out of scope, which is exactly the when-not guidance an agent needs.

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.