Skip to main content
Glama

enhance_image

Improve image tone and detail in a single pass: gamma raises midtones and shadows without clipping, while contrast, saturation, and high-pass sharpen controls adjust overall clarity.

Instructions

Tone and detail enhancement in one pass.

gamma lifts midtones and shadows via levels, leaving the black and white points alone so nothing clips. 1.0 = off. contrast GIMP 3 native -1..1. 0 = off. saturation -100..100. 0 = off. sharpen high-pass sharpen blended back at this percent opacity, 0 = off. Preferred over unsharp mask, which haloes. sharpen_radius blur radius in pixels for the high pass (default 8).

Contrast bites harder than the same nominal value did in GIMP 2.x, because GIMP 3 runs the operation in linear light: 2.x's "+12" is roughly 0.020 here, not 0.094. Calibrate against output rather than remapping an old number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gammaNo
backendNo
qualityNo
sharpenNo
contrastNo
input_pathYes
saturationNo
output_pathYes
sharpen_radiusNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden, and it delivers: it explains that gamma avoids clipping by preserving black/white points, sharpen is high-pass blended back at a given opacity, and contrast runs in GIMP 3 linear light, with explicit calibration caveats. This gives agents a strong model of the tool's actual behavior.

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?

The one-line purpose is front-loaded, each parameter gets a compact line, and the GIMP 3 calibration note earns its place. There is no filler or redundant restatement of the schema.

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 9-parameter tool with no annotations, the description is thorough on the core enhancement behavior and parameter semantics. It is not fully complete because backend and quality are unexplained, and no sibling-tool comparison is given, leaving some ambiguity in tool selection.

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%, and the description compensates well by explaining gamma, contrast, saturation, sharpen, and sharpen_radius with scales and defaults. However, backend and quality are left undocumented in the description, so their semantics remain ambiguous.

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?

The description states a specific operation ('Tone and detail enhancement in one pass') and elaborates on what each control does, so an agent understands the tool's role. It does not explicitly differentiate it from sibling tools like adjust_image or process_image, so it falls short of 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to choose enhance_image over the many sibling image tools, nor exclusions for when not to use it. The parameter-level note about preferring high-pass sharpen over unsharp mask is useful but not tool-selection guidance.

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/Diterex/gimp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server