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

TableJSON Schema
NameRequiredDescriptionDefault
ip_addressYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The readOnlyHint annotation already covers safety, and the description adds valuable behavioral detail by mentioning the 'sanctioned country' flag, which is part of the tool's output logic. It doesn't contradict annotations and provides additional context without needing to describe return format due to the output schema.

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, front-loaded sentence that conveys both the primary action and the distinguishing flag. There is no redundant or extraneous information, making it efficiently concise.

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?

Given the tool's simplicity (1 parameter, read-only, output schema present), the description covers the core behavior. It doesn't mention potential edge cases like private IPs or rate limits, but the output schema handles return values. It is nearly complete, just missing a small note about input format limitations.

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?

The input schema has zero description coverage, so the description must compensate. It only mentions 'IP address' at a high level and does not clarify accepted formats (e.g., IPv4 vs IPv6) or any constraints. This fails to add meaningful parameter semantics beyond the schema's type/name information.

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 clearly states the tool's purpose with a specific verb ('Geolocate') and resource ('IP address'), and adds a distinguishing output ('flag whether it is in a sanctioned country'). This differentiates it from sibling tools like detect_vpn or screen_country, which focus on different aspects.

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?

The description implies a clear use case: geolocating an IP and determining if it falls in a sanctioned country. While it doesn't explicitly name alternatives or exclusions, the specific sanction flag provides sufficient context for when to use this tool over siblings. A clear context with no explicit exclusions earns a 4.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a unique entity type: IP, country, crypto address, email, government ID, PEP, and website. The two IP-related tools (detect_vpn and geolocate_ip) are distinct in purpose and clearly named. No two tools overlap in what they screen.

Naming Consistency4/5

The eight screen_* tools follow a consistent verb_noun pattern (e.g., screen_email, screen_website). The two IP tools (detect_vpn, geolocate_ip) use different verbs, creating minor inconsistency but still understandable given their unique actions.

Tool Count5/5

With 8 tools, the server is well-scoped for a sanctions/anti-crime screening service. Each tool addresses a distinct screening domain, and the count is neither too thin nor bloated.

Completeness4/5

The tool set covers a wide range of entity types: IPs, countries, crypto, email, government IDs, PEPs, and websites. A minor gap exists for phone numbers or other entity types, but the primary screening workflows are well-covered and usable without workarounds.

Resources