Skip to main content
Glama

IP and Host Geolocation

ip_lookup
Read-onlyIdempotent

Resolve an IP address or domain name to its network operator and approximate location: ASN, organization, country, region, city, coordinates, and timezone. Domains are resolved to their first IPv4 address before lookup. Location is IP-level and approximate; it is not the address of the site owner.

Related: dns, whois, ns_reverse.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesIP address or domain name. Scheme, port, path, and a leading www. are stripped automatically

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoZero or one record
errorNo
totalNo1 when the address is in the database, 0 when it is not
successYes

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds valuable behavioral detail beyond annotations: domains are resolved to their first IPv4 address, and location is IP-level and approximate (not the site's physical address). This clarifies output semantics and limitations, earning a strong score given the existing annotation coverage.

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 two sentences and a related-tools line. It wastes no words: the first sentence states the core function and output fields, the second adds a critical caveat, and the final line lists related tools. All content is information-dense and front-loaded. There is zero fluff or redundancy.

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

Completeness5/5

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

The tool has a single parameter and an output schema (indicated by 'Has output schema: true'), so return value documentation is handled structurally. The description covers the operation, input normalization (domain→IPv4), and approximation caveat, and points to related tools. For a simple read-only tool with rich annotations process, this is fully complete.

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

Parameters4/5

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

The input schema already describes the single parameter 'query' with detail (types and auto-stripping of scheme/port/www). Schema coverage is 100%, so the baseline is 3. The description adds extra meaning: 'Domains are resolved to their first IPv4 address before lookup,' which clarifies behavior not in the schema. This additional semantics justifies a score above baseline.

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 opens with a specific verb-resource pairing: 'Resolve an IP address or domain name to its network operator and approximate location,' listing concrete attributes (region, city, coordinates). It explicitly distinguishes itself from related tools by naming dns, whois, and ns_reverse, and clarifies a key behavioral nuance (domain resolution to first IPv4 address). This is a clear, unambiguous purpose statement that leaves no doubt about what the tool does.

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 provides contextual guidance by stating the tool's focus (IP-level location) and explicitly listing related tools ('Related: dns, whois, ns_reverse'), which implies alternative choices. However, it does not explicitly state when to choose this tool over those alternatives (e.g., 'use whois for registrar info'). The intent is clear but not fully prescriptive, so it falls short of a 5 but exceeds a 3.

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.5/5.0
Disambiguation3/5

Many domain-search tools (active, aged, expired, deleted, market, nrds, nrds_live) have overlapping boundaries that depend on subtle lifecycle or listing distinctions, and pairs like bulk_tld/tld_check and nrds/nrds_live are easy to confuse. The detailed descriptions and related-tool hints help, but an agent still faces several nearly interchangeable choices.

Naming Consistency4/5

All tool names follow a consistent lowercase_snake_case convention, with no mixing of camelCase or inconsistent verb styles. However, the names use a noun/adjective pattern rather than a clear verb_noun action pattern, and acronyms like nrds, epp_status, and tld_rank make some names less predictable.

Tool Count2/5

32 tools is heavy for a domain toolkit, and several tools are close variants of the same search or check operation, such as active/aged/expired/deleted/market and nrds/nrds_live. The broad domain scope justifies some breadth, but the set would be much more focused with consolidation.

Completeness4/5

The toolset covers the core domain lifecycle well: availability, registration states, WHOIS, DNS, pricing, TLD statistics, safety, backlinks, typosquatting, and monitoring. The main gaps are that strategy can store data but has no retrieval or deletion action, and market pricing is limited to Sedo only.