Skip to main content
Glama

Tor Onionoo Relay Intel MCP

Search Tor relays via Onionoo

search_tor_relays
Read-onlyIdempotent

Search Tor relays by nickname, IP, fingerprint, flag (Exit, Guard, Fast, Stable, BadExit, HSDir), country code, ASN, or running status.

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": "search_tor_relays"
  }
}

Input Schema

NameRequiredDescriptionDefault
asnNoOptional ASN filter (e.g. "AS62744" or "62744").
flagNoOptional Tor relay flag filter.
limitNoMax relays to return (default 15).
queryNoNickname, IP address, or fingerprint prefix to search.
countryNoOptional 2-letter ISO country code (e.g. "DE", "US").
runningNoFilter by currently running status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety and network behavior are covered structurally. The description adds that searching is over Tor relay data sourced via Onionoo (per the title) but says nothing about result ordering, truncation at the limit, or what an empty result means. It adds some context but not behavior beyond the annotations.

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?

A single front-loaded sentence with no filler, which is well matched to a filtered search tool. The flag enumeration partially duplicates the schema enum, which is minor waste but keeps the intent readable at a glance.

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?

With six optional parameters and no output schema, the description should carry more of the return-value burden, but it never says what a result entry contains or how results are ordered. The input side is well covered by the schema, so only the output side is genuinely under-described.

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 100%, so every parameter already has its own semantics documented, making a baseline of 3 appropriate. The description restates the same fields rather than adding new meaning (e.g., how query matching works between nickname vs. fingerprint prefix, or how multiple filters combine). It also omits the V2Dir flag value that the enum actually supports.

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?

Specific verb (Search) plus resource (Tor relays) and an enumeration of the filter dimensions (nickname, IP, fingerprint, flag, country, ASN, running status). This distinguishes it from a single-record lookup like get_tor_relay_by_fingerprint, though the description never explicitly contrasts itself with that sibling.

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 filter list implies when the tool is useful (filtering the relay set by attributes), but there is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as get_tor_relay_by_fingerprint for a single relay or list_top_tor_exit_nodes for a ranked exit list. Usage must be inferred from the field enumeration.

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.