Skip to main content
Glama

set_campaign_status

Enable or pause a Google Ads campaign by setting its status to ENABLED or PAUSED; requires confirm=true to prevent accidental ad spend.

Instructions

Enable or pause a campaign. Requires confirm=true for safety.

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>",
      "status": "<status>"
    },
    "name": "set_campaign_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesNew status: ENABLED or PAUSED
confirmNoMust be true to execute. Enabling a campaign will cause it to serve ads and spend money.
campaign_idYesCampaign ID
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does flag that this is a mutating operation requiring explicit confirmation, which is the most important behavioral fact. However, it never mentions the money-spending consequence or irreversibility itself (that lives only in the schema), nor permissions, rate limits, or whether the change is reversible.

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?

Two short sentences, action first and requirement second. Nothing is padded and the mutation gate is front-loaded rather than buried.

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 four-parameter mutation with full schema coverage and an output schema, the essentials an agent needs to call it correctly are present: the state values, the mandatory confirm flag, and the account selector. The remaining gap is platform scope and sibling disambiguation, which the schema alone only hints at.

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%, so all four parameters are already documented in the schema, including the allowed status values and the confirm gate. The description adds no additional meaning about status semantics, customer_id fallback behavior, or the default-false confirm default. Baseline 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?

States a specific verb pair and resource: "Enable or pause a campaign." An agent immediately knows this is a campaign state toggle. It does not differentiate itself from sibling status setters such as meta_set_campaign_status, reddit_set_status, or set_ad_status, leaving the platform scope to be inferred from the customer_id parameter.

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?

The description supplies one concrete precondition (confirm=true) that gates execution, which is real usage guidance. It says nothing about when to prefer this over sibling status tools, nor when not to use it, nor any account/permission prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools