Skip to main content
Glama

image_batch_edit

Apply a single edit instruction to multiple local images in one batch, ideal for replacing backgrounds or unifying style across up to 20 images. Each image is processed as a separate request.

Instructions

对多张本地图片逐张执行同一编辑指令,适合批量换背景或统一风格。

image_paths 最多 20 张;每张图片会产生一次独立的计费请求。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo1024x1024
modelNo
promptYes
qualityNo
output_dirNo
image_pathsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden of disclosure. It discloses the 20-image limit and independent billing per image, which are important operational traits. However, it does not describe output behavior, whether input files are modified, or any permission requirements.

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?

Two sentences, front-loaded with purpose and then constraints. Every sentence earns its place, with no redundancy or fluff.

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?

With no annotations and low schema coverage, the description should cover more ground. It includes key batch limits but omits explanations for most parameters and output handling, making it incomplete for a complex batch operation.

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 adds meaning to image_paths (max 20, per-image billing) but leaves prompt, size, model, quality, and output_dir unexplained. This is insufficient for a 6-parameter tool.

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 it executes the same edit instruction on multiple local images one by one, suitable for batch background replacement or uniform style. This specific verb+resource+scope distinguishes it from sibling tools like image_edit (single image) and image_generate.

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?

It mentions suitability for batch background replacement or uniform style, providing clear context for when to use the tool. However, it does not explicitly name alternatives or state when not to use it.

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

Install Server

Other Tools

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/cimicimi9090/mcp-pic-metarouters'

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