Skip to main content
Glama

compress_image

Reduce image file size by adjusting quality settings. Supports JPEG, WebP, and PNG formats for local processing without accounts.

Instructions

Compress an image by reducing quality. Output format: jpeg, webp, or png.

Free tool — runs locally, no account needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
qualityNo
output_formatNojpeg
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context: 'Free tool — runs locally, no account needed' explains cost, execution environment, and authentication requirements. However, it doesn't mention whether the operation is destructive to the original file, what happens with output paths, or any rate limits.

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 description is extremely concise and well-structured: first sentence states purpose and key parameters, second sentence provides important behavioral context. Every sentence earns its place with zero wasted words.

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?

Given that there's an output schema (which handles return values), no annotations, and moderate complexity, the description is somewhat complete but has gaps. It covers the basic purpose and some behavioral context but lacks parameter explanations and usage guidelines relative to siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It mentions output formats ('jpeg, webp, or png') which helps clarify the output_format parameter, but doesn't explain file_path, quality, or output_path semantics. With 4 parameters and only partial coverage, this is inadequate.

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 clearly states the tool's purpose: 'Compress an image by reducing quality.' It specifies the action (compress) and resource (image), distinguishing it from siblings like resize_image or convert_format. However, it doesn't explicitly differentiate from adjust_image or enhance_image, which might also affect quality.

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. With siblings like adjust_image, convert_format, and resize_image that might serve overlapping purposes, there's no indication of when compression is preferred over other image manipulation methods.

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/RyanKramer/pixelpanda-mcp'

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