Skip to main content
Glama

Kaishalog — Japanese company data

法人を探す

search_companies
Read-onlyIdempotent

日本の法人(会社・団体)を探し、候補を最大20件返します(法人番号・商号・フリガナ・所在地・存続か閉鎖か・カイシャログのページの URL)。社名(「トヨタ自動車」「株式会社」などの種類の語は省いてよい)、フリガナ、13桁の法人番号、証券コード(4桁)、EDINET コード(E から始まる6文字)、EDINET の書類番号(S から始まる8文字)、インボイスの登録番号(T+13桁)で探せます。同じ名前の法人が多いときは prefecture で都道府県を絞り込んでください。詳しい情報は、見つけた法人番号で get_company を呼んでください。

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": {
      "query": "<query>"
    },
    "name": "search_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes社名・フリガナ・法人番号・証券コード・EDINET コード・インボイスの登録番号など(2文字以上)
prefectureNo都道府県で絞り込むとき:名前(「東京都」「大阪府」)かコード(「13」)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, so the description focuses on behavior the annotations cannot convey: the 20-result ceiling and the returned field set (法人番号・商号・フリガナ・所在地・存続/閉鎖・URL). It does not say what happens when matches exceed 20 beyond the prefecture hint, so it falls just short of full disclosure.

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 paragraph is front-loaded with purpose and result shape, then input formats, then the narrowing tip and the hand-off to get_company. It is dense but every clause carries information; only the enumeration of formats runs slightly long.

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, the description compensates by listing the returned fields, and with a two-parameter schema it fully covers both inputs. Nothing an agent needs to call this correctly or interpret the result is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description exceeds it by specifying accepted identifier shapes (13桁法人番号, 4桁証券コード, E+6桁 EDINET コード, S+8桁書類番号, T+13桁インボイス番号) and by noting legal-type words like 株式会社 may be omitted. Prefecture's name-or-code duality is restated but paired with the narrowing condition, adding practical intent.

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+resource ('日本の法人(会社・団体)を探し') and states the result cap (最大20件) plus the exact fields returned. It is unmistakably distinct from the sibling get_company, which it explicitly designates for detail lookups.

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?

It gives concrete routing: use prefecture to narrow when many companies share a name, and call get_company with the found corporate number for deeper detail. The accepted lookup keys are enumerated, so the agent knows which query forms are viable before calling.

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