Skip to main content
Glama
baktubak
by baktubak

ap_set_config

Change ArmorPaint application preferences by setting writable fields like theme, keymap, window size, layer resolution, and undo steps. Use it to adjust default resolution for new layers without resizing existing ones.

Instructions

Change application preferences. Only the listed fields are writable; anything else in ArmorPaint's preferences is not exposed to plugins. layer_res is the DEFAULT resolution for new layers — changing it does not resize existing ones.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeNoTheme name.
keymapNoKeymap preset name.
window_hNoWindow height in pixels.
window_wNoWindow width in pixels.
workflowNoWorkflow index.
layer_resNoDefault layer resolution for NEW layers (e.g. 2048).
workspaceNoWorkspace index.
brush_liveNoLive brush preview.
camera_fovNoCamera field of view in radians.
undo_stepsNoUndo history depth.
window_scaleNoUI scale factor, e.g. 1.0 or 1.5.
material_liveNoLive material preview.
node_previewsNoNode thumbnails in the node editor.
rp_supersampleNoRender supersampling factor, e.g. 1.0 or 2.0.

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 transparency burden. It clearly signals mutation, narrows the writable surface, and discloses the non-obvious layer_res behavior that existing layers are not resized. It does not mention persistence or restart requirements, but it covers the most likely misuse.

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?

Two sentences with no filler: the purpose is front-loaded, the writable-fields restriction follows, and the layer_res caveat is last. Every clause earns its place.

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?

The schema documents every parameter, so the description only needs to supply scope and caveats, which it does well. It could add whether changed settings persist or require a restart, but an agent can invoke it correctly with the information given.

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 all 14 parameters at 100% coverage, so the baseline is 3. The description only adds one behavioral clarification about layer_res beyond what the schema states, which is helpful but marginal.

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 uses a specific verb and resource, 'Change application preferences,' and scopes it to ArmorPaint. This clearly distinguishes it from sibling read tools like ap_get_config.

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?

'Change application preferences' gives a clear when-to-use context. The caveat that only listed fields are writable also sets a hard boundary, though it does not explicitly name alternatives such as ap_get_config for reading values.

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