Skip to main content
Glama

update_campaign

Update existing Meta Ads campaigns with validation and rollback protection. Modify name, daily or lifetime budget, status, time schedule, or special ad categories. Validates changes before applying to ensure data integrity.

Instructions

Update an existing campaign. Supervised write - validates before applying.

Takes a pre-write snapshot for rollback, validates the update payload, applies via Meta API, and verifies post-write state.

Args: campaign_id: Campaign ID to update. name: New campaign name. Subject to naming enforcement. daily_budget: New daily budget in currency units (e.g., 50.0 for EUR 50). Mutually exclusive with lifetime_budget. lifetime_budget: New lifetime budget in currency units. Mutually exclusive with daily_budget. status: New status. Allowed: 'PAUSED', 'ACTIVE', 'ARCHIVED'. Activating requires confirmation-level validation. start_time: New start time (ISO 8601 format). end_time: New end time / stop_time (ISO 8601 format). special_ad_categories: Comma-separated categories or empty string to clear.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYes
nameNo
daily_budgetNo
lifetime_budgetNo
statusNo
start_timeNo
end_timeNo
special_ad_categoriesNo
Behavior4/5

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

Without annotations, the description discloses behavioral traits: it takes pre-write snapshot for rollback, validates, applies, verifies post-write state. For status, it notes 'Activating requires confirmation-level validation'. This adds significant transparency.

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?

Description is concise: a brief paragraph explaining the process followed by a clear Args list. No wasted words, purpose is front-loaded, and each sentence adds value.

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?

Covers all parameter semantics and update behavior well, but missing what the function returns (e.g., updated campaign object or success status). With no output schema, this would be helpful. Otherwise comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain parameters. It adds mutual exclusivity for budgets, currency units, allowed statuses, ISO 8601 format for times, and special_ad_categories details. This fully compensates for schema gaps.

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?

The description clearly states 'Update an existing campaign' which is a specific verb+resource. It distinguishes from sibling tools like create_campaign and update_adset by focusing on campaign update.

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 implies usage for updating campaigns but does not explicitly state when not to use or provide alternatives. It mentions 'Supervised write' but lacks direct comparison to sibling tools like create_campaign.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brandu-mos/konquest-meta-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server