Skip to main content
Glama

Image Resizer

image-resizer

Resize images to exact pixel dimensions with aspect ratio lock.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fitNoResize fit mode (contain=fit within, cover=fill & crop, fill=stretch)contain
imageYesBase64-encoded image (PNG, JPEG, WebP, AVIF, TIFF, GIF supported)
widthNoTarget width in pixels
formatNoOutput image formatpng
heightNoTarget height in pixels
qualityNoOutput quality (1-100, for lossy formats)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed8 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / fit
      Added value: +{
      +  "default": "contain",
      +  "description": "Resize fit mode (contain=fit within, cover=fill & crop, fill=stretch)",
      +  "enum": [
      +    "contain",
      +    "cover",
      +    "fill",
      +    "inside",
      +    "outside"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / format
      Added value: +{
      +  "default": "png",
      +  "description": "Output image format",
      +  "enum": [
      +    "png",
      +    "jpeg",
      +    "webp",
      +    "avif"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / height
      Added value: +{
      +  "description": "Target height in pixels",
      +  "maximum": 10000,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / image
      Added value: +{
      +  "description": "Base64-encoded image (PNG, JPEG, WebP, AVIF, TIFF, GIF supported)",
      +  "type": "string"
      +}
    • addedInput schema / properties / quality
      Added value: +{
      +  "default": 80,
      +  "description": "Output quality (1-100, for lossy formats)",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / width
      Added value: +{
      +  "description": "Target width in pixels",
      +  "maximum": 10000,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / required
      Added value: +[
      +  "image"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It states the core behavior (resize to exact dimensions, aspect ratio lock) but does not mention output format, whether the original is modified, how fit modes behave, or any side effects. The schema fills some gaps, but the description alone is insufficient.

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 a single, front-loaded sentence that communicates the essential function without any filler. It is concise and appropriate for a simple utility tool with a well-documented schema.

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?

The tool has no output schema, and the description does not mention what the tool returns (e.g., base64 image, file path) or how it handles the fit modes. It also lacks any reference to sibling tools or usage context. Given the descriptive schema compensates for parameters, the description is still incomplete for an agent to fully understand the tool's behavior and integration.

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%, and the parameter descriptions in the schema are fairly clear (e.g., 'Target width in pixels'). The description adds 'exact pixel dimensions' and 'aspect ratio lock' which loosely map to width/height and fit, but it doesn't add any new semantic detail beyond the schema.

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 'Resize images to exact pixel dimensions with aspect ratio lock' clearly identifies the specific operation (resize) and resource (images), and adds a distinctive behavioral trait (aspect ratio lock). This distinguishes it from siblings like image-crop or image-compressor, which have different purposes.

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 gives no guidance on when to use this tool versus alternatives like smart-resize or image-crop. It does not mention exclusions, prerequisites, or context, leaving the agent to infer usage from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.1/5.0
Disambiguation2/5

Multiple tools have overlapping purposes, such as bg-remover, bg-remover-pro, pro-matting, and takumi all performing background removal, and upscaler/upscaler-pro being redundant. With 202 tools, an agent may easily select the wrong one despite detailed descriptions.

Naming Consistency4/5

Most tools use a consistent kebab-case format with descriptive names like pdf-compress, image-resizer, and tax-return-calc. Exceptions like 'takumi', 'pro-matting', and '-pro' suffixes (bg-remover-pro, upscaler-pro) are minor deviations relative to the total.

Tool Count1/5

202 tools is an extreme mismatch for an MCP server, far exceeding the typical 3-15 well-scoped range. The sheer volume makes it unwieldy for an agent to efficiently navigate and select the right tool.

Completeness4/5

The tool set provides extensive coverage across many domains, including PDF operations (20+ tools), image editing, financial calculations, e-commerce fee estimation, and YouTube utilities. Minor gaps exist in cross-tool integration, but the breadth is highly comprehensive for the apparent purpose.

Resources