Skip to main content
Glama

Upscale / Process Batch

sdnext_process_batch

Process multiple base64 images in one batch via SD.Next's image processing API, applying the same upscaling and enhancement options to every image.

Instructions

Process multiple images at once (SD.Next /sdapi/v1/process-batch). Same options as sdnext_process_image plus an images array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imagesYesBase64 input images.
save_dirNo
upscaler_1No
upscaler_2No
resize_modeNo
script_argsNo
upscaling_cropNo
upscaling_resizeNo
upscaling_resize_hNo
upscaling_resize_wNo
show_extras_resultsNo
extras_upscaler_2_visibilityNo
Behavior2/5

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

No annotations are provided, so the description must carry the burden for behavioral transparency. It does not disclose side effects (e.g., whether images are overwritten, costs incurred, rate limits), output structure, or technical constraints beyond the batching. It's effectively a summary of the schema, not a behavioral disclosure.

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 sentences, no fluff. Clear structure, but could include more explicit behavior detail and usage examples. Score 4 for brevity and clarity.

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?

Provides context that it's a batch version of sdnext_process_imageable and references the API endpoint. However, it omits details about output, processing time, error handling, and how the images input is structured (array of strings/paths?). Also lacks guidance on when to use batch vs single, limiting completeness.

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 only 8% (1/12 params described). Only mentions 'an images array' for the required param. Other 11 params are undocumented, and since it says 'Same options as sdnext_process_image', the semantics are delegated to another tool which may not be available in the current tool set. No parameter details, defaults, or constraints.

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

Purpose3/5

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

The description states it processes multiple images at once from a batch endpoint, and references sdnext_process_image with the addition of an images array. This provides a clear verb and resource, but the purpose is partially reliant on the sibling tool's description being known, and it doesn't fully distinguish its behavior (e.g., what 'process' entails). It's clear enough but not fully specific about the operation.

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 tells the agent that this is for processing multiple images (vs. single image via sdnext_process_image) and mentions the images array. However, it doesn't explain when to prefer this over the single-image tool or provide exclusions/alternatives beyond the implied sibling. It gives clear context but no explicit when-not guidance.

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/Congenital/sdnext_mcp'

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