Skip to main content
Glama

Google Ads & Meta Ads

Meta: Delete Campaign, Ad Set, Ad or Creative

meta_delete_object
DestructiveIdempotent

Permanently delete a paused Meta campaign, ad set or ad, or an unused creative, in your ad account. This cannot be undone: deleting a campaign also deletes its ad sets and ads. Pause it first with meta_set_status, and repeat its current name in confirm_name. Past performance stays in reports.

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": {
      "object_id": "<object_id>",
      "object_type": "<object_type>",
      "confirm_name": "<confirm_name>"
    },
    "name": "meta_delete_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idYesId of the object to delete.
object_typeYesWhat the id is.
confirm_nameYesThe object's current name, repeated exactly.
ad_account_idNoMeta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then.

Output Schema

NameRequiredDescriptionDefault
deletedYesAlways true on success.
objectIdYesId of the deleted object.
objectTypeYesKind of object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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, yet the description adds substantial context beyond them: irreversibility, cascading removal of child ad sets and ads, the required name-confirmation safeguard, and the reassurance that historical performance data survives in reports. These are exactly the behavioral facts an agent needs before committing an irreversible change.

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 tight sentences, front-loaded with the destructive verb and resource, then the consequence, then the required workflow. Every clause carries operational information with no filler.

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 destructive, four-parameter mutation tool with full schema coverage, annotations, and an output schema, the description covers risk, cascade effects, preconditions, and confirmation semantics. Nothing essential to correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema lacks: confirm_name exists as a deliberate safety gate that must repeat the object's *current* name, and object_type is constrained in practice by the 'paused' precondition. It does not explain the ad_account_id default-avoidance behavior in prose, leaving that to the schema.

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?

States a specific verb and resource set: 'Permanently delete a paused Meta campaign, ad set or ad, or an unused creative, in your ad account.' The resource scope distinguishes it from the audience-deletion sibling, but it never explicitly names a contrasting sibling tool, so the differentiation is implicit rather than stated.

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

Usage Guidelines4/5

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

Gives a clear prerequisite and an alternative action: 'Pause it first with meta_set_status,' which tells the agent to prefer pausing over deleting for active objects. It also specifies the confirmation requirement via confirm_name. It stops short of an explicit when-not-to-use statement or a named alternative deletion path.

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