Skip to main content
Glama

Edit image

edit-image

Rotate, flip and crop images. Accepts jpg, jpeg, png, webp, gif, tif, tiff, avif, svg. Returns the result file.

Input Schema

NameRequiredDescriptionDefault
filesYesAccepts jpg, jpeg, png, webp, gif, tif, tiff, avif, svg; at most 50 MB in total.
optionsNoOptional settings; omitted ones use their default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare non-read-only but non-destructive and closed-world, so the safety profile is given. The description adds the format whitelist and 'returns the result file', hinting that the original is not replaced, but it never explains whether the result comes back as a URL, base64, or upload reference.

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?

Two short sentences, front-loaded with the action and with zero filler. The format list is somewhat redundant with the schema but is cheap and useful up front.

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?

With a 10-field nested options object, no output schema, and annotations covering safety, the definition is adequate but thin: trim/rotate/aspect interactions and the shape of the returned file are never addressed. An agent could still call it correctly by relying on defaults.

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 reported at 100%, so the baseline of 3 applies. The description adds nothing about the options object, leaving semantics like trimTop/trimLeft units (implied percentages by the 0-45 bound) and quality's effect on output entirely to inference.

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?

Concrete verbs (rotate, flip, crop) plus the resource (images) make the operation unmistakable. However, it draws no boundary against siblings like convert-image, compress-image, or crop-pdf, so an agent must infer that format conversion is out of scope here.

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 statement of when to pick this over convert-image or compress-image, and no prerequisites or exclusions. An agent that needs both a format change and a rotation has no guidance on whether this tool covers both.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources