Skip to main content
Glama

batch_process

Apply identical image operations to all files in a folder within one GIMP session. Failed files are reported without stopping the batch, preserving throughput.

Instructions

Apply the same operations to every image in a folder.

All files are handled inside a single GIMP session, so a large folder costs one GIMP startup rather than one per file. A file that fails does not abort the run: it is reported in errors and the rest continue.

operations is a JSON list, same format as process_image. Set suffix to e.g. "_out" to avoid overwriting, and output_format to "jpg"/"png" to convert.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
suffixNo
backendNo
patternNo
qualityNo
input_dirYes
recursiveNo
operationsYes
output_dirYes
output_formatNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses single-session processing, failure isolation with reported errors, and overwrite avoidance through suffix, all of which are valuable beyond the schema. It does not cover every behavioral nuance, but the core runtime traits are well described.

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 compact and well-structured: one sentence for purpose, one short paragraph for runtime behavior, and one for parameter guidance. Every sentence contributes useful information without repetition or fluff.

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?

Core behavior, error reporting, and key parameter usage are covered, and an output schema is indicated to exist. However, with 9 parameters and zero schema descriptions, several parameters such as backend, pattern, recursive, and quality remain under-specified for an agent to invoke the tool confidently.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It does explain operations as a JSON list in process_image format, suffix for avoiding overwrites, and output_format for conversion, but it leaves backend, pattern, recursive, quality, input_dir, and output_dir semantically unexplained despite having 9 parameters.

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 opening sentence states a specific verb and resource: apply the same operations to every image in a folder. This clearly distinguishes the tool from single-image tools like process_image and from specialized batch tools like batch_fit_to_spec or batch_check_image_spec.

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 makes the batch usage context clear by explaining that a large folder costs one GIMP startup rather than one per file, which strongly implies the batch counterpart to process_image. It does not explicitly name alternatives or say when not to use this tool, but the context is not misleading.

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

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/Diterex/gimp-mcp'

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