Skip to main content
Glama

image-resize-convert-compress-watermark

Make thumbnails

image_thumbnails

Call this tool to write one thumbnail per input into out_dir as -thumb., fit inside size by size, aspect kept. Paths are reserved before writing, so a collision leaves nothing half-done. Free: 5/call, 4 MP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoLongest side of the thumbnail in pixels, default 256
pathsYesNames of images uploaded with image_upload
out_dirYesNot a directory here: every output comes back as its own download link valid for one hour. Any value is accepted and ignored
overwriteNoReplace out_path if it already exists. Default false. Never allows an output to be one of the inputs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

It adds useful traits – atomic path reservation ('collision leaves nothing half-done') and a rate limit ('Free: 5/call, 4 MP'). However, it states outputs are written into out_dir, whereas the schema asserts out_dir is ignored and outputs are download links, so the description actively misrepresents a central behavior. With all annotations false, this inaccuracy is not offset by structured signals.

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?

Three sentences deliver the core action, an atomicity guarantee, and a cost limit with no filler. The key behavior is front-loaded in the first sentence.

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?

This tool has no output schema and no meaningful annotations, so the description must stand alone. It omits that results come back as temporary download links (left to the schema) and incorrectly presents out_dir as a real target. The atomicity and cost notes help, but the misleading output channel is a critical gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds meaning for size by defining the fit and aspect behavior, and for the output path by giving the '<name>-thumb.<ext>' pattern. However, its characterization of out_dir clashes with the schema's explicit 'ignored' behavior, so the added value is partly undermined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Call this tool to write one thumbnail per input into out_dir' – a concrete action with a specific output naming pattern. It states the resizing constraint ('fit inside size by size, aspect kept') and makes clear it produces thumbnails, though it never explicitly differentiates from sibling tools like image_resize or image_batch_resize.

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?

No guidance contrasts this tool with the many image siblings; it simply instructs to call it for thumbnails, leaving an agent to infer when that is preferred over a plain resize. There are no exclusions, prerequisites, or alternative references.

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.