Skip to main content
Glama

transform_image

Apply image transformations including crop, resize, rotate, flip, blur, sharpen, grayscale, and watermark using Pillow operations.

Instructions

Transform an image using Pillow operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
textNoWatermark text
widthNo
factorNoSharpness factor (default: 2.0, >1 = sharper)
heightNo
radiusNoBlur radius (default: 2.0)
degreesNoRotation angle in degrees
opacityNoWatermark opacity 0.0-1.0 (default: 0.5)
positionNoWatermark position (default: 'bottom-right')bottom-right
directionNoFlip direction ('horizontal' or 'vertical')
operationYesOne of: crop, resize, rotate, flip, blur, sharpen, grayscale, watermark
image_pathYesPath to the image to transform
output_formatNoOutput format (png, jpeg, webp)png
maintain_aspectNoKeep aspect ratio when resizing (default: True)
output_filenameNoCustom output filename (optional)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It mentions 'using Pillow operations' but does not state whether the original file is modified or if a new file is created, nor does it address authorization or side effects. The return value is not described despite an output schema existing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very concise (one sentence) but omits important details that would help an agent use the tool correctly. It is not overly verbose, but could be restructured to include key constraints upfront.

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?

Given 16 parameters and an output schema, the description is too brief to be complete. It does not explain which parameters apply to which operations, nor does it provide context for the tool's role among siblings. The output schema exists but the description does not reference it.

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?

With 75% schema description coverage, the input schema already documents most parameters. The description adds no extra meaning beyond what the schema provides, so a baseline score of 3 is appropriate.

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 'Transform an image using Pillow operations' states the basic action and technology but does not distinguish from sibling tools like edit_image, upscale_image, or remove_background, which also transform images. The title is null, further reducing clarity.

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 is provided on when to use this tool versus the many alternative image tools. There is no mention of prerequisites, exclusions, or typical use cases, leaving the agent to infer context.

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/Tehnolabs/pixelforge-mcp'

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