Skip to main content
Glama

ip_geolocation

Read-onlyIdempotent

Geolocate an IPv4/IPv6 address: country, region, city, ISP and organisation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIP address, e.g. 8.8.8.8

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes
ispNo
latNo
lonNo
orgNo
cityNo
regionNo
countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds the specific data fields returned (country, region, city, ISP, organisation) but does not disclose additional behavioral traits such as rate limits or error conditions. Given the strong annotation coverage, this is acceptable.

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?

The description is a single, focused sentence that front-loads the core function and lists output fields without any fluff. Every word earns its place.

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 simple one-parameter tool with a clear output schema, the description, combined with annotations, covers the essential usage. It specifies the input type and output fields, and the annotations provide safety and idempotency. Nothing critical is missing, though it could mention error cases or fallback behavior, which are likely covered by the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes the 'ip' parameter with an example. The description adds that both IPv4 and IPv6 are supported, which is not present in the schema. This is useful additional meaning beyond the schema's basic type description.

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 states a specific action (geolocate) on a resource (IP address) and lists the output fields (country, region, city, ISP, organisation). This clearly distinguishes it from sibling tools like whois_lookup and punycode_convert, which serve different purposes.

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 implies usage for obtaining geographic and network provider information from an IP address. However, it does not explicitly state when to use this tool over alternatives like whois_lookup, nor does it mention any exclusions or conditions. The clear purpose allows inference, but explicit guidance is missing.

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.