Skip to main content
Glama

Meta activate campaign

meta_activate_campaign
DestructiveIdempotent

Turn a Meta campaign on (starts spending). Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. The change reaches outside Kampalo. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "ad_account_id": "<ad_account_id>",
      "campaign_id": "<campaign_id>"
    },
    "name": "meta_activate_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
client_idNo
user_emailNo
campaign_idYes
ad_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the confirm gate, the no-op preview mode, the real-world consequence ('starts spending'), and the fact that the change propagates outside Kampalo. The destructiveHint and openWorldHint annotations are confirmed and given concrete meaning rather than merely restated.

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?

Four short sentences, each load-bearing: purpose first, then mutation semantics, then external effect, then parameter notes. No filler and the highest-risk information (confirm gate, spending) is front-loaded.

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?

An output schema exists, so preview/return shapes need not be described, and the mutation contract is fully covered. What is missing for a seven-parameter destructive tool is any guidance on the required identifiers and the user/client identity fields, which an agent must still infer from the schema alone.

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 0%, so the description carries the burden, and it explains three of seven parameters: confirm (gate semantics), client_id (brand scoping with default), and extra (escape hatch for arbitrary fields). The two required parameters, ad_account_id and campaign_id, plus user_id and user_email receive no mention at all, leaving the most important inputs underexplained.

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 — 'Turn a Meta campaign on' — and even names the concrete effect ('starts spending'). This is unambiguously distinct from the pause, get, update, and delete siblings without needing to open any 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 clear operational context: it is the activation path, and it only executes with confirm=true, otherwise it returns a preview. It does not explicitly route to alternatives (e.g. meta_pause_campaign to reverse it, or meta_update_campaign to change settings first), 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.