Skip to main content
Glama

IP Geolocation & ASN: IP to country

ip-geolocation__country
Read-onlyIdempotent

Country and continent for one IP. Free within the daily allowance, then $0.0005 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address

Output Schema

NameRequiredDescriptionDefault

No arguments

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 readOnly, idempotent, non-destructive and open-world behavior, so the bar is lower. The description still adds genuinely useful operational context: a free daily allowance followed by $0.0005 USDC per call via x402, which tells the agent there is a cost/rate dimension not visible in 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?

Two tight sentences with no filler, and the core capability ('Country and continent for one IP') is front-loaded before the pricing caveat.

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 return-value explanation is unnecessary, and pricing plus scope are covered. The only real gap is the absence of routing guidance relative to the ip-geolocation siblings.

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% for the single 'ip' parameter, and the schema already specifies IPv4 or IPv6. The description adds no syntax or format detail beyond restating that the input is one IP, 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 concrete resource and output ('Country and continent for one IP'), with the singular scope distinguishing it from ip-geolocation__batch and the narrower field set distinguishing it from ip-geolocation__asn and ip-geolocation__lookup.

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 phrase 'for one IP' implicitly routes single-IP queries here rather than to the batch sibling, but there is no explicit when-to-use guidance, no comparison against ip-geolocation__lookup or ip-geolocation__asn, and no stated prerequisites for the paid path.

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