Skip to main content
Glama

game_exchange_cancel

Отказаться от обмена или закрыть его; медь со стола вернётся.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "game_exchange_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=false already tells the agent this mutates state. The description adds genuinely useful side-effect context beyond the annotations: copper placed on the table is returned to its owner. It still omits whether the other party's stake is also returned, whether a pending offer is cancelled for both sides, and whether the action is reversible.

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 compact clause pair with the action first and the consequence second. Nothing is wasted and the point is front-loaded.

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?

With no parameters and no output schema, the description carries the burden of explaining outcome, and it does state the item-return behavior. However, for a state-mutating cancellation it should clarify the state precondition (pending vs accepted trade) and whether the cancellation affects both parties' stakes.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to supply; the baseline for a no-parameter tool applies. The description correctly implies the target exchange is resolved implicitly from game state.

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 and resource: decline or close an exchange trade ("Отказаться от обмена или закрыть его"). That is enough to separate it from game_exchange_accept, game_exchange_confirm, and game_exchange_offer, but it does not name any sibling 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?

Use is implied: call this when you want to back out of or shut down an exchange. There is no explicit statement of when to prefer this over game_exchange_accept or game_exchange_confirm, and no stated prerequisites such as being a party to the trade or the trade being in a pending state.

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