Skip to main content
Glama

Adbloop Meta Ads

delete_campaigns

Destructive

PERMANENTLY delete campaigns/ad sets/ads by ID. Irreversible — requires confirm:true. Use pause instead if unsure.

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_ids": "<campaign_ids>",
      "confirm": "<confirm>"
    },
    "name": "delete_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true — deletion is permanent.
campaign_idsYes
meta_account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already disclose destructiveHint=true, so the bar is lower; the description still adds irreversibility ('PERMANENTLY', 'Irreversible') and the confirm:true requirement, which annotations do not state. It doesn't mention permission requirements, what happens with mixed or invalid IDs, or whether deletion is atomic — useful context for a destructive tool that is missing.

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?

Two short sentences, front-loaded with the irreversible warning, with zero wasted words. Every clause adds value: scope, irreversibility, confirm requirement, and alternative.

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 mutation tool with annotations covering safety, the description covers the critical information: permanence, required confirmation, and the pause alternative. Missing details about meta_account_id scope and partial-failure behavior are minor but keep it from full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 33%: confirm is documented in the schema and merely reinforced here, campaign_ids gets only a vague 'by ID' hint about identifier format, and meta_account_id is undocumented in both schema and description. The description does not compensate for the low schema coverage.

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 destructive verb (PERMANENTLY delete) and the resources affected (campaigns, ad sets, ads) by ID. It also explicitly distinguishes itself from pause_campaigns, so an agent can tell the two apart without opening the 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 names an explicit alternative and the condition that selects it: 'Use pause instead if unsure.' That is clear when-not guidance, not implied. The only minor gap is it doesn't discuss when deletion is appropriate versus other delete tools, which is reasonable since siblings delete different resources.

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