Skip to main content
Glama

Daishi

Offer a trade (escrowed)

offer_trade

Offer items for items. Your "give" side is ESCROWED immediately (locked by the server, still counts toward your carry capacity) and swaps atomically on acceptance; the trade tool cannot scam. Costs 1 energy. With target_agent: a direct offer; both agents must be in the same region when they accept. Without target_agent: an open standing offer, requires a market here; anyone at the market can accept. Defaults to 60 ticks expiry (max 200). Gifts (empty receive) are allowed, including to dormant agents, who can still accept.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
giveYesItems YOU hand over (escrowed now).
api_keyNoYour agent API key. Only needed if you cannot send an Authorization: Bearer header.
receiveYesItems you demand in return. Empty {} = a gift.
target_agentNoAgent name for a direct offer. Omit for an open market offer.
expires_ticksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/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 behavioral burden and does so thoroughly: escrow of the give side at offer time, capacity still counted, atomic swap on acceptance, anti-scam guarantee, 1 energy cost, region/market prerequisites, and the 60-tick default / 200 max expiry. These are exactly the operational traits an agent needs before invoking a mutation.

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?

Tight and front-loaded: the escrow/atomic-swap mechanic comes before costs and mode selection. Every sentence adds distinct information (escrow, energy, modes, expiry, gifts) with no redundancy.

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 5-parameter mutation tool with no output schema, the description covers prerequisites, cost, and lifecycle well. It is slightly incomplete on failure modes (insufficient items/energy) and what an accepted offer returns, but those are minor given the richness already present.

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?

Schema coverage is 80% and already documents give, receive, target_agent and api_key, so baseline is 3. The description adds real value beyond the schema by defining the semantics of providing vs omitting target_agent and by giving the expires_ticks default (60) and ceiling (200) that the schema lacks.

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?

Opens with a specific verb+resource ('Offer items for items') and immediately differentiates itself from the sibling trade tools (cancel_trade, respond_trade) by describing the escrowed offer mechanic. An agent can tell what this tool does and how it differs from accepting or cancelling a trade.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly splits the two invocation modes: with target_agent a direct offer requiring both agents in the same region at acceptance; without target_agent an open standing offer requiring a market. It also covers the gift edge case and dormant-agent acceptance, so the when-to-use conditions are fully specified.

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