Skip to main content
Glama

photo_image_diff

Image Diff — Compare two images and highlight the differences visually. Takes two separately-named uploads: 'image1' and 'image2'. [category: photo]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fuzzNoPer-pixel tolerance percent, 0-20.
image1YesFirst image — JPG, PNG, WebP, BMP (max 25MB)
image2YesSecond image — JPG, PNG, WebP, BMP (max 25MB)
normalizeNoNormalize sizes before comparing.
output_formatNoFormat of the returned diff image. AE/SSIM/PSNR/RMSE scores ride X-JE-Metric-* response headers, not the body.png
lowlight_colorNoHex color for unchanged pixels.#222222
highlight_colorNoHex color for changed pixels.#ff0000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / fuzz / x-ui
      Added value: +{
      +  "unit": "%"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already provide safety hints (readOnlyHint=false, destructiveHint=false). The description adds that it requires two distinctly named uploads and produces a visual highlight of differences, which is useful context. It does not detail side effects, but the bar is lower given annotations.

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 two short sentences with no wasteful words; the purpose is front-loaded and the category tag is unobtrusive. It is appropriately concise.

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?

The schema fully documents all 7 parameters and defaults, and annotations cover the safety profile. The description clearly explains the tool's operation but does not explicitly state the return format; however, the output_format parameter description indicates that a diff image is returned, making it sufficient for invocation.

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's mention of separately-named uploads restates what the schema already shows via required fields. No additional parameter semantics are added beyond the schema.

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?

The description clearly states a specific verb ('Compare') and resource ('two images'), and indicates the visual output. It does not explicitly distinguish from sibling tools like analyze_image_similarity, but the purpose is unambiguous.

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?

The description implies the tool is for visually comparing two images, but it does not mention when to prefer this over sibling tools or state any exclusions. The 'Takes two separately-named uploads' line is more of a parameter note than a usage guideline.

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