Skip to main content
Glama

Coinage

Withdraw offer

withdraw_offer
DestructiveIdempotent

Withdraw an open offer you made. Requires scope trading:write. Ask the person before calling.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "offerId": "<offerId>"
    },
    "name": "withdraw_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerIdYes
idempotencyKeyNoClient retry key. 8 to 128 letters, digits, underscores, or hyphens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description discloses two things annotations cannot express: the required OAuth scope trading:write and the social/consent precondition of asking the counterparty first. Annotations already cover destructiveness and idempotency, so this is a meaningful addition rather than a restatement. It still omits what happens to the offer or any linked transaction after withdrawal, 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?

Three short sentences with zero filler, and the core action is front-loaded ahead of the scope requirement and the consent caveat. Nothing here could be cut without losing information.

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?

For a destructive, open-world mutation with no output schema, the definition covers the permission and consent dimensions but leaves the aftermath unstated: what state the offer moves to, whether related listings or transactions change, and whether the buyer is notified. Sibling routing is also absent, so the picture is workable but incomplete.

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 coverage sits at 50%: idempotencyKey is documented inline, but offerId has no description at all. The phrase "an open offer you made" does implicitly constrain what offerId may be (a self-owned, still-open offer), which is the only semantic contribution made. Given the borderline coverage, that is minimally adequate rather than strong.

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?

"Withdraw an open offer you made" gives a specific verb plus resource and narrows the scope to offers the caller created and that are still open. An agent can tell this apart from withdraw_listing or reject_offer by the object being acted on, though no sibling is named 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?

"Ask the person before calling" is a real precondition that shapes when to invoke the tool, which is more than most definitions offer. However, it never contrasts this with reject_offer or counter_offer, so an agent handling an incoming offer gets no routing guidance.

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