Skip to main content
Glama

batch

batch
Read-only

Run up to 10 primitive calls in one round trip. One x402 payment of $0.02 (=$0.0020 per call) — below the priciest single-call route ($0.01). Each request specifies an endpoint (normalize, validate, extract, redact, classify, dedupe, diff, chunk, extract_custom, validate_json, slugify, hash) and the input for it; the response carries the results in the same order. Single-call batch — no streaming. The larger ladder rungs go lower per call: /v1/batch/50 ($0.075, =$0.0015/call) and /v1/batch/100 ($0.100, =$0.0010/call). $0.02 USDC per successful call (x402, client-paid); failed calls are not charged.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only annotations, it discloses payment mechanics, cost per call, that failed calls are not charged, response ordering, the 10-call limit, and that there is no streaming. These are exactly the behavioral details an agent needs before invoking a paid batch operation.

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?

The description is front-loaded and dense with useful routing and cost information. The pricing ladder and repeated per-call calculations are somewhat verbose, but they support choosing among sibling batch tools.

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

Completeness5/5

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

Given zero declared parameters, no output schema, and existing annotations, the description is complete enough: it covers the call limit, payment model, failure charging, result ordering, endpoint options, and no-streaming behavior.

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?

The schema has zero parameters, so baseline is 4. The description adds useful meaning by explaining that each batched request carries an 'endpoint' and input, and it enumerates valid endpoint values, though it does not fully specify the top-level request shape.

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 states a specific verb and resource: 'Run up to 10 primitive calls in one round trip.' It distinguishes this tool from batch50 and batch100 by its 10-call limit and pricing, and it lists the primitive endpoints it can batch.

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 gives clear usage context: one x402 payment, up to 10 primitive calls, and cheaper than the priciest single-call route. It also names the larger batch alternatives with their prices, but it does not explicitly say when to choose batch50 or batch100 instead of this one.

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.