Skip to main content
Glama

Coinage

Delete listing

delete_listing
Destructive

Delete the seller's own listing for good. It leaves search, their own list, and every public read. Requires scope listings:write. Only when the person asked to delete it; withdraw_listing hides a listing without deleting it. A listing with a deal in progress, or a sold one, cannot be deleted.

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": "delete_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description goes further by disclosing what deletion actually does ('leaves search, their own list, and every public read'), the required OAuth scope ('listings:write'), and eligibility rules where deletion is refused. These are behavioral facts the structured annotations do not carry.

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?

Four short sentences, front-loaded with the action and its permanence, then consequences, then prerequisites, then the disqualifying alternative. No sentence is filler; each adds a distinct decision-relevant fact.

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 destructive one-parameter tool with no output schema, the definition covers permanence, visibility impact, scope, and refusal conditions. The only minor gap is whether dependent artifacts (photos, conversations, offers) are also removed or retained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter has 0% schema description coverage, yet 'the seller's own listing' conveys the key semantic constraint that the listingId must identify a listing owned by the caller. Relevant ownership meaning is added beyond the bare minLength/maxLength string definition.

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?

Uses a specific verb and resource ('Delete the seller's own listing') and immediately names the sibling it must not be confused with ('withdraw_listing hides a listing without deleting it'). An agent can distinguish permanent deletion from withdrawal without inspecting either schema.

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?

States an explicit trigger ('Only when the person asked to delete it'), names the alternative and its semantics ('withdraw_listing hides a listing without deleting it'), and lists blocking preconditions (deal in progress, or sold). All three when/when-not/alternative elements are present.

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