Skip to main content
Glama

Rooms Agent Pay (sandbox preview)

decline_hire

Decline a hire that is waiting for approval. No money moves.

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": {
      "room_id": "<room_id>",
      "owner_key": "<owner_key>",
      "hire_id": "<hire_id>"
    },
    "name": "decline_hire"
  }
}

Input Schema

NameRequiredDescriptionDefault
hire_idYes
room_idYesRoom id from create_room
owner_keyYesOwner key returned by create_room (keep it private)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/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. 'No money moves' is a genuinely useful disclosure that this is a pure state change rather than a refund/payment action, but it says nothing about required permissions, reversibility, whether the hire record persists, or what happens to the room.

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?

Two short sentences, front-loaded with the action and followed by the most decision-relevant fact ('No money moves'). Nothing wasted.

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 state-mutating tool with no annotations and no output schema, the description is minimally adequate: the agent knows the action and that no funds transfer. It is missing the outcome (does the hire become cancelled/removed, is the room affected, can it be undone) that an agent needs to report results correctly.

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

Parameters2/5

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

Schema coverage is 67%: room_id and owner_key are described in the schema, but hire_id has no description anywhere. The prose adds no parameter meaning at all, so the undocumented parameter remains ambiguous (where does hire_id come from?).

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 (decline) and resource (a hire awaiting approval), which distinguishes it clearly from the sibling approve_hire. The precondition 'waiting for approval' narrows the resource state, though the description never names the sibling alternative explicitly.

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 phrase 'that is waiting for approval' implies a precondition for use, but there is no explicit when-to-use/when-not guidance and no mention of what to do for hires in other states or how this differs from other room/hire operations.

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