Skip to main content
Glama

Batch Geolocate

batch_geolocate
Read-onlyIdempotent

Look up locations for up to 100 IP addresses at once. Returns geolocation and ISP data in the same order as input. Use for analyzing multiple IPs efficiently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipsYesArray of IPv4 or IPv6 addresses to look up (maximum 100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesNumber of results returned
resultsYesArray of geolocation results or error objects

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of results returned",
      +      "type": "integer"
      +    },
      +    "results": {
      +      "description": "Array of geolocation results or error objects",
      +      "items": {
      +        "oneOf": [
      +          {
      +            "properties": {
      +              "as_number": {
      +                "description": "Autonomous System number and name",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "city": {
      +                "description": "City name",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "country": {
      +                "description": "Country name",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "country_code": {
      +                "description": "ISO 3166-1 alpha-2 country code",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ip": {
      +                "description": "The queried IP address",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "isp": {
      +                "description": "Internet Service Provider name",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "latitude": {
      +                "description": "Latitude coordinate",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "longitude": {
      +                "description": "Longitude coordinate",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "organization": {
      +                "description": "Organization name",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "postal_code": {
      +                "description": "ZIP or postal code",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "region": {
      +                "description": "State/region name",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "timezone": {
      +                "description": "IANA timezone identifier",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "ip",
      +              "country",
      +              "country_code",
      +              "region",
      +              "city",
      +              "postal_code",
      +              "latitude",
      +              "longitude",
      +              "timezone",
      +              "isp",
      +              "organization",
      +              "as_number"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "properties": {
      +              "error": {
      +                "description": "Error message from lookup failure",
      +                "type": "string"
      +              },
      +              "ip": {
      +                "description": "The queried IP address",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "ip",
      +              "error"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "count",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "ips": [
      +      "8.8.8.8",
      +      "1.1.1.1",
      +      "208.67.222.222"
      +    ]
      +  }
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, so the safety profile is well-covered. The description adds valuable behavioral context by stating the result order matches input order and the maximum batch size of 100, which is not solely derivable from annotations.

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 appropriately concise with three short, front-loaded sentences. Each sentence contributes uniquely: the core action, the output behavior/order, and the intended use case. No unnecessary words.

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?

Given a single-parameter tool with full schema coverage, an output schema, and clear annotations, the description covers all necessary aspects: purpose, batch limit, output contents, ordering guarantee, and usage context. The tool is simple enough that nothing essential is missing.

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?

The schema provides a complete description of the 'ips' parameter ('Array of IPv4 or IPv6 addresses to look up (maximum 100)'). The description repeats the limit but adds no extra parameter-specific semantics, so it does not go beyond the schema's coverage.

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 ('look up locations') and resource ('IP addresses'), with clear scope ('up to 100 at once'). It distinguishes itself from sibling geolocate_ip by emphasizing batch processing and return of geolocation and ISP data.

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 explicitly states 'Use for analyzing multiple IPs efficiently,' which clearly implies batch usage. It does not explicitly mention the alternative single-IP tool geolocate_ip, but the sibling context and batch emphasis make the appropriate use case clear.

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

Several tool groups have unclear boundaries: ask_pipeworx and ask_pipeworx_beta are explicitly identical right now, polymarket_edges/arbitrage/bet_research overlap heavily, and scan_competitor_ai_presence merely wraps ai_visibility_check. An agent would frequently have to guess which of several overlapping tools to call.

Naming Consistency3/5

Most tools use lowercase snake_case, but the set mixes verb-first names (resolve_entity, validate_claim) with noun/service-first compounds (polymarket_edges, pipeworx_trending, ai_visibility_check) and inconsistent suffix semantics (ask_pipeworx_beta vs ask_pipeworx_grounded). The pattern is readable but not predictable.

Tool Count2/5

33 tools is far too many for a server named iplookup; only 2 of 33 relate to IP geolocation. The rest form a sprawling data/prediction-market/memory platform that would be better split into multiple focused servers.

Completeness4/5

Within the actual described scope (a Pipeworx data platform), coverage is strong: routed lookups, grounded verification, deep research, entity identity/profile/comparison, claim validation, discovery, subscriptions, memory, feedback, trending, and a full prediction-market arbitrage suite. Minor gaps exist (no direct pack-listing tool, no update for memory values), but there are no critical dead ends.