Skip to main content
Glama

Create campaign

meta_create_campaign

Create a campaign; it starts PAUSED. Budgets are whole minor currency units. Without a campaign budget, each ad set keeps its own budget (AdChat sends is_adset_budget_sharing_enabled false). Changes the ad account: tell the user exactly what will change and call only after their Yes. If the result lists rule reasons, nothing changed: show them, ask again, and only after a new Yes retry with acknowledge_rules: true.

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": {
      "name": "<name>",
      "objective": "<objective>",
      "account_id": "<account_id>"
    },
    "name": "meta_create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
statusNo
bid_capNo
objectiveYes
spend_capNo
account_idYese.g. act_1234567890
buying_typeNo
bid_strategyNo
daily_budgetNo
lifetime_budgetNo
acknowledge_rulesNoOnly on a retry after the user's Yes to rule reasons; never on a first call.
special_ad_categoriesNo
ab_test_control_setupsNo
use_adset_level_budgetsNo
campaign_budget_optimizationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the campaign is created paused, that budgets are whole minor currency units, and that absent a campaign budget the tool implicitly sends is_adset_budget_sharing_enabled false. It also explains the rule-rejection behavior precisely: a result listing rule reasons means nothing changed and a retry requires a fresh confirmation plus acknowledge_rules.

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?

Every sentence carries operative information: default state first, then units, then budget semantics, then the confirmation and retry protocol. No restatement of the name or filler, and the destructive-action warning is front-loaded before the conditional retry logic.

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?

For a 15-parameter mutation with no output schema, the description covers the highest-risk gaps: mutation confirmation, default status, and the rules-failure path. It leaves a meaningful set of advanced parameters (special_ad_categories, ab_test_control_setups, bid_strategy) unexplained, which an agent may need for correct invocation.

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 only 13% schema description coverage across 15 parameters, the description adds real meaning for daily_budget/lifetime_budget (minor currency units) and the budget-sharing family, and reinforces acknowledge_rules. However, many parameters (objective, buying_type, bid_strategy, bid_cap, spend_cap, special_ad_categories, status, ab_test_control_setups, name) receive no semantic clarification anywhere.

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 opens with a specific verb+resource ('Create a campaign') and immediately discloses the resulting default state ('it starts PAUSED'), which is a concrete fact an agent needs before calling. The resource boundary is clear enough to distinguish it from sibling creation tools like meta_create_adset and meta_create_ad.

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?

It gives a strong precondition protocol: tell the user exactly what will change and call only after their Yes, plus a defined retry path with acknowledge_rules: true after new confirmation. It does not explicitly route to alternatives (e.g. ad set-level budget tools) for the budget-sharing case, which keeps it from a 5.

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.