Skip to main content
Glama

ads_ad_delete

DestructiveIdempotent

Delete an ad on the ad network. This cannot be undone. Its ad set and campaign are deleted too when Postproxy created them and nothing else is left in them. 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_id": "<ad_id>"
    },
    "name": "ads_ad_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYesAd id: the Postproxy id (id field of an ad), 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.1/5.0
Behavior5/5

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

Beyond the annotations (which already flag destructive/idempotent/openWorld) the description discloses the cascade rule, the precondition that Postproxy created the parents and nothing else remains in them, the exact return fields, and the soft-delete semantics ("row stays readable with status deleted"). That is real behavior an agent cannot obtain from the structured data.

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 irreversibility, then cascade conditions, then the return shape. Nothing is repeated and no sentence is 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?

With no output schema, listing the return object fields is necessary and present, and the non-obvious cascade plus soft-delete behavior is covered. Nothing an agent needs to call this correctly is missing.

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% and the schema itself already explains that ad_id is the Postproxy id rather than platform_id. The description adds no further parameter meaning, 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?

The opening sentence gives a specific verb and resource ("Delete an ad on the ad network") and the cascade sentence clarifies the scope includes ad set and campaign parents. It stops short of explicitly contrasting with the near-sibling ads_ad_archive, which is the one distinction an agent most needs here.

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?

"This cannot be undone" gives a de facto caution signal and the conditional cascade text implies when deletion is broader, but the description never states when to choose delete over ads_ad_archive or ads_ad_set_delete. Usage is implied rather than directed.

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.