Skip to main content
Glama

Meta delete ad

meta_delete_ad
DestructiveIdempotent

Delete a Meta ad. 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>",
      "ad_id": "<ad_id>"
    },
    "name": "meta_delete_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYes
extraNo
confirmNo
user_idNo
client_idNo
user_emailNo
ad_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/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, yet the description adds real value beyond them: irreversibility ('Cannot be undone'), the confirm-gated dry-run preview, and that the effect propagates outside Kampalo. It omits permission/auth prerequisites and whether repeated calls behave the same way, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The destructive/irreversible warning and the confirm gate are front-loaded, and there is no filler. The final sentence compresses parameter notes into a single line, which is efficient if slightly terse.

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 with an output schema already defining return values, the description covers the essentials: irreversibility, the confirm/preview guard, external side effects, and brand selection. The remaining gap is the unaccounted user_id/user_email parameters and any authorization requirement.

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 must carry the load, and it explains only three of seven parameters: confirm (as a mode switch), client_id (brand selector with an active-default) and extra (a pass-through bag). ad_id, ad_account_id, user_id and user_email receive no meaning beyond their names.

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 opening 'Delete a Meta ad' pairs a specific verb with a specific resource, and the resource noun ('ad') is distinct from sibling deleters such as meta_delete_adset and meta_delete_campaign. An agent can identify the target object without inspecting 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 Guidelines4/5

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

It states the operative condition for use ('runs only with confirm=true; without it, returns a preview and changes nothing'), which is the key decision an agent needs before invoking. It does not name alternatives such as a campaign- or adset-level delete, so it stops short of full sibling 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.