Skip to main content
Glama

Analyze image

analyze_image

Analyze image files (png, jpg, webp, bmp, gif, avif) to generate text descriptions from screenshots, diagrams, UI mockups, or photos. Provide a file path to get the content interpreted as text.

Instructions

Analyze an image file (png, jpg, webp, bmp, gif, avif) and return a text description. Use for screenshots, diagrams, UI mockups, photos. Provide an absolute or relative path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the image file
promptNoOptional custom prompt for the analysis

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose output type ('text description'), accepted path convention ('absolute or relative path'), and supported formats. However, it does not explicitly state that the operation is read-only, whether local file access is required, or how errors like an invalid path are handled, leaving some inference to the agent.

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?

Three short sentences carry all the essential information with no filler; the core action and output are front-loaded, followed by use cases and a path note. Every sentence earns its place.

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 two-parameter, no-output-schema tool, the description provides the necessary invocation details: path form, supported formats, and expected return type. The main gap is lack of explicit read-only assurance and error handling, but an agent can select and call this tool confidently.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds value beyond the schema: it enumerates accepted file extensions and clarifies that the path may be absolute or relative. The prompt parameter remains covered only by the schema's description, but the total parameter knowledge is strong.

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?

The description opens with the specific verb 'Analyze' and the resource 'image file', lists six supported formats, and states the output is a text description. This clearly separates it from the sibling analyze_video by restricting the media type to images.

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?

It gives explicit use cases ('screenshots, diagrams, UI mockups, photos'), which tells an agent when to reach for it. It doesn't name the alternative analyze_video or provide exclusions, so it falls short of a 5.

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

Deploy Server

Other Tools