Skip to main content
Glama

Verify T-number (qualified invoice)

jp_invoice_registration_verify
Read-onlyIdempotent

Verify a Japanese qualified-invoice registration number (T + 13 digits) against the NTA invoice registry; returns the registered name with a sourced English name and address. Use when: You already have a Japanese T+13-digit qualified-invoice registration number. Returns: NTA registration status, corporate number, registered name, and relevant dates. Price: $0.01 USDC per successful call, paid with x402 on Base. / 適格請求書発行事業者登録番号(T+13桁)を国税庁データと照合します。 用途: 日本のT+13桁インボイス登録番号が既にある場合。 返却: 国税庁の登録状態、法人番号、登録名、関連日付を返します。 料金: 成功した呼び出し1回あたり $0.01 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": {
      "registration_number": "<registration_number>"
    },
    "name": "jp_invoice_registration_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_languageNoResponse presentation language: ja, en, or both. / レスポンス表示言語: ja(日本語)、en(英語)、both(両方)。both
registration_numberYesT plus 13 digits; spaces, hyphens, and lowercase t are normalized. Shape-invalid input is rejected before payment; checksum-invalid or registry-not-found values are paid business results. / Tに続く13桁の数字。空白・ハイフン・小文字tは正規化されます。形式不正は支払い前に拒否し、チェックサム不一致または未登録は有料の業務結果として返します。

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 declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds information annotations cannot: the $0.01 USDC x402-on-Base payment model and the exact result fields (registration status, corporate number, name, dates). It does not mention rate limits or latency, which keeps it below a 5.

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?

Well front-loaded: the operation, then Use when, Returns, and Price in labeled segments. The main cost is that the entire block is duplicated verbatim in Japanese, roughly doubling length; that duplication is justified only by the bilingual audience, not by added information.

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?

There is no output schema, and the description compensates by enumerating the returned fields and the payment terms, which is what an agent needs before spending money. Edge-case behavior (invalid shape vs. checksum-invalid paid result) lives in the schema rather than the description, leaving a small gap for an agent that reads only the description.

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 both parameters are already documented in the schema, including normalization and the pre-payment rejection rule. The description only restates the T+13 format and adds nothing about response_language or how language selection affects the 'sourced English name' mention. Baseline 3 applies.

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 and resource: verify a Japanese qualified-invoice registration number (T + 13 digits) against the NTA invoice registry. The parenthetical format constraint plus the target registry make the operation unambiguous, and the 'Use when: You already have a T-number' clause implicitly separates it from extract-style siblings such as jp_invoice_extract.

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 'Use when: You already have a Japanese T+13-digit qualified-invoice registration number' line gives a concrete precondition that rules out the extraction siblings. It stops short of naming an alternative for the case where the agent does not yet have the number, or for the related issuer-check/match tools.

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.