Skip to main content
Glama

Geolocate an IP address

geolocate_ip
Read-only

Geolocate an IP address and flag whether it is in a sanctioned country.

Input Schema

NameRequiredDescriptionDefault
ip_addressYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile and external-lookup nature are covered structurally. The description adds the meaningful behavioral detail that the result includes a sanctioned-country determination, but says nothing about latency, rate limits, or how private/invalid IPs are handled despite openWorldHint implying a remote call.

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?

A single compact sentence with the core action front-loaded and zero filler. It is efficient, though the second clause about the sanctions flag could be sharpened into a clearer statement of what is returned versus what is checked.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The existence of an output schema means return values need not be described, and annotations cover the safety profile. Still, for a one-parameter open-world lookup tool, the definition omits input format expectations and any routing versus sibling screening tools, leaving gaps an agent must guess at.

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

Parameters2/5

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

Schema description coverage is 0% for the single required parameter, so the description must carry the burden and it does not. It never says whether ip_address accepts IPv4 only, IPv6, CIDR ranges, hostnames, or private addresses, leaving the one input under-specified.

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?

States a specific verb and resource ('Geolocate an IP address') plus a second concrete capability ('flag whether it is in a sanctioned country'), so the purpose is unambiguous. However, it never distinguishes itself from the closely related siblings detect_vpn and screen_country, which likely overlap on IP/country checks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites, and no exclusions. An agent cannot tell from this text whether to call geolocate_ip, detect_vpn, or screen_country for an IP-based check; the sanctions-screening use case is only faintly implied.

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