Skip to main content
Glama

lookup_ip

Read-onlyIdempotent

Retrieve geolocation (country, region, city, coordinates, geohash, timezone), network ASN/ISP metadata, and proxy/VPN/Tor/threat intelligence for an IPv4 or IPv6 address. If 'ip' is omitted, resolves the caller's public IP address.

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

Input Schema

NameRequiredDescriptionDefault
ipNoIPv4 or IPv6 address to inspect (e.g. '8.8.8.8' or '2001:4860:4860::8888'). Omit to inspect the requester's own IP.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/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 external-dependency behavior are covered. The description adds value the annotations don't: it enumerates the result categories and states the fallback behavior when 'ip' is omitted, which is meaningful for an external-intelligence lookup. It does not mention rate limits, caching, or per-provider variance, keeping it below a 5.

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?

Two sentences, front-loaded with the primary capability and followed by the conditional default. Every clause carries information (return domains, supported address families, omission behavior) with no filler.

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?

With no output schema, the description correctly shoulders the burden of describing the return payload by naming each data category, and it explains the zero-argument default. It is nearly complete for a single-optional-parameter read tool; only failure modes (invalid address, unsupported input) are left unaddressed.

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?

There is only one optional parameter and schema description coverage is 100%, so the schema already documents both the address format and the omit-to-self behavior. The description restates the same IPv4/IPv6 and omission semantics without adding syntax, format, or validation detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

The description uses a specific verb ('Retrieve') with a clearly identified resource (an IPv4/IPv6 address) and enumerates the data categories returned: geolocation, ASN/ISP, and proxy/VPN/Tor/threat intel. This is far more specific than the tool name alone and cannot be confused with the unrelated siblings (get_balance, search_nearby_poi, validate_email).

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?

Usage context is unambiguous: call this to inspect an address, and omit 'ip' to inspect yourself. There are no exclusions or named alternatives, but the sibling tools occupy entirely different domains, so no routing guidance is genuinely needed. The one gap is that it doesn't state when the tool would be inappropriate (e.g., hostnames or CIDR ranges).

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