Skip to main content
Glama

respond_to_trade

Accept or reject a pending trade deal after reviewing offers from another player. Use with get_pending_trades to see what is being offered.

Instructions

Accept or reject a pending trade deal.

Args:
    other_player_id: The player ID of the civilization (from get_pending_trades)
    accept: True to accept the deal, False to reject it

Use get_pending_trades first to see what's being offered.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
acceptYes
other_player_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states the action (accept/reject) without disclosing side effects, irreversibility, or output behavior. For a mutation tool, this lacks depth.

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?

The description is extremely concise: a one-line action statement, parameter explanations, and a prerequisite hint. No fluff; every sentence serves a purpose.

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?

Given the tool's simplicity and the existence of an output schema, the description covers purpose and parameters adequately. However, it lacks details about return values and failure conditions (e.g., what if trade is no longer pending), making it slightly incomplete.

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 schema has 0% description coverage, but the tool description clearly explains both parameters: 'other_player_id' (source from get_pending_trades) and 'accept' (boolean meaning). This adds essential meaning beyond the schema's titles.

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?

The description explicitly states the verb 'Accept or reject' and the resource 'pending trade deal', which clearly defines the tool's purpose. The name 'respond_to_trade' differentiates it from siblings like 'respond_to_diplomacy' and 'propose_trade'.

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?

The description advises to 'Use get_pending_trades first to see what's being offered', providing clear context on prerequisites. However, it does not explicitly mention when not to use this tool or contrast it with similar tools (e.g., respond_to_diplomacy).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wrislin1/civ6-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server