Skip to main content
Glama

ads_ad_set_archive

DestructiveIdempotent

Archive an ad set: it stops delivering and is hidden from the network's default views. Meta only; Google Ads answers 501. Returns the ad set plus updated; when it was already in that state nothing is sent and the answer carries updated: false with a skipped_reason.

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_archive"
  }
}

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.2/5.0
Behavior5/5

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

Beyond the annotations, the description explains what archiving does (stops delivering, hidden from default views), the platform restriction (Google Ads returns 501), and the idempotent no-op behavior with the exact return signal ("updated: false" plus "skipped_reason"). This is unusually transparent for a destructive mutation.

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?

The description is compact and front-loaded: it starts with the operation and effect, then platform behavior, then return semantics. Every sentence contributes useful information without filler.

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?

Given the destructive mutation and lack of an output schema, the description covers the operation effect, platform limitation, idempotency, and return behavior well. It does not explicitly address reversibility or permission requirements, leaving a small completeness gap for a destructive action.

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 100%, and the schema already explains ad_set_id as the Postproxy id rather than the platform_id, plus profile_group_id scoping. The description adds no additional parameter-level meaning, so the baseline score of 3 is appropriate.

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 description states a specific verb and resource ("Archive an ad set") and immediately explains the distinctive effect: it stops delivery and is hidden from default views. It also scopes platform support with "Meta only; Google Ads answers 501," which further distinguishes it from generic archive siblings.

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 by the archive effect and platform limitation, but the description does not explicitly say when to choose this over related siblings such as pause, delete, or update. It gives enough context to know what the tool does, but routing guidance is left to inference.

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.