Skip to main content
Glama

diagnose

Score how faithfully a reproduction matches an original (MAE / PSNR / exact-match % / stray px). Returns: A JSON string with the fidelity metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originalNoThe original image as an http(s) URL or a base64 data URL.
reproductionNoThe reproduced image to compare, as an http(s) URL or a base64 data URL.

TDQS

A3.5/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions the return type (JSON string) but does not disclose any side effects, auth requirements, or other behavioral traits. Adequate but not rich.

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 sentences: first states purpose and metrics, second states return format. Front-loaded, no unnecessary words.

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?

Covers main purpose and return type, but lacks detail on JSON key structure or metric units. With no output schema, more specificity would be helpful for an AI agent. Adequate for simple 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 coverage is 100% with descriptions for both parameters (original and reproduction). The description adds no additional meaning beyond the schema, so baseline score of 3 is appropriate.

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?

Description clearly states the tool scores reproduction fidelity with specific metrics (MAE, PSNR, etc.) and returns a JSON string. Distinguishes from siblings 'autodetect' and 'reproduce' by focusing on evaluation.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus siblings. The description only states what it does, leaving the agent to infer usage context from the tool name and sibling list.

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.

TDQS

B3.4/5.0
Disambiguation4/5

The three tools have distinct primary purposes: detection, scoring, and reproduction. However, reproduce also returns fidelity metrics which overlap with diagnose, potentially confusing an agent on which to use for scoring.

Naming Consistency5/5

All tool names are single lowercase verbs (autodetect, diagnose, reproduce), following a consistent and predictable pattern.

Tool Count3/5

With only 3 tools, the server is under-scoped for general design image processing, lacking basic operations like loading or editing images. However, for a focused pipeline, it might be acceptable.

Completeness2/5

The tool surface lacks fundamental operations such as image input/output or layer manipulation, creating significant gaps that would cause agent failures in most workflows.

Resources