Skip to main content
Glama

Meta delete campaign

meta_delete_campaign
DestructiveIdempotent

Delete a Meta campaign. Cannot be undone. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. The change reaches outside Kampalo. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "ad_account_id": "<ad_account_id>",
      "campaign_id": "<campaign_id>"
    },
    "name": "meta_delete_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
client_idNo
user_emailNo
campaign_idYes
ad_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds genuinely new behavior: irreversibility ("Cannot be undone"), the dry-run preview path when confirm is absent, and the fact that the effect propagates outside Kampalo. It does not cover failure modes or what the preview payload contains, but the confirm-gate mechanics are the key non-obvious trait and they are stated.

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?

Four short sentences, front-loaded with the action and its irreversibility, then the confirm gate, then side effects, then parameter hints. Nothing is redundant and no sentence could be dropped without losing information.

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

Completeness4/5

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

For a destructive, externally-visible tool with an output schema present, the description covers the safety-critical facts: irreversibility, the confirm preview mode, and cross-system impact. The remaining gap is the unexplained required identifiers and the user_id/user_email parameters, which the agent must infer from the schema alone.

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 0%, so the description carries the burden: it explains client_id defaults to the active client, that extra accepts any additional app field, and what confirm does. The two required parameters, ad_account_id and campaign_id, plus user_id and user_email, receive no explanation at all, leaving roughly half the surface undocumented.

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

Purpose4/5

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

"Delete a Meta campaign" names a specific verb and a specific resource, which separates it from meta_delete_ad and meta_delete_adset by object type. It does not, however, contrast itself with the non-destructive siblings on the same object (meta_pause_campaign, meta_update_campaign), so differentiation is by noun only.

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

Usage Guidelines3/5

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

It gives a concrete invocation rule – call with confirm=true to execute, without it you get a preview and nothing changes – which is real guidance on how to call it. It gives no guidance on when to choose deletion over pausing or updating an existing campaign, so the decision of whether to use this tool at all is left to the agent.

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.