Skip to main content
Glama

resize_image

Read-onlyIdempotent

Resize an image to target dimensions. Supports fit modes: 'cover' (crop to fill), 'contain' (fit within, letterbox), 'stretch' (exact size). Useful for preparing images for specific platforms, thumbnails, or social media. FREE. (FREE)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoResize mode: 'contain' (fit within bounds, preserve aspect ratio), 'cover' (crop to fill), 'stretch' (exact size, may distort)contain
imageYesBase64-encoded PNG/JPEG image
widthYesTarget width in pixels (1-8192)
formatNoOutput formatpng
heightYesTarget height in pixels (1-8192)
qualityNoJPEG/WebP quality (1-100)

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, which align with resizing being non-destructive. The description adds no behavioral contradictions. However, it includes the redundant 'FREE' note which is not explained.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is fairly concise with two main sentences and a small redundancy (repeated 'FREE'). It is front-loaded with the core purpose. Minor waste, but still effective.

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?

There is no output schema, and the description does not explain the return value (e.g., base64 string or URL). It also lacks details on file size limits, performance, or handling of large images. Given the tool's complexity and missing output info, completeness is inadequate.

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%, so the schema already documents all parameters thoroughly. The description does not add additional meaning beyond the schema; it only restates modes. Baseline 3 is appropriate.

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's action ('Resize an image to target dimensions') and lists specific modes. It also mentions use cases (thumbnails, social media) which distinguishes it from sibling tools like upscale_image 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 Guidelines3/5

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

The description provides some context for when to use (preparing images for platforms), but does not explicitly state when not to use or mention alternatives among siblings. Usage is implied rather than explicit.

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

A3.7/5.0
Disambiguation5/5

Each tool targets a distinct operation—artwork retrieval, image processing, asset management, watermarking, etc.—with clear descriptions that prevent confusion. Even similar tools like enrich_metadata and get_artwork_oracle are differentiated by depth and purpose.

Naming Consistency5/5

Tool names follow a consistent verb_noun pattern in snake_case (e.g., get_artwork, remove_background, register_hash). The few non-verb-starting names (compliance_manifest) are standard and do not break the overall pattern.

Tool Count4/5

27 tools is slightly above the typical range but justifiable given the broad domain covering artwork access, image processing, and digital rights. Each tool serves a unique purpose without redundancy.

Completeness5/5

The tool set covers the full lifecycle: search, retrieve, analyze, edit, save, and verify assets. Gaps are minimal—e.g., no metadata deletion tool—but the core workflows are fully supported, and the inclusion of compliance and provenance tools adds value.