crop-image

Crop an image to a specified rectangular area. The image file path must be provided. The resulting image will be saved to the given output path. You must specify the top-left corner (left, top) and the dimensions (width, height) of the cropping area in pixels.

Server Image Processing MCP Server rafael-castelo/image-processing-mcp-server
Category Write
Risk class Medium
Parameters 00 required

What crop-image does on Image Processing MCP Server

AI agents use crop-image to create or update resources in Image Processing MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Image Processing MCP Server environment.

Why crop-image needs a policy

This tool creates or modifies image data by cropping and saving to a new file, which is a reversible write operation. It does not execute arbitrary code, delete data irreversibly, or move money. The blast radius is minimal—worst case scenario is an incorrectly cropped image file saved to an output path, which can be easily regenerated or deleted.

From the tool's definition Tool description states "The resulting image will be saved to the given output path," which indicates creation or modification of image files. The tool accepts parameters (left, top, width, height) for a cropping operation and persists the result to disk.

Questions about crop-image

What does the crop-image tool do? +

Crop an image to a specified rectangular area. The image file path must be provided. The resulting image will be saved to the given output path. You must specify the top-left corner (left, top) and the dimensions (width, height) of the cropping area in pixels. It is categorised as a Write tool in the Image Processing MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on crop-image? +

Register the Image Processing MCP Server MCP server in PolicyLayer and add a rule for crop-image: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Image Processing MCP Server. Nothing to install.

What risk level is crop-image? +

crop-image is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit crop-image? +

Yes. Add a rate_limit block to the crop-image rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block crop-image completely? +

Set action: deny in the PolicyLayer policy for crop-image. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides crop-image? +

crop-image is provided by the Image Processing MCP Server MCP server (rafael-castelo/image-processing-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.