Skip to main content
Glama

ads_post_boost

Destructive

Turn a published Facebook or Instagram post into a paid ad. Creates the campaign, ad set and ad in one call (or attaches to existing ones via attach_to) and returns the ad. SPENDS REAL MONEY from the ad account once approved unless status is paused: confirm the budget and targeting with the user first, and consider validate_only. Needs ad_account_id, a budget (unless attach_to.ad_set_id) and either post_id (a Postproxy post) or platform_post_id + platform. Instagram posts can be boosted only when the Instagram profile was connected via Facebook Login, and not with goal traffic. Not idempotent: pass idempotency_key before retrying. Meta only; Google Ads answers 501.

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": {
      "ad_account_id": "<ad_account_id>"
    },
    "name": "ads_post_boost"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoDefault engagement. traffic is not available for Instagram and is required for a link button.
budgetNoBudget in the ad account currency, whole units (10 = 10.00). Meta minimum is the ad account's minimum_daily_budget.
statusNoDefault active: the ad starts spending once approved. Use paused to create without delivering.
ad_nameNoDefaults to 'Postproxy Ad - <timestamp>'
page_idNoFacebook Page id. Needed with platform_post_id when the id does not contain it.
post_idNoPostproxy post hashid of a post published to Facebook or Instagram. Send this or platform_post_id.
platformNoRequired with platform_post_id. With post_id, picks the placement when the post went to both.
scheduleNoWhen the ad runs. Without end it runs until paused. On Meta end must be at least 30 hours after the start.
trackingNoMeta: { pixel_id }
url_tagsNoMeta: appended to the ad's links, e.g. ["utm_source=postproxy"]
attach_toNoReuse existing objects instead of creating new ones: { campaign_id } adds a new ad set and ad to a campaign; { campaign_id, ad_set_id } adds only the ad. Both are network ids. With ad_set_id, do not send budget, bid_amount or targeting (Meta) or keywords (Google); with any attach_to, no campaign-level budget.
dsa_payorNoMeta EU DSA payor; send together with dsa_beneficiary
targetingNoAudience. Meta defaults to US, ages 18-65. Google Search accepts only locations, excluded_locations and location_targeting_type, with locations as arrays of numeric ids.
bid_amountNoMeta: required with bid_cap / cost_cap, not allowed with lowest_cost
profile_idNoAds profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are.
ad_set_nameNoDefaults to ad_name
bid_strategyNoMeta. Defaults to bid_cap when bid_amount is sent, else lowest_cost.
ad_account_idYesAd account id: the network's own id, from ads_accounts_list (id field)
ad_set_statusNoDefaults to status on Meta, to active on Google
campaign_nameNoDefaults to ad_name
validate_onlyNoCheck the request without creating anything. Returns { valid: true, validated: [...] }. On Meta only the parameters and the campaign are dry-run; on Google the whole request is.
call_to_actionNoMeta button. Link button: { type, link, link_title } with type LEARN_MORE, APPLY_NOW, SIGN_UP, SHOP_NOW, BOOK_TRAVEL, GET_QUOTE, CONTACT_US, DOWNLOAD or SUBSCRIBE. Messaging: { type, destination } with destination messenger, whatsapp or instagram_dm and type MESSAGE_PAGE, WHATSAPP_MESSAGE or INSTAGRAM_MESSAGE (needs goal engagement).
campaign_statusNoDefaults to status
dsa_beneficiaryNoMeta EU DSA beneficiary; send together with dsa_payor. Suggestions: ads_dsa_recommendations.
idempotency_keyNoUnique key for this create, sent as the Idempotency-Key header. Reuse the same key when retrying so the object is not created twice.
post_profile_idNoProfile hashid that picks one placement of the post when several can be boosted
platform_post_idNoThe network's post id, for a post not published through Postproxy. Needs platform.
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.
optimization_goalNoMeta, per goal: engagement post_engagement; traffic link_clicks or landing_page_views; awareness reach or impressions; video_views thruplay. Defaults to the first.
instagram_account_idNoInstagram account id. Required with an Instagram platform_post_id.
special_ad_categoriesNoMeta special ad categories
ad_set_budget_sharing_enabledNoMeta ad set budget sharing. Not with a lifetime or campaign-level budget, or attach_to.
special_ad_category_countriesNoMeta: defaults to the countries of the targeted locations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructive=true, idempotent=false and openWorld=true, and the description goes well beyond them: it states that real money is spent from the ad account once approved, that status=paused suppresses delivery, that the call is non-idempotent and how idempotency_key mitigates duplicate creation, and that validate_only is only a partial dry-run on Meta. No contradiction with the annotation set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but nearly every clause carries load — the constraints, the idempotency warning, the platform limits. Minor deduction because the highest-stakes information (SPENDS REAL MONEY) sits mid-paragraph rather than being front-loaded alongside the purpose sentence.

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 33-parameter, deeply nested creation tool with no output schema, the description still covers the essential decision points and even sketches the validate_only return shape and the general "returns the ad" result. A reader could invoke it correctly, though the absence of an output schema leaves the full success payload only loosely described.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds conditional-requirement logic the schema does not express as a sentence: ad_account_id plus a budget (unless attach_to.ad_set_id) plus either post_id or platform_post_id+platform. It also points at the sibling lookup tools (ads_accounts_list, ads_targeting_search) that supply the ids those parameters expect.

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?

"Turn a published Facebook or Instagram post into a paid ad" is a specific verb+resource, and the follow-up sentence spells out the distinctive compound behavior (creates campaign, ad set and ad in one call, or attaches via attach_to). That makes it separable from the plain ads_ad_create / ads_ad_set_create siblings without needing to name them.

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?

Guidance is strong on preconditions and constraints: confirm budget and targeting with the user, create paused if not ready, consider validate_only, pass idempotency_key before retrying, Instagram only via Facebook Login and not with goal traffic, Meta only (Google returns 501). What's missing is explicit routing against sibling creation tools — when an agent should reach for ads_ad_create / ads_ad_set_create instead of this compound boost.

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.