Skip to main content
Glama

gimp_set_colors

Sets foreground and background colors, brush name, size, opacity, and paint mode; with no arguments, returns the current painting context.

Instructions

Ajusta el contexto de pintura: color de frente/fondo, pincel (nombre), tamaño, opacidad y modo. Sin argumentos devuelve los valores actuales.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brushNo
opacityNo
backgroundNo
brush_sizeNo
foregroundNo
paint_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact not in the annotations: the dual setter/getter mode with no arguments. It omits any auth, scope, or state-affecting detail (e.g. whether the change persists across images).

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 compact sentences with the setter behavior front-loaded and the no-argument read behavior appended. Nothing is wasted, though the field list is a bare enumeration rather than a prioritized summary.

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?

No output schema exists, and the description does note the no-arg return of current values. Still, for a six-parameter tool with zero schema documentation, the missing value formats and paint-mode options leave an agent guessing at correct inputs.

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 0%, so the description must carry the parameter burden. It names all six fields (foreground, background, brush, brush_size, opacity, paint_mode), which is real compensation, but adds no format guidance: color string syntax, opacity range, or valid paint-mode values remain undocumented.

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 (ajusta) and resource (contexto de pintura) and enumerates the exact fields affected: foreground/background color, brush name, size, opacity and mode. An agent can distinguish this from siblings like gimp_draw or gimp_fill, though no sibling is named explicitly.

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?

'Sin argumentos devuelve los valores actuales' gives a clear conditional usage rule (call with no args to read, with args to write). However, it never says when to prefer this over alternatives such as gimp_draw, gimp_fill, or gimp_gradient, so routing is left to inference.

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