Skip to main content
Glama

ads_ad_set_pause

Idempotent

Pause an ad set so it stops delivering and spending. Only this object is switched; parents and siblings are left alone. 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_pause"
  }
}

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

A3.9/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds real substance beyond them: the no-op path sends nothing and returns updated: false with a skipped_reason, and the response echoes the ad set. That is precisely the state-change behavior an agent needs before retrying. It stops short of permissions or effects on in-flight delivery.

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 tight sentences with the effect front-loaded and no filler. The final sentence is compressed to the point of awkwardness ('Returns the ad set plus updated'), packing return shape and no-op semantics into one clause that takes a second read.

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 purpose, scope of the change, idempotent short-circuit behavior, and the key return fields. Only the exact meaning of the updated flag and skipped_reason values is left implicit, which is a mild gap.

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 already documents that ad_set_id is the Postproxy id rather than platform_id, and that profile_group_id is 'usually not needed.' The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

States a specific verb (pause) and resource (ad set) plus the concrete effect: 'stops delivering and spending.' The sentence 'Only this object is switched; parents and siblings are left alone' explicitly scopes the blast radius, which separates it from ads_campaign_pause and ads_ad_pause without needing to name them.

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: an agent knows this pauses an ad set, and the no-op clause tells it what happens on repeat calls. However, there is no guidance on when to prefer this over ads_ad_set_update with a status change, or over ads_ad_set_archive/delete, and no prerequisites or permissions are mentioned.

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.