Skip to main content
Glama

Review a generated image before redoing it

review_completed_image
Read-onlyIdempotent

Use when a completed generated image is wrong or the user wants a redo. Inspect a PNG, JPEG or WebP attachment or direct public HTTPS image URL from any renderer, optionally with a reference image. Use the original brief and prior attempts when available. Compare the returned visual evidence and call decide_render_retry. This tool never starts a render.

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": {
      "take": "<take>",
      "brief": "<brief>",
      "historyComplete": "<historyComplete>",
      "previousAttempts": "<previousAttempts>",
      "requirements": "<requirements>"
    },
    "name": "review_completed_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
takeYes
briefYes
modelNo
promptUsedNo
retryPriceNoOptional price for one next retry only. Omit when only historical or aggregate spending is known.
requirementsYes
editableAssetsNo
renderImageUrlNo
historyCompleteYes
imageAttachmentNo
previousAttemptsYes
referenceImageUrlNo
referenceAttachmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / retryPrice / description
      Added value: +"Optional price for one next retry only. Omit when only historical or aggregate spending is known."
    • addedInput schema / properties / retryPrice / properties / basis
      Added value: +{
      +  "description": "Set only when the user or provider explicitly quoted the cost of one next retry. Prior total spend, a balance, and a monthly budget are not a retry quote.",
      +  "enum": [
      +    "explicit_single_retry_quote"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / retryPrice / properties / evidence
      Added value: +{
      +  "description": "Quote or identify the source stating the price for one next retry; do not invent it.",
      +  "maxLength": 500,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations (readOnly, idempotent, non-destructive, openWorld) already cover safety; the description adds useful content: accepted formats, public HTTPS URLs, optional reference image, and the explicit "never starts a render" invariant. It does not disclose what the returned "visual evidence" consists of, and with no output schema that is a meaningful omission for a review tool. Guidance on URL accessibility constraints (auth, size, rate limits) is also absent.

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 trigger, then scope, then workflow, in five compact sentences with no filler. Slightly fragmented ("Use the original brief and prior attempts when available" is terse to the point of being vague), but every sentence carries weight.

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

Completeness2/5

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

For a 13-parameter tool with five required fields, deep nested objects, and no output schema, the description is thin. It explains the trigger and the next step but leaves the majority of the input surface and the entire return shape undefined, which is a substantial gap at this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Thirteen parameters with only 8% schema description coverage, and the description compensates for very little. It maps loosely to brief, previousAttempts, renderImageUrl, imageAttachment, and the two reference fields, but take, model, promptUsed, requirements, editableAssets, retryPrice, and historyComplete are given no meaning anywhere in the description. With schema coverage this low, the description should carry that burden and does not.

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 and resource: "Inspect a PNG, JPEG or WebP attachment or direct public HTTPS image URL". Distinguishes itself clearly from the render itself by noting "This tool never starts a render". It does not, however, differentiate itself from the video counterpart review_completed_render, which is very similar in name, so there is a small residual ambiguity an agent must resolve from the title.

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?

Strong trigger condition: "Use when a completed generated image is wrong or the user wants a redo". Also prescribes a downstream step ("call decide_render_retry") that makes the workflow concrete. It lacks an explicit when-not or a named alternative for non-image checks, so it stops short of a full routing guide.

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.