Skip to main content
Glama

analyze_image

Convert images from local files, URLs, clipboard, or base64 into detailed text descriptions, giving text-only agents vision capabilities.

Instructions

Analyze an image using a multimodal model and return a detailed text description. The vision model sees the image; the calling agent is text-only and cannot.

Sources for image (pick one):

  • "path": absolute or relative path to a local image file (PNG/JPEG/WEBP/GIF)

  • URL: http(s) URL to an image on the web or a local server

  • "data:...": base64 data URI, e.g. data:image/png;base64,

  • "clipboard": read the image currently copied to the system clipboard

  • "recent": auto-find the most recently pasted image (scans Codex attachments, Grok session images, Claude transcripts)

  • "session": auto-find images pasted in this session

  • "raw": the string itself is the literal raw image bytes

Pick task for common jobs (describe | ocr | ui | layout | qa) or pass your own prompt. detail defaults to "high" for maximum completeness. Use save_to to write a long description to a file and get back only a path + summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNoCommon analysis task. Ignored when `prompt` is provided.
imageYesImage source: file path, URL, data: URI, 'clipboard', 'recent', 'session', or 'raw'.
detailNoDesired detail level. Defaults to 'high'.
promptNoFree-form question or instruction about the image. Overrides `task`.
save_toNoOptional file path (.txt/.md) to write the full description to.
Behavior4/5

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

With no annotations to lean on, the description carries the full burden and does well: it discloses the use of a multimodal model, the text-only nature of the agent, the return of a detailed description, and the effect of 'save_to' (writes to file, returns path + summary). It describes defaults ('detail' defaults to 'high') and source resolution behaviors. It does not cover error cases or permissions, but the disclosed behavior is solid.

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 well-structured with bullets, front-loads the core purpose in the first sentence, and every subsequent line adds distinct information (sources, tasks, defaults, file output). It is appropriately sized for a tool with 5 parameters and no output schema, with no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (5 parameters, no output schema, no annotations), the description is remarkably complete. It covers all input source types, task modes, prompt override, detail level, and save_to behavior. The only minor omission is exact return formatting, but the description explicitly says 'detailed text description' and 'path + summary' for save_to, which is sufficient for correct invocation.

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

Parameters5/5

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

Schema coverage is 100%, so baseline is 3, but the description adds substantial meaning beyond the schema. It explains each image source format with examples, declares the precedence between 'prompt' and 'task', clarifies the 'detail' default, and describes the 'save_to' output behavior. This is exactly the kind of added value that helps an agent pick and fill parameters correctly.

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 states a specific verb and resource: 'Analyze an image using a multimodal model and return a detailed text description.' It also explains the motivation (the vision model sees the image, the calling agent is text-only), making the purpose unambiguous and strongly differentiated from any generic tool.

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?

The description clearly explains when to use the tool: whenever a text-only agent needs image understanding. It gives concrete guidance on selecting image sources and tasks, and notes that 'task' is ignored when 'prompt' is provided. No explicit when-not-to-use or alternatives are mentioned, but there are no sibling tools to differentiate from.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KuaaMU/mcp-vision-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server