Skip to main content
Glama

Delete custom audience

meta_delete_audience
Destructive

Permanently delete a custom audience. It can't be undone: say so when you ask Yes or No. Changes the ad account: tell the user exactly what will change and call only after their Yes. If the result lists rule reasons, nothing changed: show them, ask again, and only after a new Yes retry with acknowledge_rules: true.

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": {
      "audience_id": "<audience_id>"
    },
    "name": "meta_delete_audience"
  }
}

Input Schema

NameRequiredDescriptionDefault
audience_idYesA string, never a number
acknowledge_rulesNoOnly on a retry after the user's Yes to rule reasons; never on a first call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, but the description adds what annotations cannot: the deletion is irreversible, the user must be warned, and the failure mode returns rule reasons with no change applied. That partial-failure behavior is decision-critical and appears nowhere in the structured fields.

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?

Three short sentences, front-loaded with the irreversible-action warning before the procedural instructions, and no filler. Minor deduction for the slightly compressed phrasing "say so when you ask Yes or No," which takes a second read to parse.

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 an irreversible mutation with no output schema, the description covers confirmation flow, the account-impact disclosure requirement, and the rule-rejection retry protocol. An agent has everything needed to call it safely and correctly on the first attempt.

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 both parameters are already documented, and the description largely restates acknowledge_rules' condition. It still adds workflow meaning by tying that flag to the rule-reasons retry loop rather than leaving it as an isolated boolean, which is more than the schema alone conveys.

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?

"Permanently delete a custom audience" gives a specific verb (delete), a specific resource (custom audience), and a scope qualifier (permanent) that distinguishes it from reversible sibling operations such as meta_update or meta_audience. An agent can identify the operation 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?

Explicit gating rules: confirm with a Yes/No prompt first, state exactly what will change in the ad account, and call only after the user's Yes. It also defines the retry path when rule reasons come back — show them, ask again, retry only with a new Yes and acknowledge_rules: true. Both the when and the when-not are stated.

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.