Skip to main content
Glama

tor-relay-count

Tor relay count. A static snapshot captured 2026-12-02, no input: the listed and running relay counts from the Tor network's Onionoo index with the capture dates printed, the exit and guard counts with their shares, the fast, stable, hsdir, and v2dir counts, the authority, bad-exit, middle-only, and stale-description counts, and the bridge count. Price: $0.01 per call, paid in USDC on Base mainnet over x402; an unpaid call answers HTTP 402 with the exact machine-readable payment terms.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tor-relay-count"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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 supplied, the description carries the full burden and does so: it discloses determinism ('static snapshot', fixed capture date), the zero-input contract, the cost ($0.01 per call in USDC on Base mainnet via x402), and the failure mode (HTTP 402 with machine-readable payment terms). Cost and payment/auth behavior are exactly the kind of pre-call detail an agent otherwise cannot infer.

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-loaded with purpose, then the snapshot date, then the returned metric inventory, then pricing. The long middle enumeration is dense but each item earns its place because no output schema exists to carry it; only the itemized count list runs longer than strictly necessary as prose.

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?

For a zero-param, no-output-schema tool, the description substitutes for the missing return documentation by enumerating the exact metrics emitted, and it also covers the two things an agent must know before calling: data vintage and payment requirement. Nothing needed for correct invocation is missing.

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?

With zero parameters, the baseline is 4, and the description confirms 'no input' rather than leaving it ambiguous. There is nothing further to add on parameter meaning.

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?

Names the resource precisely ('Tor relay count') and then enumerates the exact figures returned: listed/running counts, exit and guard counts with shares, fast/stable/hsdir/v2dir, authority/bad-exit/middle-only/stale-description, and bridge count. No sibling in the catalog overlaps with Tor network data, so there is nothing to disambiguate against, and an agent knows exactly what it gets without opening a schema.

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?

'A static snapshot captured 2026-12-02, no input' tells the agent it needs no arguments and that the data is a fixed vintage rather than live, which is real usage context. It stops short of stating exclusions or naming an alternative, but no realistic alternative exists for this data.

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