Skip to main content
Glama
kevinten-ai

Media Toolkit MCP Server

by kevinten-ai

resize_image

Resize or crop images to exact dimensions with three modes: fit, fill, and crop. All processing occurs locally.

Instructions

Resize or crop an image to specific dimensions. Supports three modes: fit (preserve aspect ratio, fit within bounds), fill (preserve aspect ratio, cover bounds), crop (center crop to exact size). Works locally with Pillow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoResize mode: 'fit' (contain within bounds, default), 'fill' (cover bounds), 'crop' (center crop to exact size)fit
widthYesTarget width in pixels
heightYesTarget height in pixels
image_pathYesPath to the input image file
output_pathNoPath to save the output image (optional, auto-generated if omitted)
Behavior3/5

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

No annotations provided; mentions 'works locally with Pillow' and auto-generated output path, but lacks disclosure on file overwriting or permissions beyond basic operation.

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?

Two sentences covering purpose, modes, and local operation with no wasted words; highly efficient.

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 full schema coverage and no output schema, the description adequately explains the three modes and local usage; missing potential warnings about input validity or return value.

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 100%; the description reinforces mode options already in the schema but adds little new semantic value beyond the structured definitions.

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 tool resizes or crops images to dimensions, lists three modes (fit, fill, crop) distinct from sibling tools like convert_format or remove_background.

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

Usage Guidelines4/5

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

The description explains when to use each mode (fit, fill, crop) but does not explicitly compare to sibling tools or state when not to use this tool.

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/kevinten-ai/mcp-media-toolkit'

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