Skip to main content
Glama

Crypto, web, finance and app data tools

IP Address Lookup

ip_lookup

Who owns an IP address (or a hostname's IP): ASN, network holder, announced prefix, regional registry, country, approximate city and coordinates, reverse DNS. Use for fraud checks, log analysis or finding a site's host.

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": "<ip>"
    },
    "name": "ip_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. The phrasing ('Who owns...') implies a passive, read-only enrichment call, but it says nothing about rate limits, auth expectations, error behavior for malformed or private IPs, or whether the response is cached/approximate.

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 core question answered, then the returned fields, then use cases. No filler or repetition of the tool name.

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 the enumerated return fields are arguably redundant but harmless. The real gap is input guidance (accepted formats, hostname handling) for a parameter with zero schema documentation, plus no statement of what happens on invalid or private-range inputs.

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 0% – the single 'ip' field is documented only as a title. The description adds partial meaning by saying it takes an IP address '(or a hostname's IP)', but it is ambiguous whether hostnames are accepted directly or must be resolved first, and never mentions IPv4 vs IPv6 support.

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+resource (lookup who owns an IP) and enumerates exactly what it returns: ASN, network holder, prefix, registry, country, city, coordinates, reverse DNS. It does not explicitly distinguish itself from related siblings like dns_lookup or domain_whois, so an agent must infer the boundary.

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?

"Use for fraud checks, log analysis or finding a site's host" gives usage contexts but no when-not conditions and never names an alternative tool. 'Finding a site's host' overlaps with dns_lookup without saying which to prefer.

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