Skip to main content
Glama
tor-onionoo-relay-intel-mcp

tor-onionoo-relay-intel-mcp

Check if an IP is a Tor relay or exit node

check_tor_ip
Read-onlyIdempotent

Checks whether an IPv4 or IPv6 address is a current Tor relay or exit node and returns flags, ASN, country, and bandwidth from Onionoo data.

Instructions

Check whether an IPv4 or IPv6 address appears in the Tor Project Onionoo relay directory, returning exit node status, flags, ASN, country, and bandwidth.

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": {
      "ip_address": "<ip_address>"
    },
    "name": "check_tor_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault
ip_addressYesIPv4 or IPv6 address to check (e.g. "204.8.96.141").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive behavior, so the bar is lower. The description adds real value by naming the upstream data source (Onionoo) and enumerating what comes back (exit status, flags, ASN, country, bandwidth), which is especially useful since no output schema exists. It stops short of noting data freshness or rate limits.

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?

One sentence, front-loaded with the core action and scoped with the data source and return fields. Nothing is wasted and nothing important is buried.

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 one-parameter read-only lookup with no output schema, the description covers the source, the input type, and the returned fields, which is nearly everything an agent needs. A note on data freshness or what an empty result means would make it fully complete.

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% for the single parameter, and the schema already documents IPv4/IPv6 with an example address. The description's 'IPv4 or IPv6 address' merely restates that, so it adds no meaning beyond the schema — the baseline 3 for full coverage is appropriate.

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 pairs a specific verb ('Check whether ... appears') with a precise resource (the Tor Project Onionoo relay directory) and names the return fields. It is clearly distinct from sibling tools like get_tor_relay_by_fingerprint or list_top_tor_exit_nodes, though it never explicitly states that differentiation.

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 single-IP lookup framing implies when to use it (validating one address against Tor relay data), but there is no explicit when-to-use/when-not guidance and no mention of the sibling alternatives for fingerprint lookups or bulk relay searches.

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