Skip to main content
Glama

IP.LS — IP Lookup Service

IP / domain geolocation lookup

ip_lookup
Read-onlyIdempotent

Look up geolocation, ISP and network info for any IPv4/IPv6 address or hostname, or an array of them for batch lookup. Returns ip, city, region, country, coordinates, ASN/ISP, timezone and continent (full name, e.g. North America); when a domain is queried, an extra domain field echoes it. Data source: DB-IP Lite (CC BY 4.0). Anycast IPs are approximate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIPv4/IPv6 address or hostname, e.g. 8.8.8.8 or example.com. Pass an array for batch lookup, e.g. ["8.8.8.8", "1.1.1.1"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond that: data source (DB-IP Lite, CC BY 4.0), the anycast approximation caveat, the domain field echo, and the exact set of returned fields, which helps an agent anticipate output shape.

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?

Three focused sentences: the first states functionality, the second enumerates return fields, and the third adds data-source and accuracy caveats. Every sentence earns its place, with no repetition or padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, read-only lookup with no output schema, the description is complete: it covers accepted inputs, return fields, special behavior for domains, data provenance, and an important geographic caveat. An agent has enough context to call this tool and interpret the result correctly.

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%, and the schema already documents the string/array types, batch lookup, and examples such as 8.8.8.8 and example.com. The description reinforces that arrays are supported but introduces no new parameter-level meaning, so the baseline 3 is appropriate.

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 names a specific verb ('Look up') and resource (geolocation, ISP, network info for IPv4/IPv6, hostname, or batch arrays). The scope 'any IPv4/IPv6 address or hostname' plus the return-field list clearly distinguishes it from siblings like ip_self or ip_resolved.

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 description implies when to use the tool: whenever an agent needs geolocation, ISP, or network metadata for an arbitrary IP or hostname. However, it does not explicitly state when not to use it or name alternatives such as ip_self or ip_resolved, so the usage guidance remains implicit rather than explicit.

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