Skip to main content
Glama

preferences

Retrieve or update Aseprite application, tool, or per-sprite document settings by section and option names.

Instructions

Gets or sets an Aseprite preference (app.preferences..), a tool preference (tool=) or a per-sprite document preference (document=true). Use list_preferences to discover names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNoRead tool preferences for this tool id
valueNo
actionYes
optionYesOption name; nested options use dots, e.g. 'brush.size' with section from the tool prefs
spriteNoFile path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path.
backendNoauto (default): live Aseprite if connected, else headless batch
sectionYes
documentNoRead the sprite's document preferences

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the agent knows the tool can mutate but is not flagged destructive; the description is consistent with this. The description adds useful context by disclosing the three modes of operation and the dotted addressing scheme, but says nothing about persistence, what a 'set' overwrites, or default behavior beyond what the schema's backend description already covers.

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?

Front-loaded with the verb, then a compact parenthetical enumeration of the three modes, followed by a single routing sentence. Both sentences earn their place, though the dense parentheticals make it slightly terse.

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?

With 8 parameters, no output schema, and moderate schema coverage, the description covers the addressing modes but does not describe what a 'get' returns or how values are interpreted on 'set'. It routes to list_preferences for names but leaves the return/behavior contract underspecified.

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 coverage is 63%, a moderate baseline. The description clarifies how section and option combine (dotted nesting) and maps tool=<id> and document=true to their respective parameters, adding some meaning. However, the schema already documents tool, option, sprite, backend, and document, so the description largely restates the addressing modes rather than filling the uncovered params (section, value).

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 pair (gets or sets) and resource (Aseprite preference), and explicitly enumerates three addressing modes: app preference via app.preferences.<section>.<option>, tool preference via tool=<id>, and per-sprite document preference via document=true. It names the sibling list_preferences as the discovery counterpart, aiding differentiation, though it doesn't contrast against other siblings.

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 a clear routing instruction: 'Use list_preferences to discover names,' which points the agent to the alternative for enumeration. Usage is implied by the get/set duality, but no explicit when-not or prerequisites are stated.

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