Skip to main content
Glama

fs_image_crop

Crop a rectangular region from an image by specifying coordinates and dimensions. Saves the cropped portion to a new file.

Instructions

Crop rectangular region from image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
widthYes
heightYes
dest_pathYes
source_pathYes
Behavior2/5

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

With no annotations provided, the description must fully disclose behavioral traits. It only states 'crop rectangular region' without mentioning side effects (e.g., overwriting dest_path), permission needs, or error conditions. The lack of detail leaves agents uninformed about the tool's impact.

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 a single short sentence, which is front-loaded and concise. However, it is under-specified and lacks necessary details, making it insufficiently sized for the tool's complexity. Every sentence should earn its place; this one is too brief.

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 the tool's complexity (6 required parameters, image manipulation, no output schema), the description is incomplete. It does not explain coordinate systems, supported image formats, error handling, or return behavior, leaving significant gaps for an AI agent.

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

Parameters1/5

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

Schema description coverage is 0%, meaning the description adds no meaning beyond the schema. There are 6 parameters with no explanation of coordinate origin, units, or how they relate to the image. The description fails to compensate for the lack of parameter documentation.

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 verb 'crop' and the resource 'image', specifying the action of cropping a rectangular region. It effectively distinguishes this tool from sibling tools like fs_image_resize and fs_image_rotate, which perform different image manipulations.

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 or rotate. It does not mention prerequisites, context, or conditions that would help an agent decide to invoke this tool over others.

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/kurtzhi/fsext-mcp-server-typescript'

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