Skip to main content
Glama

Confita

Delete an item

delete_item
DestructiveIdempotent

For shop owners: delete one thing from the shop, by kind and name or id: a listing, drop, page, post, coupon, pickup place or delivery zone. It always waits for the seller's tap: the reply is needs_confirmation, at its link she sees exactly what goes, and nothing happens until she confirms. Orders already taken keep what they hold, and a drop that has orders is refused. It does not hide a listing and keep it: save_listing status: archived does. Customers and orders 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": {
      "kind": "<kind>",
      "item": "<item>",
      "request_id": "<request_id>"
    },
    "name": "delete_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYesIts name or id: a listing's or drop's name, a page's path or title, a post's slug or title, a coupon's code, a place's or zone's name.
kindYesThe kind of thing to delete.
request_idYesUnique per call; the same id again returns the first result.

Output Schema

NameRequiredDescriptionDefault
itemNo
nextNo
errorNo
choicesNo
outcomeNo
timezoneNo
confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, but the description adds non-obvious behavior: the call does not delete immediately, it returns needs_confirmation, the seller sees exactly what will be removed, and a drop with existing orders is refused. It also states collateral effects (existing orders keep their data), which no annotation conveys.

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?

Four sentences, front-loaded with the action and audience, then the confirmation flow, then the exceptions. Nearly every clause carries information; the phrasing 'at its link she sees exactly what goes' is a slightly indirect way to say the confirmation view shows the target.

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?

An output schema exists, so return shape needn't be explained, yet the description still discloses the practical response (needs_confirmation) that determines the agent's next step. Refusal conditions and non-deletable entity types are covered, leaving nothing an agent needs to call it safely.

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% and the schema already enumerates the kinds and spells out per-kind name/id resolution, so the description's 'by kind and name or id' largely restates it. `request_id` semantics are left entirely to the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('delete one thing from the shop') plus the exact keying scheme (`kind` and name or id), and enumerates the seven deletable kinds. It also names its audience (shop owners) and its boundaries (customers and orders cannot be deleted), so it is distinguishable from every sibling at a glance.

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 alternatives and exclusions: archiving a listing is done with save_listing `status: archived`, not this tool, and customers/orders/drops-with-orders are out of scope. It also explains the confirmation gate an agent will encounter, so the caller knows what to expect before invoking.

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