Skip to main content
Glama

ads_ad_set_delete

DestructiveIdempotent

Delete an ad set on the ad network. This cannot be undone. Stops all delivery under it. Returns { deleted, id, platform_id, status, removed_parents }. The row stays readable with status deleted.

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_set_id": "<ad_set_id>"
    },
    "name": "ads_ad_set_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_set_idYesAd set id: the Postproxy id (id field of an ad set), not the network's platform_id
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing effects the agent could not otherwise know: the stop of all delivery, the irreversibility, the exact return fields, and the soft-delete storage behavior where the row remains readable as deleted. All of this is consistent with destructiveHint=true and idempotentHint=true.

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?

Four short sentences, front-loaded with the action and its destructive consequence. With no output schema, the explicit return-shape listing earns its place, and nothing is redundant.

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 two-parameter mutation with no output schema, the description covers effect, reversibility, return shape, and post-delete state. The only real gap is the absence of routing guidance toward archive or pause, which matters given how many similar siblings exist in this namespace.

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 coverage is 100%, so both parameters are already fully documented in the schema, including the id-versus-platform_id distinction and the optional profile_group_id. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 an ad set on the ad network") plus the consequence, which is unambiguous. It does not, however, distinguish this from the sibling ads_ad_set_archive, and the note that "the row stays readable with status deleted" actually blurs that boundary rather than sharpening it.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: "Stops all delivery under it" and "cannot be undone" hint that pause/archive are lighter-weight options, but neither is named and no explicit when-not-to-use condition is given. An agent must infer the choice between delete, archive, and pause.

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.