Skip to main content
Glama

Generate ad banners

generate_banners

Generates 1-6 ad banners (PNG: square 1:1, portrait 4:5, story 9:16, landscape 1.91:1) with the service's banner generator and returns public https links to them (url, format, size). Give exactly one source: website (an https address), page_id (an AdAce page) or brief {business, description, lang, color}. Optional: count (default 3), headline, sub, cta, lang, style (minimal|bright|premium), color (#RRGGBB), avoid (words and promises to keep out). Uses the workspace's daily banner limit; texts follow the ad rules (no numbers or promises that are not on the source). The links work directly as image_url / vertical_image_url (9:16) in create_ad and create_language_campaign, and on other platforms. Unused banners are deleted after 30 days; using one in an ad extends its life. Creates nothing in ad accounts.

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": {
      "client_id": "<client_id>"
    },
    "name": "generate_banners"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNo
subNo
langNo
avoidNo
briefNo
colorNo
countNo
styleNo
page_idNo
websiteNo
headlineNo
client_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, openWorld=true, idempotent=false. The description adds meaningful behavioral context beyond that: daily banner limit consumption, text rules (no numbers/promises not on the source), 30-day deletion of unused banners with extension when used in an ad, and creation of nothing in ad accounts. This is rich, but no rate-limit specifics or auth requirements are given.

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?

A single dense paragraph that is front-loaded with purpose and output formats, then constraints, then lifecycle behavior. Every sentence adds useful information, though the run-on structure could be split for readability without losing content.

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 12-parameter, nested-object tool with no output schema, the description covers output shape, behavioral limits, lifecycle, and downstream use. The only notable omission is client_id semantics, which is required by the schema but never explained.

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 description coverage is 0%, so the description carries the burden. It explains nearly all 12 parameters: source alternatives, count default 3 and max 6, headline/sub/cta purposes, style enum values, color format, avoid semantics, and nested brief fields. It omits only client_id semantics, leaving a small gap against full compensation.

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 (generates), resource (ad banners), output formats and dimensions (PNG 1:1, 4:5, 9:16, 1.91:1), and what is returned (public https links with url, format, size). An agent can distinguish this from sibling landing-page tools without opening the 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?

Explicitly defines the source selection constraint: exactly one of website, page_id, or brief, with each alternative's expected content sketched. It also names downstream integration (create_ad, create_language_campaign). Lacks an explicit when-not-to-use or comparison against sibling tools, so not a 5.

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