Skip to main content
Glama

Create creative

create_creative

Save a creative into the Creatives Library — the one-click 'Save to Torvex' of the browser extension (Facebook Ad Library, the FB / Instagram feed, TikTok Creative Center, Ads Manager) and the API twin of the library's upload form. Media arrive as public URLs (media_urls, fetched server-side — images and MP4 / MOV / WebM video, 100 MB each, up to 10) the ad copy as title / body / description / cta, and ad_macros for a facebook or tiktok creative (format picks which — tiktok creatives carry video / images and texts like facebook ones); source, source_url, advertiser and external_id (the site's own ad id, e.g. the Ad Library ID) record where it came from — a second save with the same external_id returns the existing creative (duplicate=true). Needs the creatives manage permission.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_creative"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNoFacebook call-to-action, as the site spells it or as a code
bodyNoFacebook: Primary text
nameNoDefaults to "<advertiser> — <source> <date>"
titleNoFacebook: Headline
formatNoDefault facebook
sourceNo
statusNo
languageNo
ad_macrosNofacebook / tiktok only: appended to the Meta / TikTok ad link as ad_macros=<value> on launch; offer URLs read it as {ad_macros}
countriesNoISO alpha-2 codes
folder_idNo
advertiserNoPage / brand name
media_urlsNoPublic image / video URLs to download
source_urlNoThe page the creative was clipped from
descriptionNo
external_idNoThe site's own id of the ad (Ad Library ID) — dedupe key

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "push",
      -  "inpage",
      -  "native",
      -  "facebook",
      -  "tiktok",
      -  "pwa"
      -]New value: +[
      +  "push",
      +  "inpage",
      +  "native",
      +  "banner",
      +  "video",
      +  "facebook",
      +  "tiktok",
      +  "pwa"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / ad_macros
      Added value: +{
      +  "description": "facebook / tiktok only: appended to the Meta / TikTok ad link as ad_macros=<value> on launch; offer URLs read it as {ad_macros}",
      +  "type": "string"
      +}
    • addedInput schema / properties / countries
      Added value: +{
      +  "description": "ISO alpha-2 codes",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that media is fetched server-side from public URLs, the accepted image and MP4/MOV/WebM video types, a 100 MB per-file cap with a max of 10, the duplicate=true return on external_id collision, and that the creatives manage permission is required. The stated external_id dedupe is a scoped behavior rather than a contradiction of idempotentHint=false, since saves without an external_id still create new records.

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?

Purpose is front-loaded in the first clause and nearly every em-dash segment carries new information rather than filler. It is, however, one very long run-on sentence, so the media limits, the dedupe rule and the permission requirement are harder to scan than they need to be.

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 16-parameter creation tool with no output schema, the description covers the operationally risky parts — media fetching, dedupe, permissions — and says what a duplicate call yields. It never says what a successful first save returns (an id? the full creative object?), and the remaining optional fields (status, language, countries, folder_id) are left entirely to the schema.

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?

At 69% schema coverage the description meaningfully supplements the schema: it explains media_urls as server-side fetches with size and count limits, maps title/body/description/cta to ad copy fields, clarifies that ad_macros applies only to facebook/tiktok and how it is appended to the launch link, and defines external_id as the site's own ad id acting as the dedupe key. It adds nothing for name, status, language, countries or folder_id, which are left to the schema.

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?

Opens with a specific verb and resource ("Save a creative into the Creatives Library") and immediately anchors it to two concrete realizations: the extension's one-click save and the API twin of the library upload form. An agent can tell this apart from update_creative or get_creative without opening any schema.

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 clear context for when this fires (clip from Ad Library, FB/IG feed, TikTok Creative Center, Ads Manager; or API upload) and states the important dedupe rule: a second save with the same external_id returns the existing creative rather than creating a new one. It stops short of naming the sibling to use for modifying an already-saved creative, so the when-not case is left implicit.

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