Skip to main content
Glama

Radar Ip Geocode

radar_ip_geocode
Read-onlyIdempotent

Geolocate an IP address to city/state/country and approximate coordinates using Radar. Omit ip to geolocate the caller. Example: radar_ip_geocode({ ip: "8.8.8.8", apiKey: "prj_live_sk..." })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNoOptional IPv4/IPv6 address to geolocate, e.g. "8.8.8.8". If omitted, Radar geolocates the request origin.
_apiKeyYesRadar API key (a secret prj_live_sk_... key is required to pass an explicit ip)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld behavior, so the safety profile is covered. The description adds that omitting ip targets the caller and that a secret key is required for an explicit ip — useful context, but nothing about rate limits or response format.

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 action, followed by the omit-ip rule and a compact example. Tight overall, though the inline example duplicates the schema's examples array slightly.

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?

With no output schema, the description usefully states the return content (city/state/country and approximate coordinates). It is complete enough for a two-parameter read tool; only the omitted-ip fallback behavior is spelled out while alternatives are not.

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 description coverage is 100%, and the schema already documents both the optional ip and the _apiKey semantics. The description's example reinforces usage but adds no format or meaning beyond the schema, 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 specific verb (geolocate) and resource (IP address) with the output shape (city/state/country and approximate coordinates). Against siblings radar_geocode and radar_reverse_geocode, the 'IP' qualifier makes it unambiguous which input type this tool consumes.

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?

Gives one concrete usage rule ('omit ip to geolocate the caller'), which is genuinely helpful. However, it never names or contrasts with the sibling geocoding tools (radar_geocode, radar_reverse_geocode), so an agent must infer when this is the right choice.

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.