Skip to main content
Glama

Agent Services (x402): compliance, company, procurement

IP Country & Network Lookup (DB-IP Lite) ($0.001)

ip_lookup
Read-onlyIdempotent

[Data utilities] Find which country and network an IP address belongs to, for fraud checks, geo-compliance or log enrichment. Use when a decision depends on where a request or login comes from. Price: $0.001 per call (USDC on Base, x402). Returns the x402 payment requirements unless payment_signature is given. Sample: /samples/ip-geo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIPv4/IPv6 address, or up to 50 comma-separated
payment_signatureNoOptional x402 v2 PAYMENT-SIGNATURE value, relayed unchanged to the endpoint. Omit to receive the payment requirements.

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 cover the safety profile (readOnlyHint, openWorldHint, idempotentHint). The description adds genuinely useful context beyond them: the $0.001 x402 payment model, the fact that it returns payment requirements unless payment_signature is supplied, and a sample path. It omits rate limits or error behavior, so not a 5.

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 use cases, then the payment mechanics; each sentence carries information. The price appears in both the title and the body, a small redundancy, but overall it is tight and well-ordered.

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, no-output-schema tool this covers purpose, trigger, and the non-obvious payment flow, which is the most likely point of confusion. It does not sketch the response fields (country/network), a modest gap given there is no output schema.

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 both parameters — including the batch capability (up to 50 comma-separated IPs) and the payment_signature semantics — are already documented in the schema. The description restates the payment-requirements behavior without adding syntax or format detail beyond it, 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?

The description names a specific verb+resource — 'Find which country and network an IP address belongs to' — and immediately scopes the use cases (fraud checks, geo-compliance, log enrichment). No sibling tool does IP geolocation, so differentiation 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a clear triggering condition: 'Use when a decision depends on where a request or login comes from,' plus three concrete scenarios. It stops short of naming exclusions or an alternative tool, but no sibling overlaps, so the gap is minor.

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