Skip to main content
Glama

IPStack MCP Adapter

Bulk IP Geolocation Lookup

ipstack_bulk_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 multiple IPv4 or IPv6 addresses in one request. Useful for analyzing lists of IPs, grouping by country/region, or flagging suspicious origins. Requires a plan that supports bulk lookups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipsYesComma-separated list of IP addresses (Ex 8.8.8.8,1.1.1.1)
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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the bar for behavioral disclosure is lower. The description adds value by specifying a plan requirement for bulk lookups and summarizing the security/geolocation data returned. It does not mention rate limits or invalid IP behavior, but those are secondary for a read-only operation.

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?

Three sentences with no filler: the first states the core function and output domains, the second gives concrete use cases, and the third notes a key prerequisite. Information is front-loaded and every sentence earns its place.

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 read-only bulk lookup, the description covers purpose, use cases, high-level output fields, and a plan prerequisite. Schema covers all input constraints. There is no output schema, but the field list partially compensates. Minor omissions like maximum batch size and error behavior are acceptable given the schema's maxLength and annotation's read-only hint.

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 the schema already documents all parameters including the comma-separated format for ips and the meaning of include, verbose, and include_optional. The description does not add meaning beyond the schema; it only mentions multiple addresses, which the schema already covers.

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 begins with a specific verb and resource: 'Get geolocation and security details ... for multiple IPv4 or IPv6 addresses in one request.' It clearly lists the domains covered (country, region, city, timezone, ISP, threat flags) and differentiates from likely single-IP siblings by emphasizing bulk lookup.

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?

Provides clear context: 'Useful for analyzing lists of IPs, grouping by country/region, or flagging suspicious origins' and notes the prerequisite that a plan must support bulk lookups. However, it does not explicitly name sibling tools or state when to use a single-IP lookup instead, so it stops short of full when/when-not guidance.

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