Skip to main content
Glama

resize_image

Resize images by specifying width, height, or both while maintaining aspect ratio. This free tool runs locally without requiring an account.

Instructions

Resize an image. Specify width, height, or both. Maintains aspect ratio by default.

Free tool — runs locally, no account needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
widthNo
heightNo
maintain_aspect_ratioNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: 'Maintains aspect ratio by default' (default behavior), 'Free tool — runs locally, no account needed' (cost, execution environment, authentication). However, it doesn't mention file format support, error conditions, or performance characteristics.

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 perfectly concise with two sentences that each add value. The first sentence covers core functionality and key parameter behavior. The second sentence provides important execution context. No wasted words or redundancy.

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?

Given 5 parameters with 0% schema coverage and no annotations, the description does reasonably well by explaining the resizing logic and aspect ratio behavior. The 'Free tool' context is helpful. With an output schema present, it doesn't need to explain return values. However, it could better address file format limitations or error scenarios.

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 description coverage is 0%, so the description must compensate. It explains that you can 'Specify width, height, or both' and mentions 'Maintains aspect ratio by default', which clarifies the 'maintain_aspect_ratio' parameter. However, it doesn't explain 'file_path' or 'output_path' semantics, leaving 3 of 5 parameters without additional context.

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 as 'Resize an image' with specific parameters (width, height, or both) and mentions aspect ratio maintenance. It distinguishes from siblings like 'crop_image' or 'upscale_image' by focusing on resizing, but doesn't explicitly contrast with all similar tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for resizing images with width/height parameters and aspect ratio control, but doesn't explicitly state when to use this vs. alternatives like 'adjust_image' or 'upscale_image'. The 'Free tool — runs locally, no account needed' provides some context but not comparative guidance.

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