Skip to main content
Glama
baktubak
by baktubak

ap_read_image_file

Read exported ArmorPaint images from the server filesystem to view them locally, even while ArmorPaint is closed. Use with ap_export_textures to inspect exported PNG, JPEG, GIF, WEBP, or BMP files up to 6 MB.

Instructions

Read an image file from THIS server's filesystem and return it as an image, so you can look at what ArmorPaint exported. Answered locally — no round trip, and it works while ArmorPaint is closed. Pair it with ap_export_textures: export, then read one of the reported files. PNG/JPEG/GIF/WEBP/BMP only (EXR cannot be displayed), up to 6 MB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesImage file to read. Absolute path, forward slashes (backslashes are converted for you).
max_bytesNoRefuse files larger than this. Default and ceiling 6000000.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses that the read is local, involves no round trip, works while ArmorPaint is closed, and enforces format and size limits. It does not detail error handling, but covers the key operational traits.

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 focused sentences: purpose first, then workflow, then constraints. No filler; every sentence adds actionable information.

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 read-only tool, the description covers purpose, workflow, format/size limits, and the local/no-round-trip behavior. It lacks explicit error-case handling, but the core information an agent needs to call and interpret the tool is present.

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 baseline is 3. The description adds global format and size constraints, but no per-parameter detail beyond what the schema already provides.

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 a specific verb and resource: 'Read an image file from THIS server's filesystem and return it as an image.' It immediately frames the use case as inspecting ArmorPaint exports, which clearly distinguishes it from filesystem listing tools like ap_fs_list.

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?

Provides clear usage context by pairing with ap_export_textures: 'export, then read one of the reported files.' It also notes the tool works while ArmorPaint is closed. It does not explicitly exclude alternatives, but the intended workflow is evident.

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

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/baktubak/armorpaint-mcp'

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