Skip to main content
Glama

Coinage

Reject offer

reject_offer
DestructiveIdempotent

Reject an open offer made by the other person. Requires scope trading:write. Ask the person before calling. Rejecting your own offer is a withdraw.

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

Input Schema

NameRequiredDescriptionDefault
offerIdYes
idempotencyKeyNoClient retry key. 8 to 128 letters, digits, underscores, or hyphens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare this destructive, idempotent, open-world and not read-only, so the safety profile is covered. The description adds real value with the authorization scope and the human-confirmation requirement. It does not say what state the offer moves to afterward or whether rejection is reversible for either party.

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?

Four short sentences, each carrying a distinct rule: what it does, the required scope, the confirmation etiquette, and the sibling boundary. Nothing is repeated and the action is front-loaded.

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

Completeness4/5

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

For a single-required-parameter destructive mutation with no output schema, the definition covers actor restriction, authorization, and the human-in-the-loop requirement. The remaining omission is post-condition behavior, i.e. what the counterparty sees and whether the offer can be revived.

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 coverage is 50%: idempotencyKey is documented in the schema, offerId is not. The description narrows offerId implicitly by requiring the target to be an open offer made by the counterparty, which is useful semantics, but it says nothing about the ID format or about how idempotency key reuse behaves on retry.

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?

A specific verb ('Reject') plus a specific resource ('an open offer made by the other person'), with the scope of validity stated inline. The closing sentence separates it from the withdraw case, so an agent can tell which operation it needs without opening the schema.

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?

States a hard prerequisite ('Requires scope trading:write'), a workflow rule ('Ask the person before calling'), and the exclusion that rejecting your own offer is a withdraw rather than a reject. The only gap is that the alternative is described conceptually rather than pointing at the withdraw_offer tool by name.

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