Skip to main content
Glama

adjust_brightness_contrast

Set brightness and contrast values for a specific layer of an Aseprite sprite, with additive ranges from -255 to 255 for targeted image tone corrections.

Instructions

Adjust brightness (-255..255, additive) and contrast (-255..255) of a layer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNoDefault: 1.
layerNo
contrastNoDefault: 0.
filenameYes
brightnessNoDefault: 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv0.10.0
    • addedInput schema / properties / brightness / description
      Added value: +"Default: 0."
    • removedInput schema / properties / brightness / title
      Removed value: -"Brightness"
    • addedInput schema / properties / contrast / description
      Added value: +"Default: 0."
    • removedInput schema / properties / contrast / title
      Removed value: -"Contrast"
    • removedInput schema / properties / filename / title
      Removed value: -"Filename"
    • addedInput schema / properties / frame / description
      Added value: +"Default: 1."
    • removedInput schema / properties / frame / title
      Removed value: -"Frame"
    • removedInput schema / properties / layer / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / layer / default
      Removed value: -null
    • removedInput schema / properties / layer / title
      Removed value: -"Layer"
    • addedInput schema / properties / layer / type
      Added value: +"string"
    • removedInput schema / title
      Removed value: -"adjust_brightness_contrastArguments"
  2. First observedv0.7.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=false, so the mutating, local nature is known. The description adds one genuinely useful behavioral trait - brightness is 'additive' - but says nothing about reversibility, whether changes are baked into pixels, or permission requirements.

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?

A single front-loaded sentence that names the operation, both adjustable dimensions, the valid range, the compositing mode, and the target scope. No filler.

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?

For a 5-parameter mutating tool with no output schema and only 60% schema coverage, the description covers the two numeric parameters well but leaves frame/layer/filename and the mutation's side effects unspecified. Adequate but with clear gaps.

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 60% and the schema only documents defaults, so the description's ranges (-255..255) and the additive semantics for brightness do add meaning. However, frame, layer, and filename receive no semantic explanation in either place, leaving a partial gap.

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 ('Adjust') plus the exact resources (brightness and contrast) and the scope ('of a layer'), with valid ranges in parentheses. It does not differentiate itself from the sibling adjust_hue_saturation, but the operation itself is unmistakable.

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?

No guidance on when to use this versus the other adjustment tools (adjust_hue_saturation, desaturate, gradient_map) or when not to. The agent must infer applicability from the name alone.

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

Deploy Server

Other Tools