Skip to main content
Glama

Aadharsh Site

Image Compare

image_compare
Read-onlyIdempotent

Encode one image into up to three bounded format variants and report exact byte sizes and hashes. It does not pretend to score visual quality.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "image_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
fitNo
widthNo
heightNo
presetNo
formatsNo
qualityNo
mime_typeNo
image_dataNo
source_urlNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered. The description adds useful context on boundedness (max three variants) and on output determinism (exact byte sizes and hashes), but it never mentions that input can come from a remote source_url (relevant given openWorldHint) nor what happens on fetch or encode failure.

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 tightly written sentences with the primary behavior first and the boundary condition second. No boilerplate and nothing that could be removed without losing meaning.

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?

An output schema exists, so return values needn't be spelled out, but for a tool with nine undocumented parameters and a remote-fetch input, the description omits how the source is supplied and what the presets and fit options mean. Given the complexity and the 0% schema coverage, this is too thin for an agent to call correctly.

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?

Schema description coverage is 0% across nine parameters, so the description must carry the full load. It only gestures at the formats cap ('up to three') and 'bounded', leaving fit, preset, quality, mime_type, image_data, source_url and width/height semantics completely unexplained, including whether image_data is base64 and how it interacts with source_url.

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 uses a specific verb+resource ('Encode one image') and states the concrete output: up to three bounded format variants with byte sizes and hashes. It also carves out what it is not ('does not pretend to score visual quality'), which helps separate it from compare-flavored siblings like lens_compare/representation_compare, though the name/verb mismatch (compare vs encode) leaves some ambiguity.

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?

There is an implied when-not ('does not pretend to score visual quality'), which tells the agent this is a byte-accurate encoding measurement rather than a perceptual/visual comparison. However, it never names a concrete alternative (encode, image_transform, representation_compare) or states the condition under which an agent should pick one over this.

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.