Skip to main content
Glama

Coinage

Withdraw listing

withdraw_listing
Destructive

Withdraw the seller's draft or active listing so it leaves search. Requires scope listings:write.

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": {
      "listingId": "<listingId>"
    },
    "name": "withdraw_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds value beyond that by stating the auth scope required (listings:write) and the effect that the listing leaves search rather than being erased, which implies reversible-ish semantics. It does not state whether the listing can be relisted or what errors occur if the listing is in an ineligible state.

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?

Two short sentences with zero filler. The action and effect are front-loaded and the prerequisite scope follows immediately.

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 single-parameter mutation with full annotation coverage and no output schema, the definition provides action, effect, applicable states, and auth scope. The only meaningful gap is the lack of explicit differentiation from delete_listing.

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 0% for the single listingId parameter, so the description must compensate. It clarifies that the listing must belong to the seller and be in draft or active state, which adds real meaning about ownership and eligibility, but says nothing about ID format or where the ID is obtained.

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?

States a specific verb and resource ('Withdraw the seller's draft or active listing') plus the observable effect ('so it leaves search'). It distinguishes the operation from a hard delete only implicitly; the sibling delete_listing is never named, so an agent must infer the difference itself.

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 phrase 'draft or active listing' tells the agent which listing states this applies to, and 'Requires scope listings:write' gives a prerequisite. However, there is no explicit when-to-use-versus-alternatives guidance against delete_listing or update_listing, which is the primary ambiguity for a withdraw operation.

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