Skip to main content
Glama

ads_campaigns_update_statuses

DestructiveIdempotent

Pause or activate up to 50 campaigns in one call. Activating campaigns starts spending. Returns { status, data: [{ id, ok, updated, status }] }; a failed item carries error instead.

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_ids": "<campaign_ids>",
      "status": "<status>"
    },
    "name": "ads_campaigns_update_statuses"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes
campaign_idsYesPostproxy campaign ids (id field), up to 50
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.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description still adds real value: the money-spend consequence of activation, the 50-item batch ceiling, and per-item success/failure semantics with an error field. What it does not cover is what a partial failure means for the caller (e.g. whether succeeded items must be excluded on retry) or any permission requirements.

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?

Three short sentences, front-loaded with the action, followed by the risk and the return contract. Every sentence earns its place, and the inline return shape is compact rather than verbose.

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 supplies the response shape and the per-item error convention, which is the key thing an agent needs to interpret results of a batch mutation. It is close to complete; the remaining gap is retry guidance for mixed-success batches.

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 67%, with the array cap and profile_group_id scoping already documented in the schema itself; the enum values active/paused are also in the schema. The description adds no new meaning for status (e.g. whether pausing halts immediately or at period end) or for profile_group_id, so it does not compensate for the uncovered third of parameters.

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 description names a specific verb pair and resource ("Pause or activate ... campaigns") plus the batch cap, which clearly separates it from settings-mutation siblings such as ads_campaign_update or ads_campaign_ad_schedule_update. It stops short of naming an alternative, so an agent must infer the boundary rather than read 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 by the verb pair and reinforced with a consequence warning ("Activating campaigns starts spending"), which tells an agent to be careful with the active value. There is no explicit when-to-use versus ads_campaign_update, no stated preconditions (e.g. campaign must exist in the account), and no guidance on partial-batch retries.

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.