Skip to main content
Glama

IP-API.io

tor_check

tor_check
Destructive

Check whether an IPv4 or IPv6 address is currently listed as a Tor exit node.

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": {
      "api_key": "<api_key>",
      "ip": "<ip>"
    },
    "name": "tor_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address to check.
api_keyYesip-api.io API key.

Output Schema

NameRequiredDescriptionDefault
ipYes
is_torYes
tor_node_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior1/5

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

The description describes a pure read query ('Check whether ... is currently listed'), while annotations declare readOnlyHint=false and destructiveHint=true. That is a direct inconsistency an agent could act on incorrectly. The description also adds nothing about API-key auth, rate limits, or how fresh the Tor list is.

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 well-formed sentence with zero wasted words, front-loaded on the verb and resource. It is efficient but so terse that structure beyond the one clause does not exist.

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?

An output schema exists so return values need no explanation, and parameters are fully documented. For a two-parameter lookup this is close, but the destructive/read-only ambiguity and the absence of any note on key requirements or result freshness leave an agent with open behavioral questions.

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% and both parameters carry descriptions, so the schema already does the explanatory work. The description's 'IPv4 or IPv6' phrasing reinforces the expected address format but adds no new meaning beyond the schema.

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?

States a specific verb and resource: checks an IPv4 or IPv6 address against the Tor exit-node list. The Tor-exit-node scope is narrow and distinct enough from siblings like ip_abuse_check or ip_blacklist_check for an agent to pick it, though the description never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of siblings. The word 'currently' hints that this is a real-time list check, but nothing tells an agent whether to prefer this over ip_reputation or risk_score for the same address.

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