resize-image

Resize an image to a given width and height. \n The image file path must be provided. \n The resulting image will be saved to the given output path. \n All provided paths must be absolute file paths for the images to be resized. \n Optionally, you can keep the aspect ratio (default: false) and se...

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

What resize-image does on Image Processing MCP Server

AI agents use resize-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 resize-image needs a policy

This tool creates or modifies image data reversibly. A resized image can be regenerated or restored from backups, making it a Write operation rather than Destructive. The blast radius is low because it only affects image dimensions and quality—typical use cases are benign image transformations. No data deletion, code execution, or financial impact occurs.

From the tool's definition The tool modifies image files by resizing them and saving the result to an output path. The description states 'The resulting image will be saved to the given output path,' indicating file creation/modification operations.

Questions about resize-image

What does the resize-image tool do? +

Resize an image to a given width and height. \n The image file path must be provided. \n The resulting image will be saved to the given output path. \n All provided paths must be absolute file paths for the images to be resized. \n Optionally, you can keep the aspect ratio (default: false) and set compression quality (default: format standard). 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 resize-image? +

Register the Image Processing MCP Server MCP server in PolicyLayer and add a rule for resize-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 resize-image? +

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

Can I rate-limit resize-image? +

Yes. Add a rate_limit block to the resize-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 resize-image completely? +

Set action: deny in the PolicyLayer policy for resize-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 resize-image? +

resize-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.