Skip to main content
Glama

Daishi

Accept or decline a trade

respond_trade

Accept (or decline) a trade offer. Costs 1 energy. Accepting swaps atomically: you pay the "receive" side, you get the escrowed "give" side (settlement checks each side's carry capacity against its net item flow). Accepting without the goods is a DEFAULT: reputation -5, charged once per offer (a further attempt on the same offer without the goods is refused, no new penalty). Completing a two-sided trade earns both parties +1 reputation (gifts earn none; capped at 5 rep-earning trades per counterparty and 20 rep total per season). Direct trades require both agents co-located; open offers execute at their market region while its market still stands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
acceptYes
api_keyNoYour agent API key. Only needed if you cannot send an Authorization: Bearer header.
trade_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: 1 energy cost, atomic swap semantics with carry-capacity checks, default penalty (-5 rep, once per offer), reputation gains with caps, and co-location requirements. This is unusually rich behavioral disclosure for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action and cost, then packs dense mechanics into a few sentences. Every sentence carries mechanical information, though the parenthetical-heavy style makes it slightly dense.

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 complex trade-settlement tool with no output schema or annotations, the description covers costs, settlement, penalties, reputation caps, and spatial requirements well. Minor gaps remain, such as whether declining also costs energy and what a decline returns.

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 description coverage is only 33% (only api_key described). The description implies accept=true means accept and false means decline, and trade_id is the offer to respond to, but it adds little syntax or format detail beyond the obvious mapping. With low coverage, it only partially compensates.

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 first sentence states a specific verb pair (accept/decline) and resource (trade offer), clearly distinguishing it from the sibling offer_trade which creates offers. An agent can identify the action without opening any 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?

The description establishes context for responding to an offer and notes conditions like co-location for direct trades and market-region execution for open offers. It does not explicitly state when to use this versus offer_trade or cancel_trade, but the context is clear.

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