Skip to main content
Glama

get_ip_info

Retrieve geolocation, ISP, timezone, and coordinates for an IPv4/IPv6 address to inspect locations, detect regional origins, or resolve server IPs; leave blank to look up the caller's public IP.

Instructions

Retrieve geolocation, country, city, geographic coordinates, ISP, and timezone metadata for an IP address. Use to inspect IP locations, detect regional origins, or resolve server IP information. Read-only and idempotent.

Input Schema

NameRequiredDescriptionDefault
ipNoIPv4 or IPv6 address to look up (e.g. '8.8.8.8'). Leave empty or blank to look up the caller's public IP address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • changedInput schema / properties / ip / description
      Previous value: -"IP address (leave blank for your own IP)"New value: +"IPv4 or IPv6 address to look up (e.g. '8.8.8.8'). Leave empty or blank to look up the caller's public IP address."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description takes on the safety burden itself and does so by declaring the operation 'Read-only and idempotent', which is the key fact an agent needs before calling. It also enumerates the returned data fields, though it omits rate limits and invalid-IP error behavior.

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 sentences, zero redundancy: the first defines the returned data, the second defines usage and safety. Returned fields are front-loaded ahead of the softer usage guidance.

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 one-parameter tool with no output schema, listing the returned fields fills the gap that the missing output schema would otherwise leave. Coverage is nearly complete; only the shape of the response (e.g. field formats, failure modes) is left unstated.

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% and the single 'ip' parameter is fully documented in the schema, including the empty-value behavior for caller IP lookup. The description adds nothing about parameter meaning beyond what the schema already states, 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?

Opens with a specific verb ('Retrieve') and resource ('geolocation, country, city, geographic coordinates, ISP, and timezone metadata for an IP address'), so the agent knows exactly what the tool returns. No sibling in the list overlaps, so differentiation is unnecessary.

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?

Explicitly names three use cases—inspecting IP locations, detecting regional origins, and resolving server IP information—which gives clear selection context. It stops short of stating when NOT to use it or naming an alternative, but no plausible alternative exists among the siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.