Skip to main content
Glama

Validate Japanese address

jp_address_validate
Read-onlyIdempotent

Decide whether a Japanese address (Japanese or romanized) holds at the level you need, from parser, postal and geocoder evidence: exact/partial/ambiguous/conflict/unverified with reasons. Use when: You need one evidence-based Japanese address quality decision combining parsed address, postal evidence, and geocoder evidence. Returns: Exact, partial, ambiguous, conflict, or unverified status with accepted hierarchy, confidence signals, validation scope, and reasons. Price: $0.005 USDC per successful call, paid with x402 on Base. / 日本住所(日本語・ローマ字)が必要な階層で成立するかを、解析・郵便番号・ジオコーディングの根拠から判定します。 用途: 解析住所、郵便番号根拠、ジオコーダー根拠を統一ルールで判定したい場合。 返却: 完全一致、部分一致、候補不一意、矛盾、未検証の状態に加え、採用階層、信頼度、判定範囲、理由を返します。 料金: 成功した呼び出し1回あたり $0.005 USDC(Base上のx402決済)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jp_address_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
parsedNoOutput from /v1/jp/addresses/parse or normalize containing at least one non-empty address component. / parseまたはnormalizeの出力。空でない住所構成要素を1つ以上含めます。
strictNoRequire all supplied evidence to agree. / 入力された根拠の完全一致を要求。
addressNoPostal address in Japan, in Japanese or romanized (1-9-1 Marunouchi, Chiyoda-ku, Tokyo). Not a blockchain wallet address. Give address or parsed. / 日本国内の住所(日本語・ローマ字)。ウォレット不可。addressかparsedの一方。
required_levelNoRequired hierarchy level; Jageocoder 5/6=oaza/aza, 7=block, 8=building/house node. / 必須階層。Jageocoderの5/6=大字・字、7=街区、8=建物・号ノード。
postal_evidenceNoOptional prior output from /v1/jp/postal-codes/lookup; status/confidence are recomputed and not trusted. / 任意のpostal-lookup出力。statusとconfidenceは再計算され、無条件には信頼されません。
geocode_evidenceNoOptional prior output from /v1/jp/addresses/geocode; candidates and statuses are advisory and recomputed locally. / 任意のgeocode出力。候補とstatusは補助情報で、ローカルで再計算されます。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / address / description
      Previous value: -"Original Japanese address; provide exactly one of address or parsed. / 元の日本住所。addressとparsedのどちらか一方を指定します。"New value: +"Postal address in Japan, in Japanese or romanized (1-9-1 Marunouchi, Chiyoda-ku, Tokyo). Not a blockchain wallet address. Give address or parsed. / 日本国内の住所(日本語・ローマ字)。ウォレット不可。addressかparsedの一方。"
  2. Changed3 schema fields changed
    • changedInput schema / properties / geocode_evidence / description
      Previous value: -"Optional prior output from /jp-address/geocode; candidates and statuses are advisory and recomputed locally. / 任意のgeocode出力。候補とstatusは補助情報で、ローカルで再計算されます。"New value: +"Optional prior output from /v1/jp/addresses/geocode; candidates and statuses are advisory and recomputed locally. / 任意のgeocode出力。候補とstatusは補助情報で、ローカルで再計算されます。"
    • changedInput schema / properties / parsed / description
      Previous value: -"Output from /jp-address/parse or normalize containing at least one non-empty address component. / parseまたはnormalizeの出力。空でない住所構成要素を1つ以上含めます。"New value: +"Output from /v1/jp/addresses/parse or normalize containing at least one non-empty address component. / parseまたはnormalizeの出力。空でない住所構成要素を1つ以上含めます。"
    • changedInput schema / properties / postal_evidence / description
      Previous value: -"Optional prior output from /jp-address/postal-lookup; status/confidence are recomputed and not trusted. / 任意のpostal-lookup出力。statusとconfidenceは再計算され、無条件には信頼されません。"New value: +"Optional prior output from /v1/jp/postal-codes/lookup; status/confidence are recomputed and not trusted. / 任意のpostal-lookup出力。statusとconfidenceは再計算され、無条件には信頼されません。"
  3. Changed6 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Original Japanese address; provide exactly one of address or parsed. / 元の日本住所。addressとparsedのどちらか一方を指定します。"
    • addedInput schema / properties / geocode_evidence / description
      Added value: +"Optional prior output from /jp-address/geocode; candidates and statuses are advisory and recomputed locally. / 任意のgeocode出力。候補とstatusは補助情報で、ローカルで再計算されます。"
    • addedInput schema / properties / parsed / description
      Added value: +"Output from /jp-address/parse or normalize containing at least one non-empty address component. / parseまたはnormalizeの出力。空でない住所構成要素を1つ以上含めます。"
    • addedInput schema / properties / postal_evidence / description
      Added value: +"Optional prior output from /jp-address/postal-lookup; status/confidence are recomputed and not trusted. / 任意のpostal-lookup出力。statusとconfidenceは再計算され、無条件には信頼されません。"
    • addedInput schema / properties / required_level / description
      Added value: +"Required hierarchy level; Jageocoder 5/6=oaza/aza, 7=block, 8=building/house node. / 必須階層。Jageocoderの5/6=大字・字、7=街区、8=建物・号ノード。"
    • addedInput schema / properties / strict / description
      Added value: +"Require all supplied evidence to agree. / 入力された根拠の完全一致を要求。"
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is covered. The description adds genuinely useful non-schema context: x402 payment at $0.005 USDC per successful call on Base, and the fact that validation is evidence-based rather than trusting supplied status/confidence. It stops short of describing rate limits, failure/refund behavior, or how conflicting evidence is resolved beyond listing the 'conflict' outcome.

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 definition is front-loaded and labeled ('Use when:', 'Returns:', 'Price:'), which makes it skimmable. It loses a point for redundancy: the opening sentence already lists the five statuses and 'with reasons', then the Returns clause repeats essentially the same list, and the full bilingual duplication doubles length for the same content.

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 Returns clause carries the burden and does name the status values plus accepted hierarchy, confidence signals, validation scope, and reasons. Combined with the pricing note and the zero-required-parameter schema, an agent has enough to call this correctly, though failure modes and the effect of the strict flag on outcomes could be spelled out.

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 description coverage is 100%, so the schema already documents all six parameters including required_level's Jageocoder node mapping and the address-or-parsed constraint. The description's phrase 'at the level you need' only loosely gestures at required_level and adds no format or precedence detail beyond the schema. Baseline 3 applies.

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 ('decide whether a Japanese address ... holds at the level you need') and enumerates the outcome classes (exact/partial/ambiguous/conflict/unverified). It implicitly separates itself from the sibling jp_address_normalize by framing itself as a combined evidence decision rather than a formatter, but 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 Guidelines4/5

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

The explicit 'Use when: You need one evidence-based Japanese address quality decision combining parsed address, postal evidence, and geocoder evidence' clause gives a clear selection context. There are no when-not conditions and no named alternative tools, so the agent must infer that normalization-only needs belong elsewhere.

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.