Skip to main content
Glama
gimp-mcp-studio
by Onru-Labs

set_colors

Set GIMP foreground and background colors from CSS names, hex, or rgb() values; omit either color to leave it unchanged.

Instructions

Set the GIMP foreground and/or background color.

Parameters:

  • foreground: New foreground color (CSS name, hex, rgb()); omit to leave unchanged

  • background: New background color; omit to leave unchanged

Returns: {foreground, background} confirmation dict.

Input Schema

NameRequiredDescriptionDefault
backgroundNo
foregroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It discloses that omitted parameters are left unchanged and that a {foreground, background} confirmation dict is returned, which is real behavioral value. It does not say whether the change is global to the GIMP session or scoped to the active image, what happens on an unparsable color string, or whether the setting persists across image changes.

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 purpose sentence followed by a compact parameter block and a one-line return note - no filler. The opening sentence duplicates the tool name slightly, and a prose paragraph or tighter bullet form would read equally well, but nothing is wasted.

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?

For a two-parameter, no-annotation, no-output-schema tool, the description covers both inputs and the return shape, which is most of what an agent needs to call it correctly. The remaining gap is failure and scope semantics, which a longer definition could reasonably add.

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

Parameters4/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 compensate, and it does: both parameters are named, the accepted formats (CSS name, hex, rgb()) are listed, and the omit-to-leave-unchanged default behavior is spelled out. It stops short of enumerating edge cases such as alpha or HDR color notation.

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 and resource: 'Set the GIMP foreground and/or background color.' An agent immediately knows this mutates the active color state. No sibling in the list performs this function, so no differentiation is needed, but the description also doesn't state scope (per-image vs per-session), which keeps it from a 5.

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?

The 'omit to leave unchanged' notes on each parameter give implied usage for partial updates, which is genuinely useful. However there is no explicit when-to-use framing, no statement that at least one of the two parameters should be supplied, and no mention of how this relates to siblings like get_pixel_color or convert_color_mode.

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