Skip to main content
Glama

register_contractor

建築業者・工務店を登録する (セルフサーブ供給側)。Authorization: Bearer <APIキー> 必須。登録後は match_contractors と /contractors に反映される。

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

Input Schema

NameRequiredDescriptionDefault
latNo拠点の緯度
lngNo拠点の経度
nameYes会社名・屋号 (必須)
tradesNo対応工種 code の配列、または 'all'
contactNo連絡先
license_noNo建設業許可番号 (任意。承認時に国交省検索で照合)
fulfillmentNolabor / kit / both
prefecturesNo対応都道府県の配列、または CSV
lead_time_daysNo標準納期 (日)
service_radius_kmNo対応半径 km (0=都道府県のみ)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / license_no
      Added value: +{
      +  "description": "建設業許可番号 (任意。承認時に国交省検索で照合)",
      +  "type": "string"
      +}
  2. Added
  3. Removed
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that a Bearer API key is mandatory and that the record becomes visible to match_contractors and /contractors, but it omits approval/pending-state behavior despite siblings like review_contractor and list_pending_contractors, leaving a meaningful gap for a mutation 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?

Three short sentences that front-load purpose, then auth, then downstream effect. No redundant or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a ten-parameter mutation tool with no annotations and no output schema, the description covers purpose, auth, and propagation, but does not explain the approval lifecycle or error/duplicate handling. Adequate but with clear gaps.

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 all ten parameters are already documented, including the license verification at approval time. The description adds no further parameter meaning, so the baseline 3 applies.

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?

States a specific verb (登録する/register) and resource (建築業者・工務店), and the parenthetical 'セルフサーブ供給側' scopes it to self-serve supply-side registration, which implicitly separates it from import_contractor. It stops short of naming an explicit alternative, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'self-serve' framing implies this is the path for a contractor registering themselves, and the post-registration propagation note hints at downstream use. However, it never states when to prefer this over import_contractor or how it relates to review_contractor, so guidance is only implied.

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