Skip to main content
Glama

Delete an offer

delete_offer
Destructive

Remove an offer.

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

Input Schema

NameRequiredDescriptionDefault
brand_idNoOptional business id from list_brands (default: this connection's business).
offer_idYesThe offer id.
expected_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say whether deletion is permanent, whether it cascades to related records, or what happens if expected_revision mismatches.

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?

Three words, front-loaded and free of waste, but the brevity comes from under-specification rather than discipline. There is no structure to speak of, just a fragment.

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

Completeness2/5

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

For an irreversible delete with no output schema and an undocumented expected_revision parameter, the definition should at minimum cover permanence, concurrency behavior, and error cases. None of that is present, leaving the agent under-informed before a destructive call.

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 67%, with offer_id and brand_id documented inline (including a pointer to list_brands). However, expected_revision has no description anywhere, and it is the parameter whose semantics (optimistic concurrency / stale-write protection) most need explaining for a destructive call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Remove an offer" only restates the tool name and title (delete_offer / Delete an offer) with a synonym for 'delete'. It names no differentiating detail versus siblings such as update_offer or add_offer, so an agent learns nothing it did not already infer from the name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisite or permission context, and no mention of alternatives (e.g. update_offer for soft changes). The agent must infer all invocation conditions on its own.

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