Skip to main content
Glama

IP Geolocation (Live)

live_ip_lookup

Geolocate any IPv4/IPv6 address (or the caller's own IP when omitted) via ipwho.is: country, region, city, coordinates, timezone, ASN/network owner and currency. Cached 24 hours per IP. Use this when an agent needs to where is an IP address? Country, city, ASN, timezone. x402 price $0.02/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesLeave empty to look up the caller's IP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does a fair job: it names the upstream provider (ipwho.is), discloses 24-hour per-IP caching, lists return fields, and states the x402 price in USDC on eip155:8453. It stops short of describing auth flow for the payment or any 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The field list is front-loaded and useful, but the malformed 'Use this when...?' sentence wastes a full clause and reads as a copied search query. Pricing details land after the garbled line, reducing the flow.

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 single-parameter tool with no output schema and no annotations, the description covers input semantics, provider, return fields, caching, and cost. The main residual gap is auth/payment mechanics for x402, which an agent would need to execute a call.

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%, so the schema already documents the single ip parameter and its 'leave empty for caller's IP' behavior. The description repeats that behavior rather than adding format constraints (e.g. accepted IPv6 notation), so the baseline 3 applies.

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?

States a specific verb (geolocate) and resource (any IPv4/IPv6 address) and enumerates the returned fields. An agent can distinguish this lookup from siblings like live_geocode or live_dns_lookup without opening the schema.

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 line 'Use this when an agent needs to where is an IP address? Country, city, ASN, timezone' is grammatically garbled but does convey an intended use case. No alternatives (e.g. live_geocode for address-to-coordinates) are named, so routing remains inferred rather than guided.

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