Skip to main content
Glama

IP Lookup

IPLookup
Read-only

IP Lookup: IP Lookup is an IP address location API that resolves any IP to its country, region, timezone and continent, with the country's currency, calling code, languages and flag and the local time there. Private and reserved addresses are labelled instead of failing. Paid plans add city, coordinates, postal code, an accuracy radius, an EU-membership flag, ASN and the reverse DNS hostname. (Cost: 10 credits)

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

Input Schema

NameRequiredDescriptionDefault
ipYesThe IP address for which you want to get the location data (e.g., 173.172.81.20)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely non-obvious behavior: private and reserved addresses are labelled rather than failing, a fixed cost of 10 credits, and a tiering rule that city, coordinates, postal code, accuracy radius, EU flag, ASN and reverse DNS require a paid plan.

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?

Front-loaded with the core purpose, then behavioral notes, then cost — a sensible order. It wastes a few words on the redundant 'IP Lookup: IP Lookup is an IP address location API' opener, and the long returned-fields clause could be tightened, but overall it is dense with useful information.

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?

An output schema exists, so the return shape need not be spelled out; the description still explains graceful handling of private/reserved IPs, plan-based field availability and credit cost, which are the gaps structured fields do not cover. For a single-parameter read tool this is close to complete, with only input-format (IPv4/IPv6) and sibling routing left implicit.

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?

Only one parameter exists and schema description coverage is 100%, with an example IP supplied, so the baseline is 3. The description adds nothing about the argument itself — notably it does not say whether IPv6 or CIDR-style inputs are accepted, which is the one detail that would add value 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?

The description names a specific verb and resource — resolving an IP address to geographic and locale data — and enumerates the returned fields (country, region, timezone, continent, currency, calling code, languages, flag, local time). It does not explicitly contrast itself with overlapping siblings such as IPDemographics, ASNLookup, or ReverseDNSLookup, though mentioning ASN and reverse DNS as paid add-ons implicitly signals the overlap.

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?

Usage context is implied: it is for resolving an IP to location data, and the paid-plan note tells the agent some fields may not be available. There is no explicit when-to-use/when-not guidance and no naming of alternatives like ASNLookup for ASN-only queries or ReverseDNSLookup for hostname-only queries, leaving routing to inference.

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.