Skip to main content
Glama

Metadata MCP Connector

Regenerate Flexible Creative Background

regenerate_flexible_background
Destructive

Regenerate ONLY the background scene of a flexible creative, keeping the editable text/logo layers untouched. Returns the new background image URL so the editor swaps just the background layer.

USE FOR: "regenerate the background", "try a different scene", "new background, same text".

Accepts an optional image_source (the current background) to guide a same-style regeneration; omit it for a fresh scene.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesCompany domain for brand DNA (e.g. 'metadata.io'). No protocol.
platformNoTarget platform (sets the default aspect ratio). Default: 'linkedin'.linkedin
aspect_ratioNoPass the creative's own canvas.aspect_ratio so the new background keeps its shape. Omitting it on a non-default canvas reshapes the creative and the existing layers no longer fit.
image_sourceNoOptional URL of the current background to guide a same-style regeneration (image-to-image). Omit for a fresh scene.
instructionsYesDirection for the new background scene.
background_hexNoOptional 6-digit hex to pin the dominant background color (e.g. '#0A2540').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description adds meaningful behavioral context: it returns a URL, keeps text/logo layers untouched, and explains the background-swapping outcome. It does not contradict the destructiveHint annotation because it describes replacing the old background while preserving other layers.

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 compact, front-loaded with the core behavior, and every sentence contributes: scope, return value, usage triggers, and optional input semantics. No filler or repetition.

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 6-parameter tool with no output schema, the description covers the essential return value and the non-obvious preservation behavior. The schema carries parameter details well. A small gap is the lack of any mention of how this relates to sibling tools like generate_flexible_brand_creative or render_flexible_creative, but that is more a usage-guideline nuance than a completeness failure.

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 the baseline applies. The description's image_source guidance ('guide a same-style regeneration; omit it for a fresh scene') mostly restates the schema's existing parameter description, adding little semantic value. Other parameters are adequately documented in the schema itself.

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 precise verb and resource: 'Regenerate ONLY the background scene of a flexible creative' and explicitly carves out what is preserved ('editable text/logo layers untouched'). This clearly distinguishes the tool from sibling generation/editing tools that would modify the whole creative.

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 'USE FOR' section gives concrete user-intent triggers ('regenerate the background', 'try a different scene', 'new background, same text'), and the 'ONLY' wording sets a boundary against full-creative regeneration. However, it never names an alternative sibling tool or an explicit 'do not use when' case, so it falls short of full 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