Skip to main content
Glama

Batch Convert & Optimize Images

image_batch_process

Convert, resize, and strip EXIF metadata from multiple local images into one output folder, keeping files on disk. Process up to 2 files free; PRO unlocks unlimited batches.

Instructions

Convert, resize, and strip EXIF metadata across multiple local images into an output folder. Free tier supports up to 2 files; ThisMyOwn PRO unlocks unlimited batch processing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputPaths": "<inputPaths>"
    },
    "name": "image_batch_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNowebp
qualityNo
maxWidthNo
outputDirNoDestination directory for processed images
inputPathsYesArray of local image file paths
stripMetadataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

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 full burden, and it does disclose two genuinely useful traits: results land in an output folder and metadata stripping is the default behavior. It does not say whether source files are modified in place, whether a failure on one file aborts the whole batch, or how output files are named, which are the questions an agent most needs answered before a bulk write.

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?

Two short sentences with the core action front-loaded and the limit stated second. The PRO upsell sentence is marketing-adjacent, but it does encode a real capability constraint, so it earns most of its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter batch mutation with no annotations and no output schema, the definition covers the headline behavior and the tier limit but omits return values, error/partial-failure semantics, and output naming. It is enough to attempt a call but not enough to call it safely on a large directory.

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 coverage is only 33%, with inputPaths and outputDir documented but format, quality, maxWidth, and stripMetadata carrying no schema descriptions. The prose partially compensates by mapping its verbs onto those parameters (convert→format, resize→maxWidth, strip EXIF→stripMetadata, output folder→outputDir), though 'quality' is never addressed and no format or dimension guidance is added.

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 gives a specific compound verb set (convert, resize, strip EXIF) applied to a clear resource (multiple local images) and a clear destination (an output folder). The batch scope ('across multiple local images') implicitly distinguishes it from single-image siblings such as image_compress_convert, but no sibling is named, so an agent must infer the split.

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?

Usage is only implied: the words 'multiple' and 'batch' suggest this is the tool for many files at once rather than one-off conversions, and the free-tier cap of 2 files gives a concrete precondition. There is no explicit when-not guidance or named alternative for single-image work, so the agent has to derive the routing rule itself.

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