Skip to main content
Glama

Redo an image for free (wrong product or text)

redo_image

Makes a free new version of an image whose product came out different (shape, label, colour, logo) or whose text is wrong. Limits: 3 per image and a monthly allowance per account; outside them use regenerate_image or edit_image (1 credit). Free. Returns the new image id. Ask the person what is wrong and pass it as note. Example: {"image_id": "…", "reason": "product-changed", "note": "the label says 250 ml, it should be 500 ml"}

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": {
      "image_id": "<image_id>",
      "reason": "<reason>",
      "note": "<note>"
    },
    "name": "redo_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesWhat exactly is wrong, in the person’s words, e.g. "the cap is silver, it should be gold"; it is turned into a correction for the new version
reasonYesWhat is wrong
image_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / note / description
      Previous value: -"What exactly is wrong, in the person’s words, e.g. \"the cap is silver, it should be gold\""New value: +"What exactly is wrong, in the person’s words, e.g. \"the cap is silver, it should be gold\"; it is turned into a correction for the new version"
  2. 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 (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description adds the free-vs-1-credit cost model, the per-image cap of 3 and a monthly account allowance, and the fact that a new image id is returned. It stops short of saying whether the original image is preserved or what happens when a limit is hit, which is the remaining behavioral gap.

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?

Front-loaded with the action and the condition, then limits, then the alternative. Slightly dense in one long first sentence and the word "free" is repeated three times, but the closing example earns its space by showing the argument combination.

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 3-required-parameter mutation tool with no output schema, the definition covers trigger condition, quota limits, fallback tools, cost, return value, and per-parameter guidance. Only the failure mode (what an agent sees when the 3-per-image or monthly cap is exhausted) is unaddressed.

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 67%, and the description compensates: it tells the agent to ask the person what is wrong and pass their words as note, and the worked example demonstrates the reason enum value alongside a realistic note. image_id still carries no prose explanation, but its format/pattern is self-documenting.

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 and resource ("Makes a free new version of an image") and narrows the trigger condition to a wrong product (shape, label, colour, logo) or wrong text. That scope is enough to separate it from regenerate_image and edit_image, which are named as the fallbacks.

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?

Explicitly says when to use this tool (product came out different or text is wrong), when not to (outside the 3-per-image and monthly-allowance limits), and what to use instead (regenerate_image or edit_image at 1 credit). The cost contrast makes the routing decision unambiguous.

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.