Skip to main content
Glama

getapi_lookup_ip

Look up ISP information and location details for an IP address to identify its network provider and approximate geographic area.

Instructions

Get ISP information and location details for an IP address [GET /v1/lookup/ip]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full behavioral burden and largely drops it. The only behavioral signal is the embedded '[GET /v1/lookup/ip]' tag, which implies a read-only call; there is no mention of rate limits, auth requirements, error behavior for malformed/private IPs, or what the response contains.

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 tight sentence with the endpoint tag appended; nothing is padded. It is front-loaded with the verb and resource, though the bracket tag is somewhat mechanical.

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?

For a one-parameter read tool with no output schema, the description gives a partial sense of the return payload ('ISP information and location details') but omits parameter format constraints and any behavioral notes. It is minimally viable rather than complete.

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% and there is one required parameter, so the description must compensate. It only restates 'for an IP address', adding no format detail (IPv4 vs IPv6, CIDR support, whether hostnames are accepted), which is the main ambiguity for this parameter.

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 ('Get') and a specific resource ('ISP information and location details for an IP address'), which cleanly distinguishes it from sibling lookups like getapi_lookup_dns_records, getapi_lookup_postcode, and getapi_lookup_dns_nameservers. It stops short of explicitly naming alternatives, but the resource itself is unambiguous.

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?

The description says what the tool returns but never states when to reach for it versus the other lookup/validation siblings, nor any prerequisites (e.g., that an IP must be public, or what to use for domain/DNS lookups instead). No exclusions or context are offered.

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