Skip to main content
Glama
Meta Ads Launch Guard

Meta Ads Launch Guard

by dwadlane

Publish a launched plan (goes live)

publish

Previews by default; activates a launched ad plan only with human approval and blocks activation if per-account or global spend caps would be exceeded.

Instructions

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.

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": {
      "plan_id": "<plan_id>"
    },
    "name": "publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoLeave false to preview. Set true only after a person has approved the plan.
plan_idYes
approverNoFull name of the person who approved. Not a bot name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive, open-world; the description adds substantial context on top: a safe dry-run default, a human-approver gate, and a budget-cap refusal. It does not say whether activation is reversible or what a refusal looks like to the caller, which keeps it below the top score.

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?

Three short sentences, front-loaded with the state change, then the preview/confirm branch, then the refusal rule. No filler and no repetition of schema text.

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 three-parameter mutation tool with no output schema, the description covers the mode split, the approval gate, and the failure condition. Remaining gaps are the return shape in preview mode and whether going live can be undone.

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 coverage is 67% and both confirm and approver are already documented in the schema. The description adds one genuinely new fact — that approver is required when confirm=true — but plan_id is left undefined in both schema and description, so the coverage gap is not fully compensated.

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 specific verb and resource: 'Flips a launched plan to ACTIVE', which tells an agent exactly what state change occurs. The adjective 'launched' also signals a prerequisite, implicitly separating it from the sibling launch_plan, though no sibling is named.

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?

Gives clear when-to-use guidance for the two modes: preview by default, confirm=true only after human approval. It also states a hard precondition (plan must already be launched) and a refusal condition (cap overage). It stops short of explicitly pointing to launch_plan for unlaunched plans or naming alternatives.

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