Skip to main content
Glama

IPStack MCP Adapter

IP Geolocation Lookup

ipstack_lookup
Read-only

Get geolocation and security details (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags) for a single IP address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIP address to lookup (Ex 8.8.8.8)
modelNoSelf-reported LLM identifier for analytics attribution (e.g. "claude-opus-4-7", "gpt-4o-2024-08-06"). Not used for authorization or billing.
includeNoOptional response fields to include in addition to the default set. Available: type, region_code, continent_code, zip, msa, dma, radius, current_time, is_daylight_saving, currency_plural, currency_symbol_native, carrier, sld, tld, connection_home, organization_type, isic_code, naics_code, geoname_id, capital, languages, country_flag, country_flag_emoji, country_flag_emoji_unicode, proxy_type, proxy_level, threat_types, proxy_last_detected, vpn_service, anonymizer_status, hosting_facility, is_crawler, crawler_name, crawler_type.
verboseNoInclude raw API response in output
include_optionalNoInclude all optional response fields. Overrides `include` when true.

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds value by enumerating the response contents, which is useful given there is no output schema. However, it does not disclose operational behaviors such as API-key requirements, paid-plan dependencies for security fields, or rate-limit behavior, so it does not go beyond what annotations and the field list already provide.

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?

A single sentence front-loads the core purpose before the parenthetical field list, with zero filler words. The field list is long but earns its place by setting concrete expectations for the response, which matters given the absence of an output schema.

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?

Given no output schema, the description reasonably conveys the return content, and the schema fully documents parameters while annotations cover safety. However, it omits operational context such as the need for an API key, tier-dependent field availability, and any guidance on how this tool relates to ipstack_check, leaving those gaps for the agent to discover.

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%, so every parameter (ip, model, include, verbose, include_optional) is already documented in the schema; the baseline of 3 applies. The description's field list does complement the 'include' parameter by implying which fields are default versus optional, but it adds no direct parameter-level meaning beyond the schema.

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 uses a specific verb ('Get') with a clear resource ('geolocation and security details') and scope ('for a single IP address'). The field enumeration (country, region, city, timezone, ISP, proxy/tor/threat flags) precisely tells an agent what it will receive. The 'single IP address' qualifier cleanly distinguishes it from the sibling ipstack_bulk_lookup even without opening the schema.

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 phrase 'for a single IP address' provides clear contextual guidance that this tool handles one address at a time, implying ipstack_bulk_lookup is the alternative for multiple addresses. However, it never explicitly names the alternatives or states when not to use this tool, leaving the routing to inference rather than direct instruction.

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

A4.3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: single IP lookup, bulk IP lookup, and checking the originating request IP. The descriptions explicitly call out the differences, especially ipstack_check versus ipstack_lookup, so an agent should not confuse them.

Naming Consistency5/5

All tool names follow a consistent ipstack_ prefix with descriptive suffixes: lookup, bulk_lookup, and check. The naming pattern is immediately predictable and uniform across the set.

Tool Count5/5

Three tools is well-scoped for an IP geolocation adapter, covering the primary request types without unnecessary bloat. Each tool serves a distinct real-world use case and earns its place.

Completeness5/5

The tool surface covers the core ipstack workflows: single IP lookup, bulk lookup, and requester IP detection. There are no obvious dead ends or missing operations for the stated domain of IP geolocation and security details.

Resources