Skip to main content
Glama

Take a listing down

end_listing
DestructiveIdempotent

Takes one of the person's own listings off agentPickup's marketplace, for example when they've sold it elsewhere or changed their mind: buyers can no longer find, offer on or buy it. Works on a draft, a listing waiting for a check, or a live one; an item someone is paying for or has bought can't be taken down (use cancel_purchase for that sale). Confirm with the person first. To put it back up later, open it with get_listing and they sign again in the card, or change it first with create_listing and its listing_id. Needs sign-in.

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": {
      "listing_id": "<listing_id>"
    },
    "name": "end_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy it's coming down, if the person said: kept for agentPickup's records, never shown to buyers. Default other.
listing_idYesThe listing's id (lst_...), from my_listings or the listing card.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / listing_id / description
      Added value: +"The listing's id (lst_...), from my_listings or the listing card."
    • addedInput schema / properties / reason / description
      Added value: +"Why it's coming down, if the person said: kept for agentPickup's records, never shown to buyers. Default other."
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as destructive and idempotent, and the description adds substantial context beyond them: buyers can no longer find, offer on, or buy the item; paid or purchased items cannot be taken down; and the agent is told to confirm with the person first. It also explains how to restore or recreate the listing later, covering reversibility.

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?

The purpose is front-loaded, followed by buyer impact, eligible listing states, the cancel_purchase exception, confirmation guidance, restoration path, and auth requirement. Every sentence carries operational value and there is no repetition.

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 destructive two-parameter tool with no output schema, the definition covers the key operational questions: what is affected, which states are eligible, which are not, what alternative to use, whether confirmation is needed, and how to reverse or recreate the 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 100%, so both listing_id and reason are already documented in the schema, including the reason enum and its default. The description adds no meaningful syntax or format detail about these parameters beyond the schema baseline.

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 ("Takes one of the person's own listings off agentPickup's marketplace") and immediately describes the buyer-visible effect. It clearly separates this from cancel_purchase for sales and points to get_listing/create_listing for reversal.

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?

Gives explicit when-to-use examples (sold elsewhere, changed mind), the listing states it applies to (draft, awaiting check, live), the state where it is not allowed (paying/bought; use cancel_purchase), a confirmation prerequisite, and the sign-in requirement.

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.