Skip to main content
Glama

batch_test_endpoints

Test multiple API endpoints from an OpenAPI specification in one batch run. Use it for smoke testing or API health checks by filtering endpoints and setting a base URL and headers.

Instructions

Test multiple API endpoints from an OpenAPI spec in batch. Useful for smoke testing or API health checks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specYesOpenAPI specification as JSON string
baseUrlNoBase URL to use for testing (overrides spec servers)
headersNoOptional: Common headers for all requests
filterByTagNoOptional: Only test endpoints with this tag

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and largely fails: it does not say whether mutating endpoints (POST/PUT/DELETE) are actually executed, how auth is supplied, whether failures abort the batch or are collected, or whether requests are rate-limited. For a tool that fires many live HTTP calls, that is a material gap.

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 short sentences, front-loaded with the action and resource, with the batch scope before the use case. No filler or redundancy.

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?

No output schema and no annotations, yet the description never explains what a batch run returns (per-endpoint results? aggregate pass/fail?) or how a partially failing batch behaves. For a multi-request network tool, the definition is under-specified despite complete parameter docs.

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 100%, so every parameter (spec, baseUrl, headers, filterByTag) is already documented in the schema. The description adds nothing about parameter behavior (e.g. how filterByTag selection interacts with the spec, or precedence of baseUrl), so the baseline 3 applies.

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?

States a specific verb and resource ('Test multiple API endpoints from an OpenAPI spec') plus the scope modifier 'in batch', which implicitly separates it from the sibling test_api_endpoint. It never names that sibling, so differentiation is inferable rather than explicit.

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?

'Useful for smoke testing or API health checks' gives a use context, but offers no when-not guidance, no prerequisites, and no routing against test_api_endpoint, the obvious singular alternative. Usage is implied rather than prescribed.

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