Skip to main content
Glama

Ads campaign set status

ads.campaign.set_status
DestructiveIdempotent

Pause or enable a campaign using a validate-only preview and confirm token, preventing unintended status changes.

Instructions

Pause/enable a campaign (guarded: validate_only preview + confirm token).

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": {
      "customer_id": "<customer_id>",
      "campaign_id": "<campaign_id>",
      "status": "<status>"
    },
    "name": "ads.campaign.set_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes
confirmNo
campaign_idYes
customer_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds real value by disclosing the confirm-token guard, but it stops short of explaining how the token is obtained, its lifetime, or whether omitting confirm silently downgrades to a preview.

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?

One compact, front-loaded sentence with no filler; the action comes first and the guard condition second. It verges on under-specification rather than verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, but for a destructive open-world mutation with a required confirmation protocol the description is thin: the token acquisition flow and the effect on a live campaign are not described.

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?

With 0% schema description coverage across 4 parameters, the description must compensate. It maps "Pause/enable" to status and "confirm token" to confirm, but leaves customer_id and campaign_id, plus the accepted values of status, entirely undocumented.

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?

"Pause/enable a campaign" gives a concrete verb pair and resource, and the parenthetical flags the guarded workflow. It is clearly distinguishable from sibling mutators like ads.budget.update, though it does not explicitly name an alternative set_status tool.

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 phrase "guarded: validate_only preview + confirm token" implies a two-step call pattern (preview, then commit), which is useful procedural context. However, it never states when to prefer this over ads.batch.submit or other mutation paths, nor what happens if confirm is omitted.

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