Skip to main content
Glama
Izyuusya
by Izyuusya

search_invoice_by_name

Search invoice registration numbers by company name. Converts corporate numbers to T-numbers internally, so you can verify invoice status without knowing the registration number.

Instructions

会社名からインボイス登録番号を検索する.

法人番号APIで会社名を検索し、該当法人のインボイス登録状況を 自動で確認する。法人番号 → 登録番号(T+法人番号)の変換を 内部で行うため、登録番号を知らなくても検索できる。

※ 個人事業主は法人番号を持たないため、このツールでは検索できません。 個人事業主の場合は登録番号(T+13桁)を直接指定して check_invoice_registration をご利用ください。

Args: name: 検索キーワード(会社名、部分一致) area: 地域名で絞り込み(都道府県名、例: "東京都") limit: 取得件数上限(デフォルト5、最大10)

Returns: インボイス登録情報の一覧(マークダウン)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
areaNo
nameYes
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.8/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the internal pipeline (Corporate Number API search, invoice registration check, automatic conversion), a hard limitation (sole proprietors are not supported), and the markdown return format. It does not mention auth needs or rate limits, but those are less critical for a read-oriented search tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the core purpose, followed by brief behavioral context, an exclusion/alternative note, and parameter documentation. Every sentence adds value and there is no 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?

For a search tool with an output schema, the description covers the operation, all parameter semantics, a key exclusion, and the correct alternative for unsupported users. No critical information is missing for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description fully compensates by defining all three parameters: name as a partial-match company keyword, area as a prefecture-level filter with an example, and limit with explicit default and maximum values.

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 opening sentence states the specific function: 'Search invoice registration number by company name.' It also clarifies the internal mechanism (corporate number lookup and conversion to T + corporate number) and explicitly contrasts with check_invoice_registration, distinguishing it from siblings.

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?

The description explicitly says when the tool cannot be used (sole proprietors) and directs users to the sibling check_invoice_registration as the alternative. It also implies the right use case: name-based lookup when the registration number is unknown.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.