Skip to main content
Glama

set_campaign_status

DestructiveIdempotent

Set campaign serving status. ENABLED starts ad spend; confirm the campaign's budget, locations and account with the operator first. Use one idempotency key per intended change.

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": {
      "account": "<account>",
      "campaign_id": "<campaign_id>",
      "status": "<status>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "set_campaign_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes
accountYes
campaign_idYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint, idempotentHint and openWorldHint, so the safety profile is supplied by structured data. The description still adds value by tying ENABLED to actual ad spend and requiring operator confirmation, but it says nothing about reversibility of PAUSED, failure modes, or credential/auth requirements despite AccountRef carrying a credential_version.

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 sentences, front-loaded with the action and scaled down to the risky enum and the idempotency rule; nothing is padding. The final sentence's phrasing ('per intended change') is slightly compressed but still parses.

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?

No output schema exists, so the description should indicate what a caller gets back or how to verify resulting state, and it does not. For a money-moving mutation with four fully required, undescribed parameters, the safety prerequisite is well covered but the response and verification story is absent.

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 0%, so the description must carry parameter meaning, and it partially does: status semantics via 'ENABLED starts ad spend' and idempotency_key via 'one per intended change'. It adds nothing about account or campaign_id beyond their names, so a real gap remains.

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 and resource ('Set campaign serving status') and names the two enum effects, with 'ENABLED starts ad spend' capturing the real-world consequence. That is enough for an agent to separate it from update_campaign_budget or update_campaign_bidding without opening the schema.

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?

Gives an explicit precondition for the risky branch ('confirm the campaign's budget, locations and account with the operator first') plus a rule for idempotency keys. It stops short of naming when to prefer PAUSED over ENABLED or pointing at a sibling for verification, so alternatives are inferred rather than stated.

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.

Resources