Skip to main content
Glama
c-sakel
by c-sakel

REST API Batch-Ausführung

rest_api_batch

Execute multiple WordPress REST API requests in a single batch operation to reduce HTTP round trips and streamline communication.

Instructions

Führt mehrere REST API Anfragen in einer Batch-Operation aus (WordPress 5.6+)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestsYesArray von Requests

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
responsesYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only mentions the WordPress 5.6+ requirement, but does not explain how batch failures are handled, whether the operation is atomic, how responses are aggregated, or any rate limits. This is a significant omission for a tool that executes arbitrary requests.

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?

The description is a single, focused sentence that front-loads the action and purpose. It contains no redundant information and every word earns its place.

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?

The tool has only one parameter, which is fully described in the schema, and an output schema exists, so return values are likely covered. However, the description omits crucial operational context for a batch tool, such as error semantics, ordering guarantees, or whether partial success is possible. The version note is helpful but not sufficient for complex usage.

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?

The input schema provides full descriptions for all parameters (e.g., 'REST API Pfad' for path, 'Array von Requests' for requests), so the schema coverage is 100%. The description adds no additional parameter semantics beyond what the schema already offers, warranting the baseline score of 3.

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 the tool executes multiple REST API requests in a batch operation, using the specific verb 'executes' and scoping to multiple requests. This distinguishes it from sibling tools like rest_api_execute, which presumably handle single requests. The mention of WordPress 5.6+ adds useful context.

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 implies the tool is for executing several requests at once, but it does not explicitly state when to use it over alternatives like rest_api_execute or when not to use it. No exclusions or direct comparisons are provided, leaving the usage guidance implicit rather than explicit.

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/c-sakel/wp-mcp-server'

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