Skip to main content
Glama

IP Country & Network Lookup (DB-IP Lite)

ip_lookup

Look up one or up to 50 IPv4/IPv6 addresses: country (ISO2 and name), autonomous system number and organisation, the matching network range, plus private/reserved address detection. Served from a monthly local copy of the DB-IP Lite country and ASN databases, so lookups are fast and nothing is sent to third parties. Use when an agent needs the country and network operator (ASN/organisation) of an IPv4 or IPv6 address for fraud checks, geo-compliance or log enrichment. Paid per call via x402 (USDC on Base).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNoIPv4/IPv6 address, or up to 50 comma-separated
payment_signatureNox402 v2 PAYMENT-SIGNATURE header value. Omit to receive payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that lookups are served from a local DB-IP Lite copy (offline, no third-party transmission), notes caching/update cadence (monthly), and states the pricing model (paid per call via x402). It omits details like rate limits, error behavior, or what happens on invalid input.

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-loads the core capability and return fields, then usage context, then delivery/payment notes. Every sentence adds information; a slightly denser single paragraph could be tightened but there is no filler or repetition.

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 two-parameter lookup tool with full schema coverage, no annotations, and no output schema, the description covers purpose, return fields, data source, usage context, and payment mechanism. Minor gaps remain around error/edge-case behavior (invalid IP, partial batch failures), but the agent has enough to invoke it 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%, so both parameters are fully documented in the schema (IPv4/IPv6 up to 50 comma-separated, and the x402 PAYMENT-SIGNATURE header). The description repeats the 50-address cap but adds no syntax, format, or semantics beyond the schema. 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 (look up) and resource (IPv4/IPv6 addresses) and enumerates exactly what is returned: country ISO2/name, ASN, org, network range, private/reserved detection. No sibling tools exist, so no differentiation is needed, and the scope is unambiguous.

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 gives a use-case context ('when an agent needs country and network operator ... for fraud checks, geo-compliance or log enrichment'), which hints at appropriate usage. However, there is no explicit when-not-to-use, no prerequisites, and no alternatives mentioned. Implied usage only.

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