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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already carry readOnlyHint=true and openWorldHint=true, and 'Get' is fully consistent with these, so no contradiction. The description adds value by detailing the exact output fields returned, which gives the agent expectations about what the response will contain beyond what the name implies. For a read-only lookup tool, the safety profile is covered by annotations and the field detail is useful added context.

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?

The description is a single front-loaded sentence that leads with the core purpose and then lists fields. It's dense with the field enumeration but every element is informative; no wasted words. Slightly long due to the field list, but that content 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 single-IP lookup with thorough annotations and a 100%-covered schema, the description is complete. It enumerates the main returned fields, states the single-IP scope, and the include/verbose/include_optional parameters are well documented in the schema. There's no output schema, but the description covers the expected return values well enough for an agent to call it correctly.

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 all 5 parameters are already well-documented in the schema (ip format, model attribution, include field options, verbose, include_optional). The description adds marginal value by listing the default response fields that map to the include parameter options, but the schema already documents these thoroughly, so the baseline of 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?

The description states a specific verb ('Get'), a specific resource (geolocation and security details for a single IP address), and enumerates the returned fields (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags). The explicit 'for a single IP address' scope differentiates it from 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 usage context, implying this tool is for single-lookup scenarios rather than bulk operations. However, it doesn't explicitly name the alternatives (ipstack_bulk_lookup for multiple IPs, ipstack_check for validation) or state when NOT to use this tool, so exclusions are implied rather than stated.

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.

Resources