Skip to main content
Glama
Meta Ads Launch Guard

Meta Ads Launch Guard

by dwadlane

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GUARD_FILENoPath to your own `guard.json`.
META_PAGE_IDNoFacebook Page used by ad creatives.
META_ALLOW_LIVENoMust be `1` to go live. A token alone is not enough.
META_API_VERSIONNoMeta Marketing API version. Defaults to `v27.0`.v27.0
META_ACCESS_TOKENNoA token with `ads_management` (and `ads_read` for insights). Set this along with the other META_* variables to run against the real Graph API instead of the local mock.
META_GRAPH_BASE_URLNoBase URL for the Graph API. Defaults to `https://graph.facebook.com`.https://graph.facebook.com

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_ad_accountsA

Every ad account this token can see, with its business, currency and daily spend cap. Use the ids in plan_bulk_launch.

account_healthA

One account: spend today against its cap, disapproved ads, pacing, and a plain list of anything that needs a look.

plan_bulk_launchA

Checks a launch spec against the guardrails and returns a dry-run plan: total daily spend and one row per account, with blocked rows explained. Creates nothing in Meta.

launch_planA

Creates the campaigns, ad sets, creatives and ads for a ready plan. Everything is created PAUSED. Safe to retry: a retry never creates anything twice.

publishA

Flips a launched plan to ACTIVE. Without confirm=true it only previews. With confirm=true it needs the name of the human approver, and it refuses if any account or the global total would go over its cap.

pause_campaignsA

Pauses every active campaign in one account, or in all accounts. Needs no confirmation, because pausing is the safe direction.

pacing_reportB

Spend so far today against what an even spread would have spent, per account, flagging over and under pacing.

adjust_budgetA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 8 tools

Disambiguation4/5

plan_bulk_launch vs launch_plan is clearly separated as dry-run vs real creation, and publish/pause_campaigns/adjust_budget each target distinct lifecycle actions. The only soft overlap is account_health vs pacing_report, which both report today's spend and pacing, though health is broader and the descriptions hint at the difference.

Naming Consistency3/5

Most tools follow verb_noun (list_ad_accounts, launch_plan, plan_bulk_launch, pause_campaigns, adjust_budget), but account_health and pacing_report are noun-first and publish is a bare verb. The set is still readable, but the pattern is not predictable from name alone.

Tool Count5/5

Eight tools is well within the healthy range and each maps to a distinct step in the guard-rail workflow: discover accounts, check health, plan, launch, publish, pause, measure pacing, adjust budget. Nothing feels padded or redundant.

Completeness3/5

The launch/publish guard flow is well covered, but the lifecycle is asymmetric: pause_campaigns has no corresponding resume/unpause, and there is no tool to list or re-fetch an existing plan/campaign, so publish depends on an implicit plan reference. Agents can work around these, but they are real dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues