Skip to main content
Glama

list_slices

Read-only

Retrieve slice metadata from an Aseprite sprite—including names, bounds, 9-slice centers, pivots, colors, and user data—to inspect layout and export settings.

Instructions

List the slices: name, bounds, 9-slice center, pivot, colour and user data.

center and pivot are relative to the slice and null when not set.

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

Input Schema

NameRequiredDescriptionDefault
pathYesSprite file. Relative paths resolve against the server root.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds genuine behavioral detail beyond that: 'center and pivot are relative to the slice and null when not set' tells the agent how to interpret partial values. It still says nothing about scoping (e.g., what happens if the sprite has no slices) or error behavior.

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?

Two short sentences with no filler; the field enumeration is front-loaded and the null/relative caveat is placed immediately after. Slightly redundant given an output schema exists, but nothing is wasteful.

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?

A simple single-parameter read tool with annotations and an output schema; the description supplies the field list and the null-semantics caveat, which is sufficient for correct invocation. Remaining gaps are minor and largely covered by the structured fields.

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?

There is a single parameter (path) and schema description coverage is 100%, with the schema already explaining relative-path resolution against the server root. The description adds no meaning about the path argument, so the baseline 3 applies.

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?

States a specific verb (List) and resource (slices), then enumerates exactly what is returned (name, bounds, 9-slice center, pivot, colour, user data). An agent can distinguish it from create_slice/delete_slice by the read-only listing verb, though the description does not explicitly contrast with those siblings.

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: an agent infers this is the inspection tool for slice definitions on a sprite file. There is no explicit when-to-use statement, no mention of alternatives such as create_slice or delete_slice, and no prerequisites called out.

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