Skip to main content
Glama

Check invoice issuer

jp_invoice_issuer_check
Read-onlyIdempotent

Check a T-number against the issuer name on the invoice (Japanese or English), the address (optional), the invoice date (optional: registered on that date, not cancelled or expired) and your supplier master number (optional: expected_registration_number or expected_corporate_number), using Japan's NTA registries. JPVerify does not read invoice files. Use when: You have a T-number and the issuer name from an invoice (address and invoice date optional) and need to know whether they belong together and the issuer was registered on the invoice date. Returns: Registry fields, issuer name and address comparison, registration on the invoice date, supplier master comparison, and one status per check in check_results. Price: $0.05 USDC per successful call, paid with x402 on Base. / T番号を請求書の発行者名(日本語・英語)・住所(任意)・日付(任意。その日に登録済みで取消・失効前か)・仕入先マスターの番号(任意)と国税庁データで照合します。ファイルの読み取りは行いません。 用途: 請求書のT番号と発行者名(住所・日付は任意)が一致するか、請求書の日付時点で登録済みかを確認したい場合。 返却: 国税庁の登録情報、発行者名・住所の比較結果、請求書日付時点の登録状況、確認項目ごとの結果を返します。 料金: 成功した呼び出し1回あたり $0.05 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_issuer_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressNoOptional issuer address as printed on the invoice, compared with the registry address. / 請求書に記載された発行者住所(任意)。登記住所と比較します。
invoice_dateNoOptional invoice (transaction) date, YYYY-MM-DD: checks that the issuer was registered on that date and not yet cancelled or expired. / 請求書の取引年月日(任意)。その日に登録済みで、取消・失効前かを確認します。
supplier_nameNoIssuer name as printed on the invoice, in Japanese or English. Japanese is compared with the registered name of the T-number; English with the official English name (NTA, EDINET, GLEIF) or the romanized registered reading. / 請求書に記載された発行者名(日本語または英語)。日本語はT番号の登録名と、英語は公式英語名(国税庁・EDINET・GLEIF)または登録フリガナのローマ字表記と比較します。
response_languageNoResponse presentation language: ja, en, or both. / レスポンス表示言語: ja(日本語)、en(英語)、both(両方)。both
registration_numberYesQualified-invoice registration number: T followed by 13 digits, e.g. T1013301046627. / 適格請求書発行事業者登録番号(T+13桁)。
expected_corporate_numberNoOptional 13-digit corporate number of this supplier from your own supplier master data; compared with the corporate number registered for the T-number. / 仕入先マスターに登録済みの法人番号(任意)。T番号の登録上の法人番号と比較します。
expected_registration_numberNoOptional T-number of this supplier from your own supplier master data (not from the invoice). A different invoice T-number means the invoice may come from another company. / 仕入先マスターに登録済みのT番号(任意。請求書の値ではありません)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / supplier_name / description
      Previous value: -"Issuer name as printed on the invoice, compared with the registered name of the T-number. / 請求書に記載された発行者名。T番号の登録名と比較します。"New value: +"Issuer name as printed on the invoice, in Japanese or English. Japanese is compared with the registered name of the T-number; English with the official English name (NTA, EDINET, GLEIF) or the romanized registered reading. / 請求書に記載された発行者名(日本語または英語)。日本語はT番号の登録名と、英語は公式英語名(国税庁・EDINET・GLEIF)または登録フリガナのローマ字表記と比較します。"
  2. Changed5 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"Issuer address as printed on the invoice, compared with the registry address. / 請求書に記載された発行者住所。登記住所と比較します。"New value: +"Optional issuer address as printed on the invoice, compared with the registry address. / 請求書に記載された発行者住所(任意)。登記住所と比較します。"
    • addedInput schema / properties / expected_corporate_number
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 32,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional 13-digit corporate number of this supplier from your own supplier master data; compared with the corporate number registered for the T-number. / 仕入先マスターに登録済みの法人番号(任意)。T番号の登録上の法人番号と比較します。",
      +  "title": "Expected Corporate Number"
      +}
    • addedInput schema / properties / expected_registration_number
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 32,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional T-number of this supplier from your own supplier master data (not from the invoice). A different invoice T-number means the invoice may come from another company. / 仕入先マスターに登録済みのT番号(任意。請求書の値ではありません)。",
      +  "title": "Expected Registration Number"
      +}
    • addedInput schema / properties / invoice_date
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional invoice (transaction) date, YYYY-MM-DD: checks that the issuer was registered on that date and not yet cancelled or expired. / 請求書の取引年月日(任意)。その日に登録済みで、取消・失効前かを確認します。",
      +  "title": "Invoice Date"
      +}
    • changedInput schema / properties / supplier_name / description
      Previous value: -"Issuer name as printed on the invoice, compared with the NTA registries. / 請求書に記載された発行者名。国税庁データと比較します。"New value: +"Issuer name as printed on the invoice, compared with the registered name of the T-number. / 請求書に記載された発行者名。T番号の登録名と比較します。"
  3. Changed4 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Issuer address as printed on the invoice, compared with the registry address. / 請求書に記載された発行者住所。登記住所と比較します。"
    • addedInput schema / properties / registration_number / description
      Added value: +"Qualified-invoice registration number: T followed by 13 digits, e.g. T1013301046627. / 適格請求書発行事業者登録番号(T+13桁)。"
    • addedInput schema / properties / response_language / description
      Added value: +"Response presentation language: ja, en, or both. / レスポンス表示言語: ja(日本語)、en(英語)、both(両方)。"
    • addedInput schema / properties / supplier_name / description
      Added value: +"Issuer name as printed on the invoice, compared with the NTA registries. / 請求書に記載された発行者名。国税庁データと比較します。"
  4. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses a paid-call model with a concrete price ($0.05 USDC per successful call, settled via x402 on Base) and clarifies that billing is per successful call. It also states the tool does not read invoice files and, since no output schema exists, enumerates the returned checks (registry fields, name/address comparison, registration-on-date, supplier master comparison, per-check status in check_results).

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 well-sectioned: purpose, then Use when, Returns, and Price, with zero filler sentences. Length is roughly doubled by the parallel Japanese block, which appears to be a deliberate localization requirement rather than redundancy, though it does inflate the payload.

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?

For a 7-parameter read-only verification tool with no output schema, the definition covers purpose, preconditions, payment, a non-capability (no file reading), and the shape of the response, which is enough to call it correctly. It omits failure modes, such as what is returned when the T-number is malformed or absent from the registry, and gives no latency or rate-limit expectations for a paid endpoint.

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 every parameter including the Japanese/English name-matching rules and the expected_* master-data fields is already documented in the schema. The description adds only the framing that the supplier master number is optional and distinct from the invoice value; it supplies no matching-tolerance, normalization, or error semantics beyond the schema.

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 opening sentence names a specific verb and resource: check a T-number against the issuer name, address, invoice date, and supplier master data using Japan's NTA registries. The added scope statement 'need to know whether they belong together' carves out a distinct job from a plain registration lookup, but no sibling tool (e.g. jp_invoice_registration_verify) is named for direct contrast.

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?

'Use when:' gives an explicit precondition set — you hold a T-number plus issuer name, with address and invoice date optional, and want to know whether they belong together and whether registration was valid on that date. It also states a negative boundary ('JPVerify does not read invoice files'), but gives no when-not guidance or named alternative for adjacent tasks such as resolving a company from a name.

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.