Skip to main content
Glama

PPC Ad Editor

Preview an ad

preview_ad
Read-only

Show a realistic mockup of one ad (Google Search, Display, Performance Max, Demand Gen, YouTube, Facebook/Instagram, LinkedIn, Microsoft Advertising/Bing, OpenAI chat ads, X, Reddit) right in the chat. No account needed. The ad copy comes from the caller. Images are hosted HTTPS URLs in images[] / logos[], for example from the advertiser's website; this tool never generates images, and Google Search ads need none. Studio, YouTube and www.ppcadeditor.com images load directly. Any other HTTPS image is shown through a signed URL on studio.ppcadeditor.com. One format per call. The result includes save_url, a link where the user can save the ad to a free PPC Ad Editor account, edit it, and get a share link for a client.

Format specs (items allowed per field, max characters per item):

  • RSA (Google Search): headlines 3-15 (max 30 chars), descriptions 2-4 (max 90 chars)

  • RDA (Google Display): headlines 1-5 (max 30 chars), long_headlines 0-1 (max 90 chars), descriptions 1-5 (max 90 chars)

  • PMAX (Performance Max): headlines 1-15 (max 30 chars), long_headlines 0-5 (max 90 chars), descriptions 1-5 (max 90 chars)

  • DEMAND_GEN (Google Demand Gen): headlines 1-5 (max 40 chars), long_headlines 0-5 (max 90 chars), descriptions 1-5 (max 90 chars)

  • META_SINGLE (Facebook/Instagram single): headlines 1-5 (max 40 chars), descriptions 0-5 (max 25 chars), primary_texts 0-5 (max 125 chars)

  • META_CAROUSEL (Facebook/Instagram carousel): headlines 1-10 (max 40 chars), descriptions 0-10 (max 25 chars), primary_texts 0-5 (max 125 chars)

  • META_STORY (Facebook/Instagram story): primary_texts 0-5 (max 125 chars)

  • LINKEDIN_SINGLE (LinkedIn single): headlines 1 (max 200 chars), descriptions 1 (max 300 chars), primary_texts 0-1 (max 600 chars)

  • LINKEDIN_CAROUSEL (LinkedIn carousel): headlines 1-10 (max 45 chars), descriptions 1-10 (max 70 chars), primary_texts 0-1 (max 600 chars)

  • YOUTUBE (YouTube): headlines 1-5 (max 30 chars), long_headlines 0-1 (max 90 chars), descriptions 1-5 (max 90 chars)

  • CHATGPT_AD (OpenAI chat-card ad): headlines 1 (max 24 chars), descriptions 1 (max 48 chars)

  • X_AD (X promoted post): primary_texts 1 (max 280 chars)

  • REDDIT_AD (Reddit promoted post): primary_texts 1 (max 300 chars)

  • MICROSOFT_RSA (Microsoft Advertising / Bing search): headlines 3-15 (max 30 chars), descriptions 2-4 (max 90 chars)

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": {
      "format": "<format>",
      "final_url": "<final_url>"
    },
    "name": "preview_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional name for the ad, used if the user saves it
