Skip to main content
Glama
masachika-kamada

mcp-local-image-reader

read_image

Read an image file from the filesystem and return it as base64-encoded ImageContent for LLM vision analysis. Supports PNG, JPEG, GIF, and WebP formats.

Instructions

Read an image from the filesystem and return it as base64-encoded ImageContent. Supported formats: PNG, JPEG, GIF, WebP

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the image file
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool reads from the filesystem, returns base64 ImageContent, and supports specific formats. It does not mention error handling (e.g., file not found, unsupported format) or permissions, but for a simple read operation, the disclosure is fairly comprehensive.

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 two sentences, front-loaded with the core action. Every sentence adds value: the first explains what it does and output format, the second lists supported formats. No redundant or verbose language.

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?

Given the tool's simplicity (one parameter, no output schema, no annotations, no siblings), the description is adequate. It covers purpose, input, output format, and supported types. It could mention that the operation is read-only and safe, but overall it is complete enough for an agent to use correctly.

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?

The input schema already describes the 'file_path' parameter as 'Absolute path to the image file'. The description does not add new meaning beyond this, so it meets the baseline of 3 for 100% schema coverage.

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 clearly states the verb 'Read', the resource 'image from the filesystem', and the output 'base64-encoded ImageContent'. It lists supported formats, making the purpose unambiguous. No sibling tools exist, so differentiation is not needed.

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?

The description implies usage when needing to read an image as base64, but it does not provide explicit guidance on when to use this tool versus alternatives, or any prerequisites or exclusions. No siblings exist, so the lack of alternatives is not a penalty, but the description could still benefit from stating typical use cases.

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/masachika-kamada/mcp-local-image-reader'

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