Skip to main content
Glama

Save Retouched Image

mcp_save_retouch

Save an edited image (image_base64) as a new child result of parent_generation_result_id. Changes no existing result.

Input Schema

NameRequiredDescriptionDefault
file_nameNoOptional filename for the saved retouched image
mime_typeNoOptional image MIME type; inferred from a data URL or defaults to image/png
operationsNoOptional retouch operation metadata stored with the child result
image_base64YesRetouched image encoded as base64 or an image data URL
parent_generation_result_idYesGeneration result ID of the original image

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false. The description adds the useful structural fact that a new child result is created rather than mutating the parent, but it does not warn that repeated calls create duplicate children (consistent with idempotentHint=false) or mention any permission/error behavior.

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?

Two short sentences, zero filler, with the core action and the parent linkage front-loaded. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter save tool with no output schema, the description covers the write semantics but says nothing about what is returned (e.g., the new result ID) or failure modes such as an invalid parent_generation_result_id. Adequate but with clear gaps.

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 all five parameters are already documented. The description reinforces the relationship between image_base64 and parent_generation_result_id (child-of-parent), but adds no syntax, format, or constraint details beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (save) and resource (edited/retouched image) and clarifies the result is stored as a new child of parent_generation_result_id. It is distinguishable from generation and read siblings, though it never names a contrasting sibling tool explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied: call this when you have a retouched image to persist under an existing generation result. The clause 'Changes no existing result' hints at the non-destructive scope, but there is no explicit when-to-use/when-not guidance or named alternative.

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