Skip to main content
Glama

ads_campaign_pause

Idempotent

Pause a campaign so it stops delivering and spending. Only this object is switched; parents and siblings are left alone. Returns the campaign 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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "ads_campaign_pause"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign id: the Postproxy id (id field of a campaign), 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
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the description's job is to add mechanism, which it does: no cascade to parents/siblings, and a no-op path returning updated: false with a skipped_reason. What is still missing is any mention of permissions, error conditions, or what the campaign payload contains.

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, effect first, scope second, return semantics last – well front-loaded with no filler. The phrase "Returns the campaign plus updated" is slightly garbled and costs a little clarity.

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?

With no output schema, the description correctly takes on the return contract (campaign plus updated flag, skipped_reason), which is the key thing an agent needs. For a simple two-parameter pause tool this is close to complete; only failure modes and permission requirements are omitted.

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 that campaign_id is the Postproxy id rather than the network platform_id, and that profile_group_id is usually unneeded. 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Pause a campaign so it stops delivering and spending" gives a specific verb, resource, and business effect. The follow-up sentence on blast radius ("Only this object is switched; parents and siblings are left alone") distinguishes it from the sibling pause tools at ad and ad-set level without naming them.

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

Usage Guidelines4/5

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

The scope statement makes clear which level of the hierarchy this applies to, which is the main confusion risk given ads_ad_pause and ads_ad_set_pause exist. It does not explicitly route to ads_campaign_resume for the inverse operation or state preconditions, so it stops short of full when/when-not guidance.

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.