Skip to main content
Glama
XMLRiver MCP Toolkit

XMLRiver MCP Toolkit

by dietbear13

batch

Process up to 100 queries concurrently for SERP or Wordstat with ordered results, partial errors, durable journaling, and cache file paths.

Instructions

Process up to 100 phrases concurrently for SERP or Wordstat. Use operation, queries and common parameters. Up to 9 concurrent requests; paid retries count toward max_attempts. Returns ordered results and partial errors. Saves a durable journal and cache automatically and returns file paths. Use CLI batch for lists larger than 100 phrases.

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

Input Schema

NameRequiredDescriptionDefault
queriesYes
refreshNo
operationYes
parametersNo
concurrencyNo
max_attemptsNo

Output Schema

NameRequiredDescriptionDefault
statusYes
resultsYes
http_attemptsYes
completed_tasksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing a concurrency cap of 9, that paid retries consume max_attempts (a real cost consequence), that partial errors are returned alongside ordered results, and that a journal and cache are written to disk with paths returned. The one gap is that it never says what those side effects mean for repeat runs or disk usage.

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?

Five short sentences, with purpose and the 100-phrase limit front-loaded and each later sentence adding a distinct operational fact. Slightly staccato, but no sentence is padding.

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?

Covers the operational essentials for an open-world, non-idempotent batch job, and an output schema exists so return shape needn't be detailed. However, with six parameters, nested additionalProperties and zero schema coverage, the unexplained refresh flag and free-form parameters object leave real ambiguity.

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 0%, so the description must carry parameter meaning; it clarifies operation (SERP vs Wordstat modes), queries as phrases, concurrency (default 9) and max_attempts (paid retries count). It leaves refresh and the nested parameters object entirely unexplained, so half the surface remains opaque.

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: concurrently process up to 100 phrases for SERP or Wordstat. It maps cleanly onto the operation enum values, but it never contrasts itself with the sibling tools serp, wordstat_top or wordstat_history, so an agent must infer that this is the batch/multi-query variant.

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?

Gives an explicit when-not boundary: use CLI batch for lists larger than 100 phrases, matching the schema's maxItems of 100. It stops short of explaining when to pick batch over the single-operation siblings, so the alternative-selection guidance is only partial.

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