logosNoCore ad-body logos (brand/profile image shown next to the ad on Meta, LinkedIn, RDA, PMAX).
formatYesAd format of the mockup. Field limits per format are listed in the format specs.
imagesNoCore ad-body images (Meta hero, Carousel cards, PMAX assets, etc.). Feature-gated per format. Google image EXTENSIONS (shown below an RSA text ad) go in extensions.images.
videosNoCore ad-body videos (YouTube URLs). Primary for YOUTUBE format, optional for Meta/PMAX/RDA.
final_urlYes
headlinesNoShort headlines. The character limit depends on the format and is listed in this tool's format specs. Google Search headlines are 30 characters. There is no single limit for every format.
extensionsNoAd extensions (aka ad assets). Search formats only (RSA, PMAX, MICROSOFT_RSA) — ignored on Meta/LinkedIn/YouTube/CHATGPT_AD/X/Reddit.
descriptionsNoNot the Facebook or Instagram body. On META_SINGLE and META_CAROUSEL this is the optional link line under the headline, 25 characters, and it may be omitted. Body copy belongs in primary_texts (125 characters). Google Search descriptions are required and 90 characters. On CHATGPT_AD headlines[0] is the title and descriptions[0] the copy. Other formats are in the format specs.
business_nameNoBusiness name shown on the ad. 25 characters.
primary_textsNoBody copy for Facebook, Instagram and LinkedIn. META_SINGLE, META_CAROUSEL and META_STORY: 125 characters. X_AD: the post (primary_texts[0], required). REDDIT_AD: the post headline (primary_texts[0], required). Google Search and CHATGPT_AD do not use this field.
call_to_actionNoButton label, for example Learn more. 30 characters.
display_path_1NoOptional Google display path. 15 characters.
display_path_2NoOptional second Google display path. 15 characters.
long_headlinesNoLong headlines for Performance Max, Display and Demand Gen. Character limits are in the format specs. Google Search and Meta do not use this field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / descriptions / description
      Previous value: -"Not the Facebook or Instagram body. On META_SINGLE and META_CAROUSEL this is the optional link line under the headline, 25 characters, and it may be omitted. Body copy belongs in primary_texts (125 characters). Google Search descriptions are required and 90 characters. Other formats are in the format specs."New value: +"Not the Facebook or Instagram body. On META_SINGLE and META_CAROUSEL this is the optional link line under the headline, 25 characters, and it may be omitted. Body copy belongs in primary_texts (125 characters). Google Search descriptions are required and 90 characters. On CHATGPT_AD headlines[0] is the title and descriptions[0] the copy. Other formats are in the format specs."
    • changedInput schema / properties / extensions / description
      Previous value: -"Ad extensions (aka ad assets). Google formats only — ignored on Meta/LinkedIn/YouTube."New value: +"Ad extensions (aka ad assets). Search formats only (RSA, PMAX, MICROSOFT_RSA) — ignored on Meta/LinkedIn/YouTube/CHATGPT_AD/X/Reddit."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "RSA",
      -  "RDA",
      -  "PMAX",
      -  "DEMAND_GEN",
      -  "META_SINGLE",
      -  "META_CAROUSEL",
      -  "META_STORY",
      -  "LINKEDIN_SINGLE",
      -  "LINKEDIN_CAROUSEL",
      -  "YOUTUBE"
      -]New value: +[
      +  "RSA",
      +  "RDA",
      +  "PMAX",
      +  "DEMAND_GEN",
      +  "META_SINGLE",
      +  "META_CAROUSEL",
      +  "META_STORY",
      +  "LINKEDIN_SINGLE",
      +  "LINKEDIN_CAROUSEL",
      +  "YOUTUBE",
      +  "CHATGPT_AD",
      +  "X_AD",
      +  "REDDIT_AD",
      +  "MICROSOFT_RSA"
      +]
    • changedInput schema / properties / primary_texts / description
      Previous value: -"Body copy for Facebook, Instagram and LinkedIn. META_SINGLE, META_CAROUSEL and META_STORY: 125 characters. Google Search does not use this field."New value: +"Body copy for Facebook, Instagram and LinkedIn. META_SINGLE, META_CAROUSEL and META_STORY: 125 characters. X_AD: the post (primary_texts[0], required). REDDIT_AD: the post headline (primary_texts[0], required). Google Search and CHATGPT_AD do not use this field."
  2. Changed11 schema fields changed
    • addedInput schema / properties / business_name / description
      Added value: +"Business name shown on the ad. 25 characters."
    • addedInput schema / properties / call_to_action / description
      Added value: +"Button label, for example Learn more. 30 characters."
    • addedInput schema / properties / call_to_action / maxLength
      Added value: +30
    • addedInput schema / properties / descriptions / description
      Added value: +"Not the Facebook or Instagram body. On META_SINGLE and META_CAROUSEL this is the optional link line under the headline, 25 characters, and it may be omitted. Body copy belongs in primary_texts (125 characters). Google Search descriptions are required and 90 characters. Other formats are in the format specs."
    • addedInput schema / properties / display_path_1 / description
      Added value: +"Optional Google display path. 15 characters."
    • addedInput schema / properties / display_path_1 / maxLength
      Added value: +15
    • addedInput schema / properties / display_path_2 / description
      Added value: +"Optional second Google display path. 15 characters."
    • addedInput schema / properties / display_path_2 / maxLength
      Added value: +15
    • addedInput schema / properties / headlines / description
      Added value: +"Short headlines. The character limit depends on the format and is listed in this tool's format specs. Google Search headlines are 30 characters. There is no single limit for every format."
    • addedInput schema / properties / long_headlines / description
      Added value: +"Long headlines for Performance Max, Display and Demand Gen. Character limits are in the format specs. Google Search and Meta do not use this field."
    • addedInput schema / properties / primary_texts / description
      Added value: +"Body copy for Facebook, Instagram and LinkedIn. META_SINGLE, META_CAROUSEL and META_STORY: 125 characters. Google Search does not use this field."
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld=false/non-destructive, yet the description adds substantial context beyond them: external images are proxied through a signed URL on studio.ppcadeditor.com while Studio/YouTube/ppcadeditor.com images load directly, one format per call, and the result includes save_url for editing and sharing. These are behavioral facts an agent could not infer from annotations.

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?

The prose is front-loaded and dense with no filler, but the bulk is a long format-spec table that overlaps with what the get_ad_formats sibling likely provides. It earns its place given no output schema and one enum parameter, yet the block is heavy enough that it slightly dilutes scanability.

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 15-parameter, deeply nested tool with no output schema, the description covers the input constraints (format specs, image sourcing, one format per call) and the return value (save_url), which is exactly what the schema cannot express. An agent has enough to construct a valid call for any of the 14 formats.

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

Parameters5/5

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

Schema coverage is 93%, so the baseline would be 3, but the description adds per-format field constraints (allowed item counts and character limits for all 14 formats) that the schema only points at indirectly via "listed in the format specs." It also clarifies field routing the schema does not, e.g. Google image extensions belong in extensions.images, not images[].

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?

Starts with a specific verb and resource: "Show a realistic mockup of one ad" and enumerates the supported channels (Google Search, Display, PMAX, Demand Gen, YouTube, Meta, LinkedIn, Microsoft, ChatGPT, X, Reddit). That scope plus "One format per call" makes the boundary against the sibling get_ad_formats unambiguous.

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 real usage conditions: no account needed, ad copy comes from the caller, images must be hosted HTTPS URLs, this tool never generates images, and Google Search needs no images. It does not explicitly say when to prefer the sibling get_ad_formats instead, so it stops short of naming alternatives.

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