Skip to main content
Glama

Set X ad status

set_x_ad_status
Destructive

Activate or pause an X campaign or line item. ACTIVATION STARTS REAL AD SPEND and always requires the human (live chat or an approved card) — agents cannot activate. Pausing stops spend. Use after the user has reviewed a paused X draft and explicitly says to launch, or asks to stop a running X ad. Distinct from set_meta_ad_status.

[outbound-tier — EVERY call needs a manager's approval (per-send human rail): each request queues its own approval card and sends exactly once on approve. There is no standing grant for this tool. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes'ACTIVE' (starts spend — human only) or 'PAUSED' (stops spend)
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
object_idYesCampaign or line item id
object_typeNo'campaign' (default) or 'line_item'
ad_account_idNoOptional ads account id when several exist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses that activation starts real ad spend, that agents cannot activate without a human, and that every call queues its own approval card and sends exactly once on approve. This operational and safety context is not present in the annotations.

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?

The main sentence is front-loaded and efficient, and the outbound-tier block is high-signal because it encodes mandatory human approval and single-send behavior. No sentence is wasted for a high-stakes, destructive tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, approval-gated mutation tool with no output schema, the description covers when to call it, side effects, alternatives, and the approval protocol. The only omitted details, such as optional ad_account_id behavior and response shape, are either covered by the schema or unnecessary for 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?

Schema coverage is 100%, so the schema already documents all five parameters. The description largely restates the status semantics already present in the schema ('ACTIVE' starts spend, 'PAUSED' stops spend) and adds no new parameter-level detail.

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 and resource: 'Activate or pause an X campaign or line item.' It also explicitly distinguishes itself from set_meta_ad_status, removing any ambiguity about scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit trigger conditions: use after the user has reviewed a paused X draft and explicitly asks to launch, or asks to stop a running X ad. It also names the sibling distinction from set_meta_ad_status and specifies the approval workflow for every call.

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.

Resources