Skip to main content
Glama

PlugRail JP Corporate

verify_invoice_number

Read-only

適格請求書発行事業者番号(T+13桁)の登録・取消・失効を日付付きで照合します。本サービスは法人・人格のない社団等のデータのみを取り込み、個人事業者のデータを取り込んでいないため、個人事業者の番号はここでは見つかりません(公表サイト https://www.invoice-kohyo.nta.go.jp/ では確認できる場合があります)。未発見を無効・不存在と断定しません。登録ありの応答には法人番号データ由来の法人名 name・所在地 address を含みます(法人番号表に無い場合は null。未発見の応答は name/address ともに null)。入力例: {"invoiceNumber": "T1180301018771"}

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": {
      "invoiceNumber": "<invoiceNumber>"
    },
    "name": "verify_invoice_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceNumberYesT+13桁の登録番号。例: "T1180301018771"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / invoiceNumber / description
      Previous value: -"T+13桁の登録番号。例: \"T8000000000001\""New value: +"T+13桁の登録番号。例: \"T1180301018771\""
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds far more: the dataset covers corporations and unincorporated associations but not sole proprietors, non-discovery is not proof of invalidity, and registration responses carry name/address derived from the corporate number table. It also documents null behavior both when the entity is absent from the corporate number table and for non-discovery responses — exactly the behavioral context needed to interpret results correctly.

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 purpose is front-loaded, followed by coverage caveats and response-shape notes in a logical order, and each sentence carries behavioral weight. The only waste is the input example, which duplicates the example already embedded in the schema.

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?

There is no output schema, so the description appropriately explains the response fields (name, address) and their null cases, plus the critical interpretation rule for non-discovery. For a single-parameter read-only verification tool, nothing an agent needs to call it or read its output correctly is missing.

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 100% and the single parameter already documents the T+13 format with the same example value. The description restates the format and repeats the identical example rather than adding new meaning, so the baseline 3 for high-coverage schemas 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?

The description opens with a specific verb and resource — verifying (照合) a qualified invoice issuer number in T+13 format — and specifies scope as registration/cancellation/expiration with dates. An agent can distinguish this status-check operation from siblings like search_corporate_by_number or search_invoice_batch without opening the schema.

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?

It gives an explicit when-not: sole proprietor numbers are not in this dataset and will not be found, with the public NTA site named as the alternative for those cases. It also warns that non-discovery must not be treated as invalid/nonexistent, which shapes how results should be interpreted. It stops short of naming internal siblings as alternatives, so it is not a full 5.

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.