Skip to main content
Glama

TunnelMind Data API

ghostroute_batch_check

Batch form of ghostroute_check: one verdict per subject, aligned to input order. The batch is validated whole before anything is charged, run or signed: an empty or non-array subjects, or any invalid subject, fails the entire batch with 400 invalid_request (the message names subjects[i]), and more than 50 subjects fails it with 413 payload_too_large. A {ok:false, error} entry appears inline only when the check for an already-valid subject fails at runtime; the other subjects still return their verdicts.

Use this tool when:

  • You need routing-integrity / sovereignty verdicts for many endpoints at once.

Inputs:

  • subjects (body, required): 1-50 IPs, domains, ASNs (AS####) or cert hashes.

  • receipt (body, optional): when true, each verdict is a signed, persisted GhostRoute receipt.

Returns:

  • count, results[] — each {ok, subject, ...verdict} (plus receipt_id, signature when receipts were requested).

Cost:

  • Each subject costs one rate-limit unit (the first is the request itself). A batch larger than the remaining budget is refused whole with 429 and charges nothing beyond that first unit, so the effective maximum per call is min(50, remaining + 1): anonymous 10/min, free 50/day, supporter 500/day, pro 5,000/day, enterprise unlimited.

Latency:

  • Subjects run in parallel; roughly the slowest single check (300-900ms cold).

Input Schema

NameRequiredDescriptionDefault
receiptNoWhen `true`, issue a signed, persisted GhostRoute receipt per subject.
subjectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: whole-batch pre-validation, 400 `invalid_request` naming `subjects[i]`, 413 `payload_too_large` above 50 subjects, inline `{ok:false,error}` partial-failure semantics, rate-limit accounting (one unit per subject, whole-batch 429 refusal charging nothing beyond the first unit), and per-tier budgets.

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?

Front-loads the core purpose, then organizes the rest under clear Inputs / Returns / Cost / Latency headings. It is dense but every section carries actionable information for a tool with no annotations and no output schema; the cost paragraph is the only mildly verbose stretch.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 exist, so the description must supply return shape and error behavior — it does both (`count`, `results[]`, per-entry `{ok, subject, ...verdict}` plus `receipt_id`/`signature`). Errors, cost limits, and latency are all covered, leaving nothing an agent needs in order to call it correctly.

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 50% (only `receipt` is documented in-schema). The description compensates by defining the accepted subject formats — 1-50 IPs, domains, ASNs (AS####) or cert hashes — which the schema lacks entirely, and clarifies the receipt flag's signing/persistence behavior. It stops short of 5 only because exact hash/ASN formats remain loosely specified.

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?

Opens with a specific verb+resource and scope: 'Batch form of `ghostroute_check`: one verdict per subject, aligned to input order.' This immediately distinguishes it from the single-subject sibling `ghostroute_check` and tells the agent exactly what it produces and how results are ordered.

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?

Explicitly states 'Use this tool when: You need routing-integrity / sovereignty verdicts for many endpoints at once,' which frames the batch-vs-single choice. It does not spell out a negative condition ('do not use for a single subject; use ghostroute_check'), so it falls just short of a 5.

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