Skip to main content
Glama

Ad creative

create_ad_creative

Generate an ad image with a text overlay. baseImageUrl and overlayConfig.headshotUrl must be your own uploads, or the request gets 400 before any credits are reserved. Spends Galatic.AI credits. Returns a job id; poll get_job_status with kind "ad_creative".

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": {
      "prompt": "<prompt>",
      "context": "<context>"
    },
    "name": "create_ad_creative"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoImage model id from list_models. Defaults to "flux-pro".
promptYesWhat the ad image shows.
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
settingsNoModel-specific options, passed through to the image model.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
baseImageUrlNoYour own uploaded image, used as the base. With skipGeneration it is the image the overlay goes onto.
overlayConfigNoText overlay: copy fields, layout, agentName, phoneNumber, and headshotUrl (your own uploaded image).
skipGenerationNoTrue to skip making a new image and compose the overlay onto baseImageUrl.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""New value: +"A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details."
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
    • changedInput schema / properties / llm_model / description
      Previous value: -"The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess."New value: +"The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics."
    • changedInput schema / required
      Previous value: -[
      -  "prompt",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "prompt",
      +  "context"
      +]
  2. Changed6 schema fields changed
    • addedInput schema / properties / baseImageUrl / description
      Added value: +"Your own uploaded image, used as the base. With skipGeneration it is the image the overlay goes onto."
    • addedInput schema / properties / model / description
      Added value: +"Image model id from list_models. Defaults to \"flux-pro\"."
    • addedInput schema / properties / overlayConfig / description
      Added value: +"Text overlay: copy fields, layout, agentName, phoneNumber, and headshotUrl (your own uploaded image)."
    • addedInput schema / properties / prompt / description
      Added value: +"What the ad image shows."
    • addedInput schema / properties / settings / description
      Added value: +"Model-specific options, passed through to the image model."
    • addedInput schema / properties / skipGeneration / description
      Added value: +"True to skip making a new image and compose the overlay onto baseImageUrl."
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that credits are spent, that validation fails with 400 before credits are reserved, and that the result is asynchronous via a job id. It does not state credit amounts or rate limits, but adds substantial operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action, then gives critical constraints and the follow-up polling step. Every sentence carries useful information with no redundant restatement of schema fields.

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 credit-spending, asynchronous image-generation tool with nested configuration, the description covers the essential operational points: validation behavior, cost, return shape, and next step. Missing details such as exact credit cost are not necessary for correct invocation.

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?

The input schema already documents all nine parameters thoroughly. The description still adds meaningful semantics by calling out the ownership requirement for baseImageUrl and overlayConfig.headshotUrl and the consequence of violation.

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?

The description states a specific verb and resource: generate an ad image with a text overlay. It clearly distinguishes this from general image generation by naming the overlay behavior and ad-specific output.

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?

The description gives clear usage context: it spends credits, requires uploaded images for certain fields, and returns a job id that must be polled via get_job_status with kind "ad_creative". It does not explicitly compare against all alternatives, but the workflow guidance is strong.

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.