Skip to main content
Glama

Meta update campaign

meta_update_campaign
DestructiveIdempotent

Change a Meta campaign (name, status, budgets). 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_update_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
extraNo
statusNo
confirmNo
user_idNo
client_idNo
user_emailNo
campaign_idYes
bid_strategyNo
daily_budgetNo
ad_account_idYes
lifetime_budgetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=true; the description adds the dry-run/preview contract and the confirm gate, which is real behavior not visible in annotations. It also notes effects reach outside Kampalo, reinforcing external impact, though it never states whether changes are reversible.

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 tight sentences, front-loaded with the action and the most consequential constraint (confirm gate) before parameter notes. The semicolon chaining is slightly dense but nothing is wasted.

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 shape need not be explained, and the preview behavior is covered. However, for a destructive 12-parameter mutation with zero schema coverage, the description leaves too many fields unexplained to be called complete.

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% across 12 parameters, so the description must carry the load. It explains confirm, client_id's default-to-active behavior, and that extra forwards arbitrary app-accepted fields, but ad_account_id, campaign_id, user_id, user_email, and bid_strategy remain entirely undocumented, and daily_budget/lifetime_budget are only hinted at by 'budgets'.

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 concrete verb plus resource ('Change a Meta campaign') and enumerates the mutable fields (name, status, budgets), which separates it from meta_update_ad and meta_update_adset at the resource level. It stops short of distinguishing itself from narrower siblings like meta_pause_campaign or meta_activate_campaign that also touch status.

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?

Gives one clear operational rule (must pass confirm=true, otherwise a preview is returned with no changes) and a defaulting rule for client_id. It does not say when to prefer this general update over the targeted pause/activate/delete siblings, so alternative selection is left to inference.

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.