Skip to main content
Glama

Save an ad to Meta Ads or Google Ads

sightglass_send_ad

Saves a completed ad to the project's Meta Ads or Google Ads account as a paused draft: on Meta a paused campaign, ad set and ad with the 4:5 image; on Google a paused Demand Gen campaign with a square version and the brand's logo. Nothing is turned on and nothing spends; the user reviews it and turns it on in the ad platform. Each call creates a new draft campaign. It uses the headline, text, daily budget (null means 10 a day) and countries (null means the US) it is given, which the user should see and approve first. It returns the link to the draft. When the account isn't connected, is connected more than once, can't run ads yet, or has several ad accounts or Facebook Pages to pick from, or the ad has no link or logo, the call is refused with what to ask or tell the user. Changing a draft afterward: the meta-marketing-api or google-ads skill. For multi-step competitor research, call skills with name "replo".

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": {
      "duplicateId": "<duplicateId>",
      "destination": "<destination>",
      "headline": "<headline>",
      "description": "<description>",
      "adAccountId": "<adAccountId>",
      "pageId": "<pageId>",
      "connectionId": "<connectionId>",
      "dailyBudget": "<dailyBudget>",
      "countries": "<countries>",
      "linkUrl": "<linkUrl>",
      "projectId": "<projectId>"
    },
    "name": "sightglass_send_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdYesMeta only: the Facebook Page's id when a result asked which one; null otherwise.
linkUrlYesThe page people land on when they click the ad, as a full address with https://; null means the store website saved on the project's brand.
headlineYesA short headline you write from the ad, 30 characters at most (Google's limit).
countriesYesWhere to show the ad; null means the US.
projectIdYesReplo project id, from list_projects. Its workspace decides which Sightglass fields and history come back. Only tools that say they save something (an asset or a Canvas file) write to this project.
adAccountIdYesThe ad account's id when a result asked which one; null otherwise.
dailyBudgetYesDaily budget in the ad account's currency; null means 10. The draft stays paused, so this is a starting point the user changes before turning it on.
descriptionYesOne line of ad text you write from the ad, 90 characters at most; Meta shows it as the post text.
destinationYesmeta_ads saves the 4:5 ad as a paused Meta campaign, ad set and ad. google_ads saves a square version and the brand's logo as a paused Google Demand Gen campaign (YouTube, Discover, Gmail).
duplicateIdYesThe completed `duplicate.id` from sightglass_duplicate_ad.
workspaceIdNoReplo workspace id, from list_workspaces. Decides which workspace's Sightglass fields and history come back; required when the user has more than one workspace.
connectionIdYesThe connection's id when a result said the ad platform is connected more than once; null otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the draft is paused, nothing spends, the user turns it on manually, and each call creates a brand-new draft campaign (explaining the non-idempotent hint). It also discloses the return value ('returns the link to the draft') and the failure contract, which the openWorldHint/readOnlyHint fields alone would not convey.

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?

Front-loaded with the outcome, then the per-platform mechanics, then error behavior, then alternatives — a sensible order. It runs long as a dense block and repeats the budget/country defaults already present in the schema, which is the only real waste.

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 12-parameter mutation with no output schema, the description covers the important ground: what gets created, that it is non-spending and reversible-by-approval, what is returned, and the full set of refusal cases with instructions to relay to the user. Nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, so the schema already documents every parameter in detail. The description only restates the headline/text/budget/countries inputs and their null defaults (10/day, US), which duplicates schema text rather than adding new meaning. Baseline 3 is appropriate.

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?

States a specific verb and resource ('saves a completed ad to ... Meta Ads or Google Ads account') and pins down the exact resulting artifact for each destination (paused Meta campaign/ad set/ad with 4:5 image; paused Google Demand Gen campaign with square version and logo). This clearly separates it from sightglass_duplicate_ad, which only produces the duplicateId consumed here.

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?

Gives explicit usage context ('the user should see and approve first', budget/countries defaults), enumerates the refusal conditions (not connected, connected twice, can't run ads yet, multiple ad accounts/Pages, missing link or logo) and routes the agent elsewhere for follow-up work ('Changing a draft afterward: the meta-marketing-api or google-ads skill'). An agent knows when to call it and what to do when it fails.

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