Skip to main content
Glama

crop_image

Crop images to specific pixel dimensions using rectangle coordinates. This free tool runs locally without requiring an account.

Instructions

Crop an image to the specified rectangle (left, top, right, bottom in pixels).

Free tool — runs locally, no account needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
leftYes
topYes
rightYes
bottomYes
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. It discloses that it's a free tool that runs locally with no account needed, which adds useful behavioral context about accessibility and execution environment. However, it doesn't cover aspects like whether the original file is modified, error handling, 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 extremely concise with just two sentences that each add distinct value. The first sentence explains the core functionality, and the second provides important behavioral context. No wasted words or redundant information.

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 6 parameters with 0% schema coverage, the description provides basic purpose and some behavioral context but lacks parameter details for half the inputs and doesn't help differentiate from sibling tools. It's minimally adequate but has clear gaps.

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. It explains that parameters represent rectangle coordinates (left, top, right, bottom in pixels), which clarifies the meaning of 4 out of 6 parameters. However, it doesn't address 'file_path' or 'output_path' semantics, leaving significant gaps in parameter understanding.

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

Purpose5/5

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

The description clearly states the specific action ('Crop an image') and the resource ('image'), specifying the rectangle parameters in pixels. It distinguishes from siblings like 'resize_image' or 'adjust_image' by focusing on cropping rather than resizing or other adjustments.

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 like 'resize_image' or 'adjust_image' from the sibling list. It mentions it's a free local tool, but this doesn't help differentiate usage scenarios.

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