Skip to main content
Glama

review_contractor

【管理者専用】承認待ち業者を承認/却下する。ADMIN_EMAILS に含まれる API キーのみ。action=approve|reject。

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": {
      "contractor_id": "<contractor_id>",
      "action": "<action>"
    },
    "name": "review_contractor"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesapprove / reject (必須)
reasonNo却下理由 (reject 時)
contractor_idYes対象の業者 ID (必須)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full load. It usefully discloses the authorization gate (API key must appear in ADMIN_EMAILS) and the precondition that the target must be in a pending state, which are real behavioral facts. It does not say whether rejection is permanent, whether reason is mandatory on reject, or what the response contains, leaving meaningful gaps 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.

Conciseness4/5

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

Three short clauses, front-loaded with the admin restriction, with zero filler. The 'action=approve|reject' clause is partly redundant with the schema but is cheap and reinforces the domain.

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 mutation tool with no annotations and no output schema, the auth and state preconditions are the most important things to include and they are present. Still missing are the consequences of the operation (irreversibility of reject, required reason, resulting status), which an agent needs before invoking a write action.

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 schema already documents all three parameters including the reject reason. The description adds a small amount beyond the schema by restating the allowed action domain, but contributes nothing about contractor_id or reason semantics. Baseline 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 pair (approve/reject) and a precisely scoped resource (pending contractors), which cleanly separates it from list_pending_contractors and register_contractor. It stops short of explicitly naming a sibling to contrast against, but the 'pending' scope does most of the differentiation work.

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 admin-only precondition is stated clearly and tells the agent when it is even allowed to call this. However, there is no explicit guidance on the alternative path (e.g. use list_pending_contractors to find IDs first) or on when to prefer reject over approve beyond the obvious.

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