Skip to main content
Glama

Kaishalog — Japanese company data

取引先をまとめて確認する

check_companies
Read-onlyIdempotent

法人番号を最大50件まとめて受け取り、1社ずつ「存続か閉鎖か(閉鎖日と理由)」「商号・所在地の直近の変更日」「インボイスの登録の状態」を返します。取引先の名簿の定期的な確認に向いています。番号の誤り・見つからない番号も、入れた順に結果を返します。データの時点(as_of)も返すので、利用者に示してください。

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": {
      "corporate_numbers": "<corporate_numbers>"
    },
    "name": "check_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
corporate_numbersYes13桁の法人番号の配列(最大50件。T+13桁のインボイスの登録番号も可)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive, non-open-world behavior, so the safety profile is covered. The description's real added value is behavioral: invalid or not-found numbers are returned in input order rather than causing an error, and an as_of data timestamp is returned with a hint to surface it to the user — useful but not deep (no rate limits, no partial-failure mode beyond the ordering note).

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?

Purpose, return fields, target use case, error behavior, and the as_of instruction each carry distinct information and the purpose leads. It is slightly longer than strictly necessary — the per-field enumeration of returns could be tightened — but no sentence is 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?

With no output schema and a single simple input, the description carries the return-shape burden and does so: it names the three result categories per company, explains how invalid inputs appear in the output, and flags the as_of timestamp the agent must relay. An agent can call this correctly and report results without further information.

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?

There is one parameter and schema coverage is 100%, so the schema already explains the 13-digit array, the 50-item cap, and that T-prefixed 13-digit invoice numbers are accepted; the description adds no syntax or format detail beyond that. The note about bad numbers being echoed back in order describes output behavior, not parameter semantics, so it does not lift this above the baseline.

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 names a concrete action and resource — batch lookup of up to 50 corporate numbers — and enumerates exactly what comes back per company (survival/closure status with date and reason, latest name/address change date, invoice registration state). It does not explicitly name the sibling tools search_companies or get_company, so it stops short of clean differentiation, but the 'まとめて' (bulk) framing and '1社ずつ' return shape make the contrast with a single-record lookup inferable.

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 a clear usage context — '取引先の名簿の定期的な確認に向いています' (suited to periodic checks of a client roster) — which tells the agent when this batch tool is the right pick. It stops short of a 5 because it never states when NOT to use it or points to a named alternative for single-company or search-style lookups.

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.

Resources