Skip to main content
Glama

Prince George Pulse

Run several queries

batch_api
Read-onlyIdempotent

Run up to four independent query_api calls, at most two at a time. Identical queries share work; results keep input order and individual errors. Use only when every answer is needed.

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": {
      "queries": "<queries>"
    },
    "name": "batch_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
queriesYesOne to four query_api argument objects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already cover safety (readOnly, idempotent, non-destructive, open-world). The description adds behavior of its own: a concurrency cap of two, deduplication of identical queries, preservation of input order, and per-item errors that do not abort the batch. It omits what happens when duplicate queries are coalesced (for example, whether the same result is returned twice), which is a minor 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?

Three short sentences, front-loaded with the cap and concurrency limit, then semantics, then a usage gate. Nothing is repeated and nothing is padding.

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?

With no output schema, the description must carry return-shape information, and it does explain ordering and per-item error reporting. It stops short of describing the shape that carries the individual success results and errors, so an agent must infer the structure, but the tool is otherwise well specified.

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?

Schema coverage is 100%, so the baseline is 3. The description still adds value: it explains that the entries are independent query_api argument objects, that identical entries share work, and that entries map one-to-one onto ordered results. That meaning goes beyond the array and maxItems constraints.

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 gives a concrete verb and resource: it runs independent query_api calls in a batch, and it bounds the batch (up to four, at most two at a time). It is immediately distinguishable from the query_api sibling, which runs a single query.

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 states an explicit when-to-use condition ("Use only when every answer is needed"), which implies that it should not be used for a single result, but it never says what to use instead, and it could just say to call query_api directly. The guidance is clear on context but light on exclusions.

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.

Resources