Skip to main content
Glama

review_image

Check a generated image against its brief with a vision model to identify mismatches, garbled text, composition issues, and artifacts. Get a revised prompt to decide whether to regenerate the image.

Instructions

Have a vision model look at an image and critique it against a brief. Returns what matches, what is wrong (garbled text, composition, colors, artifacts) and a revised prompt. Use it after generate_image to check the result and decide whether to regenerate — this works in every MCP client, including ones that do not pass tool-result images to you. Costs one small vision chat call (well under $0.01 on the default model).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
briefYesWhat the image is supposed to show — usually the prompt it was generated from, plus any requirements the user stated (exact text, aspect ratio, style).
modelNoVision-capable chat model that does the looking. gpt-5.6-luna (default, cheapest) or claude-sonnet-5 for a more careful read.gpt-5.6-luna
image_urlYesThe image to review: a URL returned by generate_image, any public https:// URL, a LOCAL FILE PATH, a localhost URL, or a data: URI.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full disclosure burden. It adds genuinely useful behavioral context: cost ('one small vision chat call, well under $0.01'), the shape of the return value, and a portability trait (works in every MCP client). It stops short of stating whether the call has side effects or how it behaves on failure, which keeps it from a 5.

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?

Three sentences, front-loaded with the core purpose, then usage context, then a cost note. Every sentence carries distinct information and none of it repeats what the input schema already states.

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-parameter tool with 100% schema coverage and no output schema, the description covers what it returns, when to call it, and what it costs. The only gaps are error behavior and an explicit statement that the operation has no side effects, which are minor for a review-style read tool.

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 is 3. The description adds workflow context by implying image_url is typically 'a URL returned by generate_image' and framing brief as the original generation prompt, but the schema already documents both parameters thoroughly, so the marginal gain is modest.

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 ('Have a vision model look at an image and critique it against a brief') and enumerates the output: what matches, what is wrong (garbled text, composition, colors, artifacts), and a revised prompt. The explicit placement as the follow-up to generate_image distinguishes it from the generation siblings without needing to open 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?

'Use it after generate_image to check the result and decide whether to regenerate' is an explicit trigger condition with a clear decision outcome. The clause 'works in every MCP client, including ones that do not pass tool-result images to you' gives a concrete reason it beats the alternative of relying on native image display.

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