Skip to main content
Glama

500Toolbox

IP Address Lookup

ip-lookup
Read-onlyIdempotent

Returns the approximate location, ASN, ISP and timezone behind an IP address. Commonly used to attribute traffic in logs or to spot that a request came from a hosting provider rather than a consumer connection. Costs 1 credit per call.

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
ipYesIPv4 or IPv6 address to look up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive behavior, so the bar is lower. The description still adds value beyond them: the word 'approximate' signals accuracy limits on geolocation, and 'Costs 1 credit per call' discloses a metered cost that appears nowhere in the annotations.

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 short sentences, each earning its place: what is returned, when it is useful, and what it costs. The core output description is front-loaded ahead of the usage color and the pricing note.

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 usefully enumerates the return fields and adds accuracy and cost caveats, which is nearly everything an agent needs for a one-parameter lookup. It omits error behavior for invalid or private IPs, a minor gap given the tool's simplicity.

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 a single parameter with 100% schema description coverage including IPv4/IPv6 and an example, so the schema already does the work. The description adds no further parameter meaning such as input normalization or behavior on malformed addresses, so the baseline 3 applies.

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 uses a specific verb ('Returns') with a concrete resource (an IP address) and enumerates the returned fields: approximate location, ASN, ISP and timezone. It does not explicitly distinguish itself from siblings like dns-lookup or reverse-ip, which keeps it at a 4 rather than a 5.

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?

It gives two concrete usage contexts – attributing traffic in logs and detecting hosting-provider versus consumer connections – which tells an agent when the tool is appropriate. It stops short of naming alternatives (e.g., reverse-ip for PTR records) or stating when not to use it.

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