Skip to main content
Glama

Meta delete adset

meta_delete_adset
DestructiveIdempotent

Delete a Meta ad set. 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>",
      "adset_id": "<adset_id>"
    },
    "name": "meta_delete_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
adset_idYes
client_idNo
user_emailNo
ad_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=true, so the safety profile is partly covered. The description adds real value beyond them: the change is irreversible, it is gated behind confirm=true with a no-op preview fallback, and it reaches outside Kampalo. It does not say what happens if the ad set is already gone or what permissions are needed.

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?

Four short sentences, front-loaded with the destructive action and its reversibility before the mechanics. Nearly every clause carries weight; the client_id/extra sentence is the only part that reads as trailing detail.

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?

An output schema exists and annotations cover the safety hints, so the description need only supply the mutation semantics, which it does (irreversible, confirm gate, external effect). The missing pieces are the meaning of the required identifiers and failure behavior, which matter for a 7-parameter destructive tool.

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% across 7 parameters, so the description has to compensate and only partly does: it explains confirm's gating semantics, client_id's brand-selection with a default of the active brand, and extra's pass-through purpose. The two required parameters (ad_account_id, adset_id) and user_id/user_email remain entirely undocumented, leaving a significant gap.

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 ("Delete a Meta ad set") that is clearly distinct from sibling tools such as meta_delete_ad, meta_delete_campaign, and meta_update_adset. It does not explicitly name alternatives, but the object-level scope makes the target unambiguous.

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 concrete selection rule for the destructive path: it runs only with confirm=true, and without it returns a preview and changes nothing. That effectively tells an agent when to use it in safe vs. committing mode, though it offers no guidance on related flows (e.g., pausing or updating an ad set instead of deleting).

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.