Skip to main content
Glama
smythmyke

MarkItUp - AI Image Marketing and Annotation

markitup_regen

Regenerate a single marketing image variation from a previous generation, preserving the source image and text content. Select which slot to recreate using variation index.

Instructions

Regenerate a single variation from a previous markitup_generate call with the same source image and template. Costs 1 credit if charge_credit=true. Pass back the source image (as URL or base64) AND the text analysis object returned in the previous generate's structuredContent.text — the regen uses the same headline/copy so visuals stay consistent. Use variation_index to choose which slot (0–2) to regenerate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_image_urlNoPublic HTTPS URL of the same source image used in the original markitup_generate.
source_image_base64NoBase64-encoded source image (no data: prefix). Mutually exclusive with source_image_url.
source_image_mime_typeNoMIME type when supplying source_image_base64. Defaults to image/png.image/png
template_idYesSame template_id used in the original generate.
text_analysisYesThe 'text' object from the previous generate's structuredContent — includes headline, subHeadline, marketingCopy.
variation_indexNoWhich slot (0, 1, or 2) to regenerate. Default 0.
aspect_ratioNo
image_sizeNo
charge_creditNoIf true, deduct 1 credit. Defaults to true.
Behavior4/5

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

Without annotations, the description discloses important behaviors: credit cost (if charge_credit=true), the need to reuse previous text_analysis to maintain visual consistency, and the use of variation_index to select a slot. This goes beyond simple purpose.

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 main purpose and logically organized. Each sentence adds distinct value (prerequisite, cost, required arguments, slot selection). No redundant or irrelevant information.

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?

Despite no output schema, the description covers key usage aspects: required inputs from previous call, variation selection, credit cost. It does not explain the return format, but the regeneration context is adequately described for an agent to infer the output.

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 coverage is 78%, and the description adds context by explaining the relationship between text_analysis and the previous generate's structuredContent.text, and clarifying variation_index as a slot. This provides meaning beyond the schema definitions.

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 uses the specific verb 'Regenerate' and clearly identifies the resource as 'a single variation from a previous markitup_generate call'. It distinguishes from sibling tools (e.g., markitup_generate) by referencing the prerequisite generation call.

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 provides instructions on when to use the tool (after a markitup_generate call) and how to pass required data (source image, text_analysis object, variation_index). It also mentions credit cost. Missing explicit when-not-to-use scenarios, but context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smythmyke/markitup-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server