Skip to main content
Glama

Http Batch Request

http_batch_request

Execute multiple HTTP requests in one call to batch endpoint testing and cut token usage from repeated responses. Use it to debug and validate APIs without writing test code.

Instructions

Execute multiple HTTP requests efficiently in a single call.

Reduces token usage by batching requests and minimizing response overhead.

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": {
      "requests": "<requests>"
    },
    "name": "http_batch_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNoTimeout in seconds for each request
requestsYes
include_headersNoInclude response headers in output

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about whether requests run sequentially or in parallel, whether one failed request fails the whole batch, retry/throttling behavior, or auth propagation. The only behavioral claim made is a token-efficiency rationale.

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 purpose front-loaded and no filler. The second sentence is a rationale rather than a duplicate of the first, though it borders on marketing padding for a tool whose main open questions go unanswered.

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

Completeness4/5

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

An output schema exists, so return values need not be explained, and the input schema is self-documenting for the request shape. What is missing is batch-failure and concurrency semantics, which matter for an aggregating multi-request tool with zero annotations.

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 description coverage is 67% and every parameter (timeout, requests, include_headers, and the nested url/method/body/params/headers fields) already carries an inline description, so the schema does most of the work. The description adds no meaning beyond it, not even on ordering or per-request timeout semantics.

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?

"Execute multiple HTTP requests" states a specific verb and resource, and "batching" plus "multiple" implicitly distinguishes it from the single-request sibling http_request. However, the sibling is never named, so the distinction is left to inference rather than asserted.

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 stated benefit ("reduces token usage by batching") implies the usage context: reach for this when issuing several requests at once. There is no explicit when-to-use/when-not guidance, no mention of a maximum batch size, and no pointer to http_request for single calls.

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

Deploy Server

Other Tools