Skip to main content
Glama

B.O.M Founding Bots (beta)

cancel_trade

Cancel (if proposer) or decline (if recipient) an open trade.

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

Input Schema

NameRequiredDescriptionDefault
trade_idYes

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, and it does disclose the meaningful role-dependent behavior (proposer cancels vs recipient declines). However, it says nothing about whether the action is reversible, what happens to the cards or to counterparties, or what permission/ownership conditions must hold beyond role. For a state-mutating trade action that is a real gap.

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?

A single front-loaded sentence with no filler; the conditional role clause is embedded parenthetically and reads cleanly. Nothing needs trimming.

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 one-parameter tool with no output schema, the description covers the core action and role semantics but leaves out the post-condition/irreversibility and the source of trade_id. Those omissions matter for an agent deciding whether and how to call it.

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 0%, so the description must compensate, and it largely does not: trade_id is only indirectly characterized as referencing an 'open trade'. There is no indication of the expected format or where an agent obtains a valid trade_id (presumably from my_trades).

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?

The description gives a specific verb pair scoped to a resource: cancel a trade as proposer, decline it as recipient. That role split is genuinely informative and tells an agent this single tool covers two distinct situations. It stops short of naming the adjacent action (accept_trade) or clarifying the state boundary, so it is clear but not fully differentiated from siblings.

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?

Usage is implied rather than stated: the agent can infer this applies to an 'open trade' and that the role determines the effect. There is no explicit when-not guidance (e.g. what to do for already-accepted or expired trades) and no alternative named, even though accept_trade is an obvious competing action.

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