Skip to main content
Glama

Make a finished ad creative from a product photo

make_ad_creative

Turn a product photo into a finished 1080x1080 social ad image (photo + headline + call to action) with matching ad copy, using AdCreator AI. Provide the product (name + short description) and photo_url, a public https link to a JPEG, PNG or WebP photo (max 5 MB). Optionally a sale occasion (black-friday, cyber-monday or christmas) and the merchant's own offer (e.g. "25% off"), which is shown exactly as given; the offer is used only with an occasion. Returns a watermarked preview image URL plus headline, body and CTA. The photo is placed into a fixed ad layout; it is not generated or edited by an AI image model. Free, no signup; limited to 3 per client per day. If generation fails, the tool returns an error and no image.

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": {
      "product": "<product>",
      "photo_url": "<photo_url>"
    },
    "name": "make_ad_creative"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerNoOptional: the merchant's own offer, used verbatim (max 40 characters). Applied only together with an occasion.
productYesThe product: its name and a short description (3-240 characters).
occasionNoOptional sale occasion; adds a sale badge. Default none.
photo_urlYesPublic https:// URL of a JPEG, PNG or WebP product photo, max 5 MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / occasion / enum
      Previous value: -[
      -  "none",
      -  "black-friday",
      -  "cyber-monday"
      -]New value: +[
      +  "none",
      +  "black-friday",
      +  "cyber-monday",
      +  "christmas"
      +]
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (which only declare non-readonly, open-world, non-idempotent, non-destructive), it discloses that the photo is composited into a fixed layout rather than AI-generated, that the returned preview is watermarked, that usage is free with no signup but capped at 3 per client per day, and that failure returns an error with no image. Those are exactly the operational facts an agent cannot infer from structured fields.

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 output and the required inputs are front-loaded in the first two sentences, with constraints and the rate limit following. Nearly every sentence carries distinct information, though the size/format limits are stated twice relative to the schema and could be tightened.

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?

There is no output schema, and the description compensates fully by listing the return values (watermarked preview image URL plus headline, body and CTA) and the failure mode. Combined with the stated input constraints and quota, an agent has everything needed to call it correctly.

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 all four parameters are already documented in the schema, including the offer's verbatim/max-40-char rule and the occasion enum. The description restates the photo format and size limits and the offer-plus-occasion coupling but adds no format or syntax detail beyond what the schema supplies. Baseline 3 applies when the schema does the heavy lifting.

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?

The description names a specific transformation verb-plus-resource: a product photo becomes a finished 1080x1080 social ad image with headline, CTA and matching copy, produced via AdCreator AI. It is unambiguous what the tool returns. It does not explicitly route against the sibling generate_ad_headlines (only implicitly, by saying copy is bundled here), so it stops short of full sibling differentiation.

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?

It gives concrete preconditions for use: a public https JPEG/PNG/WebP photo under 5 MB plus a product name and short description, with occasion and offer as optional inputs. The conditional rule that an offer is only applied when an occasion is supplied is stated explicitly. It lacks explicit when-to-use-this-vs-alternatives guidance, so it is clear context without exclusions.

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