Skip to main content
Glama

tool_image_editor

Adjust image brightness, contrast, and saturation, or apply a grayscale filter. Returns the edited image file for download or further use.

Instructions

[image] Image Editor

Parameters:

  • file (bytes): File

  • brightness (number): Brightness

  • contrast (number): Contrast

  • saturation (number): Saturation

  • grayscale (boolean): Grayscale

Outputs:

  • file (bytes): File

  • info (json): Info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoFile (base64 file payload)
infoNoInfo
contrastNoContrast
grayscaleNoGrayscale
brightnessNoBrightness
saturationNoSaturation
Behavior2/5

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

With no annotations provided, the description carries the full burden but only lists parameters and outputs without explaining behavior. It does not state whether the tool returns a new file or modifies in place, what transformations are applied, or what 'info' contains, and it confusingly lists 'info' as an output while the input schema includes it as a property.

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?

The description is brief and structured as a parameter/output list, which is easy to scan. However, the section headers and duplicate information from the schema, along with the placement of 'info' under outputs, introduce minor structural confusion.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has a nested file parameter and no output schema, so the description should explain return semantics and parameter constraints. It merely lists 'file' and 'info' as outputs without detail, and does not describe valid ranges for numeric parameters or expected behavior, leaving significant 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?

The input schema already specifies each parameter with descriptions, and the description largely mirrors this information. The only additional detail is labeling 'info' as 'json' and 'file' as 'bytes', but this adds minimal value and creates inconsistency by listing 'info' under outputs rather than inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the tool as an 'Image Editor' and lists parameters like brightness, contrast, saturation, and grayscale, which imply image adjustment functionality. However, it lacks an explicit verb or statement of what the tool does with these parameters, and the output section introduces 'info' without clear purpose, making the purpose somewhat ambiguous.

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?

The description provides no guidance on when to use this tool versus alternatives such as tool_image_compress or tool_exif_viewer. There is no mention of use cases, prerequisites, or exclusions, leaving the agent without criteria for tool selection.

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

Install Server

Other Tools

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/maple-awa/tool-mcp'

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