Skip to main content
Glama

grid402_batch

Executes 1–5 paid data services in one HTTP POST, prices them as the exact item sum, and issues automatic Session Pass partial refunds for failed sub-items.

Instructions

Execute 1 to 5 paid Grid402 data services in a single HTTP POST call (max 2 items in sandbox/demo). Dynamically priced as the exact sum of item fees, with automatic Session Pass partial refund on sub-item failures.

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": {
      "items": "<items>"
    },
    "name": "grid402_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesList of 1 to 5 sub-requests: [{"service":"dns","params":{"domain":"base.org"}}]. Recursive/admin services (batch, pass, verify, summary) are blocked.
idempotency_keyNoOptional Idempotency-Key header for safe retries without duplicate billing (300s TTL).
payment_tx_hashNoOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does meaningful work: pricing is disclosed as the exact sum of item fees, limits are given, and failure semantics are flagged via automatic Session Pass partial refund on sub-item failures. It omits how partial failures are reported in the response and any auth/permission requirements, which keeps it short of a 5.

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 tightly written sentences with the core capability and pricing/failure model front-loaded. Nothing is redundant or padded.

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?

For a paid batch tool with no annotations and no output schema, the description covers capacity limits, cost calculation, and failure/refund behavior, which are the decision-critical facts. What's missing is the shape of a partial-success result and how per-item errors surface, which an agent calling this tool would want to know.

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 coverage is 100%, so service slugs, params, idempotency_key, and payment_tx_hash are already documented in the schema. The description reinforces the item-count constraint but adds no new meaning for idempotency or payment semantics, so the baseline of 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?

The description uses a specific verb and resource ('Execute 1 to 5 paid Grid402 data services in a single HTTP POST call'), which makes the batch fan-out behavior distinct from the single-service siblings like grid402_dns or grid402_cnpj. It doesn't name a sibling explicitly, so the differentiation is implicit rather than stated.

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 gives useful boundary conditions (1 to 5 items, max 2 in sandbox/demo), which imply when the tool applies. However, it never states when an agent should prefer one batch call over several individual service calls, nor does it point to those alternatives.

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