Skip to main content
Glama

Delete a campaign draft

delete_campaign_draft
DestructiveIdempotent

Use this only when the brand asks to delete one of their campaign drafts. It erases the draft for good. A live or finished listing can’t be deleted; preview_close_listing then close_listing stops one. Account owner only. Nobody is told.

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": {
      "campaign": "<campaign>"
    },
    "name": "delete_campaign_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignYesThe campaign reference, like cmp_…, from create_campaign_draft or list_campaigns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety floor is covered; the description adds genuinely new context: permanence ('for good'), a precondition on listing state, an authorization constraint ('account owner only'), and a side-effect disclosure ('nobody is told'). These are exactly the facts an agent needs before an irreversible mutation and are not derivable from the structured fields.

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?

Five short sentences, front-loaded with the gating condition, then irreversibility, then the excluded case and its alternative, then permission and side effects. Every sentence carries distinct information; nothing repeats the annotations verbatim.

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 one-parameter destructive tool with full schema coverage and no output schema, the description supplies the remaining unknowns: irreversibility, the listing-state precondition, the authorization requirement, and the absence of notifications. Nothing needed to call it safely 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% and the single parameter already documents the cmp_… format and its provenance (create_campaign_draft or list_campaigns). The description adds nothing about the argument, so the baseline of 3 applies.

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?

The description names a specific verb ('delete'/erases) and resource ('campaign drafts'), scopes it explicitly ('one of their campaign drafts'), and distinguishes it from the stopping path by naming preview_close_listing and close_listing. An agent can route between draft deletion and listing closure without opening 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?

It gives an explicit when ('only when the brand asks to delete one of their campaign drafts'), an explicit when-not ('a live or finished listing can't be deleted'), and the alternative to use instead (preview_close_listing then close_listing). All three guidance elements are present in the definition, not left to inference.

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