Skip to main content
Glama

respond_to_trade

Accept or reject pending trade deals from other civilizations. Review offers with get_pending_trades first.

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
other_player_idYes
acceptYes

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 the full burden. It does not disclose side effects such as whether the trade is immediately executed, if it consumes the pending offer, or any relationship impacts. The description only states the basic function without behavioral details.

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 very concise: one sentence for purpose, two lines for parameters, and one sentence for prerequisite. No wasted words, and the most important information 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?

Two simple parameters, an output schema exists (not shown but referenced), and the description covers the essential usage. Lacks details on potential errors or confirmation steps, but adequate for a straightforward accept/reject action.

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

Parameters5/5

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

Input schema has 0% description coverage, but the description compensates fully by explaining 'other_player_id' as the player ID from get_pending_trades and 'accept' as True/False for accept/reject. This adds crucial meaning beyond the raw schema types.

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 clearly states 'Accept or reject a pending trade deal.' with a specific verb and resource, distinguishing it from sibling tools like 'propose_trade' (for proposing) and 'respond_to_diplomacy' (for diplomacy, not trades).

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?

It explicitly instructs to 'Use get_pending_trades first to see what's being offered,' providing clear prerequisite usage. However, it does not mention when not to use this tool or alternatives like 'propose_trade' for initiating a trade.

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/lmwilki/civ6-mcp'

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