Skip to main content
Glama
Meta Ads Launch Guard

Meta Ads Launch Guard

by dwadlane

Adjust a campaign budget

adjust_budget

Adjust a campaign's daily budget while enforcing per-edit limits and spend caps, blocking oversized changes or raises that exceed account constraints.

Instructions

Changes a campaign's daily budget. Refuses a move bigger than the per-edit limit in guard.json, and refuses a raise that would break a cap.

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_id": "<account_id>",
      "campaign_id": "<campaign_id>",
      "daily_budget_cents": "<daily_budget_cents>"
    },
    "name": "adjust_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYes
campaign_idYes
daily_budget_centsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two concrete guard rails: a per-edit limit enforced from guard.json and a cap that blocks raises. That is genuine behavioral context an agent cannot get from readOnlyHint/destructiveHint. It stops short of saying what a refusal looks like (error vs. partial success) or whether lowering a budget is also capped, which keeps it off a 5.

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?

Two sentences, zero waste, with the core action front-loaded before the constraint detail. The guard.json reference is terse but functional rather than filler.

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?

For a three-parameter mutation with no output schema and no schema descriptions, the definition covers the safety rails but leaves parameter meaning and result behavior unspecified. It is adequate to attempt a call, but an agent could easily send the wrong value type (absolute vs. delta) and only learn from the refusal.

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

Parameters2/5

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

Schema description coverage is 0% across all three parameters, so the description carries the full burden and largely drops it. It never explains whether daily_budget_cents is the absolute new budget or a delta — and phrases like "a move bigger than the per-edit limit" actively muddy that question. account_id and campaign_id are not mentioned at all.

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?

The description names a specific verb and resource: "Changes a campaign's daily budget." That is unambiguous and immediately actionable. It does not, however, differentiate itself from siblings like pause_campaigns or pacing_report, so an agent must infer the boundary from the resource noun alone.

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?

Usage is implied rather than stated: an agent can deduce this is the tool for budget edits, but there is no explicit when-to-use framing and no named alternative for related operations. The refusal conditions are useful constraints but describe failure modes, not selection guidance.

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