Skip to main content
Glama

sprite_info

Read-onlyIdempotent

Retrieve a sprite’s dimensions, color mode, frames with durations, layer order, animation tags, and palette to inspect or validate an Aseprite file.

Instructions

Describe a sprite: size, color mode, frames (1-based, with durations), layers (bottom to top), animation tags and palette.

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": "sprite_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral detail about the shape of the result — frames are 1-based with durations, layers are ordered bottom to top — which an agent could not infer from annotations alone, but it says nothing about failure modes (bad path, unsupported format) or size of the returned payload.

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?

One dense sentence with the purpose front-loaded and the return contents enumerated in a readable parenthetical, with zero filler. The colon-list structure is efficient, though the sentence fragment style and the compressed parentheses make it slightly harder to scan than a two-sentence form.

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

Completeness3/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 with no output schema, listing the fields it returns does most of the work and annotations carry the safety profile. What is missing is the meaning of the required path argument and any note about what happens when the path is invalid, which is the main thing an agent needs settled before calling.

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

Parameters2/5

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

Schema description coverage is 0%: the single required 'path' parameter is documented only as a generic string titled 'Path'. The description never mentions the parameter at all, so it does not compensate — it is left ambiguous whether this is a filesystem path to a sprite file, a project-relative path, or an identifier. For a one-parameter tool this is the only real semantic gap, but it is unfilled.

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 opens with a specific verb+resource ('Describe a sprite') and enumerates exactly what is reported: size, color mode, frames, layers, tags, palette. That is enough for an agent to recognize this as the read/inspection counterpart to mutators like create_sprite, add_frames, or set_palette, though it never explicitly names a sibling.

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 only implied: the enumeration of return fields makes clear this is for inspecting an existing sprite rather than modifying it. There is no explicit 'use this before X' or 'do not use for Y' guidance, and no mention of prerequisites such as the sprite needing to exist or being imported first.

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