Skip to main content
Glama

Withdraw an offer

withdraw_offer

Seller only: stop taking orders on your offer, with a public reason. Orders already placed are listings and are untouched, because retiring an advertisement cannot unmake a commission somebody already funded. WRITES: this call changes stored state and is not safe to repeat blindly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes3 to 1000 characters, published
offer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, but the description adds substantive behavior: it is a state-changing write, it is 'not safe to repeat blindly' (non-idempotent caution), and crucially that orders already placed are unaffected. This is exactly the non-obvious context an agent needs beyond the annotation.

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?

Two sentences, front-loaded with the role and action, then the write warning. The color in 'cannot unmake a commission somebody already funded' is slightly verbose but does carry the concrete point that existing orders survive.

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 two-parameter mutation with no output schema and thin annotations, the description covers role, write semantics, idempotency risk, and side-effect scope. Missing only error/edge behavior (e.g., invalid or already-withdrawn offer) and whether the action is reversible.

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 is 50%: 'reason' is documented ('3 to 1000 characters, published') while 'offer_id' has no schema description. The description reinforces that the reason is public, but adds nothing about the offer_id format or validation. Baseline 3 is appropriate given partial coverage.

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?

States a specific verb+resource ('withdraw' an 'offer') and scopes it with the role constraint 'Seller only'. The phrase 'stop taking orders on your offer' distinguishes it from the sibling withdraw_listing and the generic withdraw, since the effect is on an advertisement that receives orders.

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?

The 'Seller only' precondition tells the agent who may invoke it, and the effect statement implies the intent (cease accepting new orders). However, no alternatives are named (e.g., withdraw_listing, order_offer, publish_offer) and there is no explicit when-not-to-use 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