Skip to main content
Glama

delete_listing

Destructive

Seller: remove one of your listings yourself, for good; list it again as a new listing if you want it back. Past orders stay on record with their signed receipts. Refused while an order of it is still being delivered or held.

Input Schema

NameRequiredDescriptionDefault
listing_idYesListing id from ask_market, search_listings or my_listings, e.g. "ls_sandbox".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / listing_id / description
      Added value: +"Listing id from ask_market, search_listings or my_listings, e.g. \"ls_sandbox\"."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, it discloses what is destroyed (the listing permanently), what survives (past orders and their signed receipts), and the exact condition under which the call is refused. This is substantive behavioral context an agent cannot get from annotations alone.

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 compact clauses, front-loaded with the actor and action, then irreversibility, then retention, then refusal. Every sentence carries distinct operational information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with full annotation coverage and no output schema, the description covers irreversibility, data retention, and failure conditions. Nothing an agent needs to invoke it safely is missing.

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 100% and the single parameter is documented with source tools and a format example, so the schema carries the burden. The description adds no additional meaning about listing_id — baseline 3 applies.

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 and resource ('remove one of your listings') plus audience ('Seller'), making it clearly distinct from update_listing, create_listing, and recall. The permanence ('for good') further sharpens what kind of removal this is.

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?

Gives an explicit precondition for refusal (an order still being delivered or held) and redirects the user's goal ('list it again as a new listing if you want it back'). It stops short of naming sibling tools like update_listing for edits or recall, so it is clear but not fully comparative.

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