Skip to main content
Glama

Creatives: edit texts, colours or format

creative_edit
Destructive

Edit a READY creative by words on the SAME picture — no new image, 0 credits: change the texts (headline / subheadline / cta / offer), the background or accent colour (hex: «жовтий» → #FFD400), where the text sits (top / center / bottom), or make another format of the variant (new_format: story / portrait / square …; the existing format stays). Use it for «зміни текст на …», «зроби сторіс», «фон жовтий», «текст угорі» — NOT creative_order or creative_refine (those make a new, different picture and cost credits). Runs at once; the banner re-renders in about a minute (poll creative_get; from Telegram the result comes to the chat by itself). If the new text does not fit the layout, the previous banner stays. «Яскравіше / темніше / світліше / контрастніше / насиченіше / блідіше» of the photo is ALSO this tool, free: photo_brightness / photo_contrast / photo_saturation in steps of 15 % (+1 = «яскравіше», +2 = «набагато яскравіше», -1 = «темніше»); steps add up, so «ще яскравіше» is +1 again; photo_reset puts the original photo back. NEVER creative_image_edit for these. «Інше фото», «прибери людину», «заміни фон на море» change the picture itself: creative_image_edit. CONFIRMATION: this tool runs immediately when the caller asks for it — it writes only their own record, and they can undo it from this same surface, so the request is taken as the instruction. You get an ordinary result, not a plan_token. Everything destructive, outbound or financial still proposes and waits.

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": {
      "order_id": "<order_id>",
      "variant": "<variant>"
    },
    "name": "creative_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNo
offerNo
accentNoAccent colour (button, marks), hex.
formatNoOnly this format of the variant (square, portrait, story, …). Default: every format of the variant.
variantYesVariant number (1-based) as in creative_get.
headlineNo
order_idYesorder_id from creative_order / creative_list.
backgroundNoBackground colour of layouts with a colour field (color_block, minimal_object…), hex.
new_formatNoAdd this format of the variant on the same picture.
photo_resetNoBack to the original photo (drops earlier brightness / contrast / saturation steps).
subheadlineNo
text_positionNo
photo_contrastNoSteps of 15 %: +1 more contrast, -1 softer.
photo_brightnessNoSteps of 15 % on the photo: +1 brighter / lighter, -1 darker; adds to earlier steps.
photo_saturationNoSteps of 15 %: +1 richer / juicier colours, -1 paler.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / photo_brightness
      Added value: +{
      +  "description": "Steps of 15 % on the photo: +1 brighter / lighter, -1 darker; adds to earlier steps.",
      +  "maximum": 3,
      +  "minimum": -3,
      +  "type": "integer"
      +}
    • addedInput schema / properties / photo_contrast
      Added value: +{
      +  "description": "Steps of 15 %: +1 more contrast, -1 softer.",
      +  "maximum": 3,
      +  "minimum": -3,
      +  "type": "integer"
      +}
    • addedInput schema / properties / photo_reset
      Added value: +{
      +  "description": "Back to the original photo (drops earlier brightness / contrast / saturation steps).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / photo_saturation
      Added value: +{
      +  "description": "Steps of 15 %: +1 richer / juicier colours, -1 paler.",
      +  "maximum": 3,
      +  "minimum": -3,
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: zero credit cost, immediate execution, re-render in about a minute with creative_get polling (or push to Telegram), and the failure mode that the previous banner stays if new text does not fit. It also discloses the confirmation policy (runs immediately, no plan_token, undoable from the same surface), which softens but does not strictly contradict destructiveHint=true since the edit overwrites existing text/colour on the record.

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 core action and cost constraint are front-loaded in the first sentence, and every block (triggers, exclusions, timing, photo steps, confirmation) is purposeful. It is dense and somewhat cluttered with mixed-language quoted phrases and parentheticals, but little is genuinely redundant.

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 mutation tool with no output schema, the description covers cost, latency, polling, partial-failure behavior, undo, sibling routing, and the confirmation model. An agent has everything needed to decide to call it and to interpret the result.

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?

At 67% schema coverage with 15 parameters, the description compensates well: it maps natural-language colour words to hex («жовтий» → #FFD400), explains that photo_brightness/contrast/saturation are 15% steps where +1 is «яскравіше», +2 «набагато яскравіше», -1 «темніше», that steps accumulate so «ще яскраїше» is +1 again, that photo_reset restores the original, and that new_format adds a format while the existing one stays. This is meaning the schema does not carry.

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 precise verb and resource — edit a READY creative in place, no new image, 0 credits — and enumerates the editable dimensions (texts, colours, text position, added format). It explicitly names the siblings it is not (creative_order, creative_refine, creative_image_edit), so an agent can route correctly 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete trigger phrases («зміни текст на …», «зроби сторіс», «фон жовтий», «текст угорі», «яскравіше/темніше») and explicit exclusions, mapping the picture-changing requests («інше фото», «прибери людину», «заміни фон на море») to creative_image_edit and warning 'NEVER creative_image_edit for these'. When-to-use and when-not-to-use are both spelled out with named 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