Skip to main content
Glama
image-analyzer-mcp
by AlierQ

Analyze an image

analyze_image

Analyzes screenshots, mockups, or design exports with a vision model to return structured JSON on layout, components, colors, typography, spacing, and issues.

Instructions

Analyze a PNG/JPG/WebP screenshot, mockup, or design export with a vision model and return structured JSON describing layout, sections, components, colors, typography, spacing, interactions, issues, and implementation notes.

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": {
      "path": "<path>"
    },
    "name": "analyze_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute or relative path to a .png, .jpg, .jpeg, or .webp image.
promptNoOptional focus: what should be emphasized, e.g. 'describe the hero section'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that a vision model is used and enumerates the structured JSON output fields (layout, sections, components, colors, typography, spacing, interactions, issues, implementation notes), but it does not state whether the operation is read-only, what permissions are required, or how errors are handled.

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?

The description is a single, front-loaded sentence that identifies the resource, input formats, and output fields without filler. It is dense but every clause adds information, though the long output list makes it slightly heavy.

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 simple two-parameter tool with no output schema, the description is nearly complete: it states the purpose, accepted formats, and the structure of the returned JSON. The main gap is the absence of sibling differentiation and safety/read-only context, which are relevant but not fatal for this complexity level.

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 schema already documents both parameters fully. The description echoes the accepted image formats but adds no additional meaning for the 'path' or 'prompt' parameters beyond what the schema provides. Baseline 3 is appropriate.

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 states a specific verb and resource ('Analyze a PNG/JPG/WebP screenshot, mockup, or design export') and lists the output fields. It is clear what the tool does, but it does not explicitly differentiate itself from siblings like analyze_clipboard_image or compare_images.

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?

Usage is implied by naming the accepted input types (screenshots, mockups, design exports), but there is no explicit when-to-use guidance, no when-not conditions, and no named alternatives. The agent must infer that this tool is for file-path images versus clipboard images or comparisons.

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