Skip to main content
Glama

Delete campaign

delete_campaign
Destructive

Delete a draft, held, blocked, completed or cancelled campaign: it leaves the campaign listings; its calls, recordings, transcripts and billing records are kept. A launching, scheduled, running or paused campaign must be cancelled first (409 campaign_active); a repeat answers 404. Ask the user to confirm before calling.

Input Schema

NameRequiredDescriptionDefault
campaign_idYes
organization_idNoOptional. Defaults to the authenticated workspace; when supplied it must be that workspace's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, but the description adds substantive context beyond them: what is removed (campaign leaves listings) versus retained (calls, recordings, transcripts, billing records), the 409 conflict, and the 404 on retry. This is exactly the retention-vs-destruction detail an agent needs before a destructive call.

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?

Three compact sentences, front-loaded with the eligible states, then side effects, then error semantics and the confirmation prompt. No redundant restatement of the title or annotations.

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?

No output schema exists, yet the description covers side effects, retention, failure modes (409/404), and the human-in-the-loop requirement. For a two-parameter destructive tool this leaves nothing material unspecified.

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 only 50%: organization_id is documented in the schema, but campaign_id carries no description. The description implies campaign_id is the identifier of a deletable campaign but adds no format or lookup guidance, so it neither compensates for nor worsens the gap.

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 (delete) and resource (campaign), and goes further by enumerating the eligible statuses (draft, held, blocked, completed, cancelled). An agent can distinguish this from cancel_campaign because the description explicitly routes active campaigns there.

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 the exact precondition for use (campaign must be in a deletable state), names the alternative path (cancel first for launching/scheduled/running/paused), states the error on violation (409 campaign_active), and prescribes asking the user to confirm. Near-complete routing guidance.

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