Skip to main content
Glama

Delete Offer

delete_offer
Destructive

Permanently delete an offer by UUID.

WARNING: This action is irreversible. The offer will be removed from the database entirely. Consider using update_offer with status: "archived" instead if you want to hide the offer without deleting it.

Returns { status: "deleted", offer_id: "" } on success. Returns error with code "NOT_FOUND" if the offer doesn't exist.

This permanently removes the offer. Prefer update_offer with status archived to hide without deleting.

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": {
      "id": "<id>",
      "confirm": "<confirm>"
    },
    "name": "delete_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUUID of the offer to permanently delete. Get from search_offers results.
confirmYesMust be exactly true to confirm deletion. Omitted or false is rejected.
manage_tokenNoOwnership proof returned by create_offer — lets you delete from any IP/network.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / manage_token
      Added value: +{
      +  "description": "Ownership proof returned by create_offer — lets you delete from any IP/network.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes further by spelling out irreversibility, full removal from the database, the exact success payload, and the NOT_FOUND error code. That is real added context beyond the structured hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The warning is front-loaded well, but the core point is repeated three times: the opening WARNING paragraph, the closing "This permanently removes the offer" sentence, and the archive alternative stated twice. Roughly a third of the text is redundant restatement.

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?

The description covers the mutation's permanence, the failure mode, and the return shape, which is sufficient given no output schema exists. The remaining detail (confirm must be true, ownership token) is fully handled by the schema, so nothing an agent needs 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%, so id, confirm, and manage_token are already fully documented in the schema, including const:true on confirm and where to obtain the UUID. The description contributes nothing about parameters beyond saying "by UUID," which is the baseline 3 case.

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, resource, and identifier type ("Permanently delete an offer by UUID"), and explicitly contrasts itself with the archive path on update_offer. An agent can distinguish it from update_offer, get_offer_details, and search_offers without opening a 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?

Gives an explicit when-not condition and a concrete alternative: use update_offer with status "archived" to hide without deleting. It also states the not-found case, so the agent knows the outcome when the target is missing.

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