Skip to main content
Glama

IP Geolocation Lookup (0.30 credits)

ip_lookup
Read-onlyIdempotent

Retrieve country, region, and city for a public IP address to geolocate its origin. Use the result for location context, not personal identity or document verification.

Instructions

IP geolocation lookup. Returns country, region, and city for a public IP address. Input: ip. Use it to place an address, not to identify a person. It does not replace a cédula or document check. Costs 0.30 credits per successful call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ip": "<ip>"
    },
    "name": "ip_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world, and non-destructive, so safety is covered. The description adds two useful behavioral facts beyond them: the target must be a public IP, and pricing of 0.30 credits applies per successful call (implying failed calls are free). It says nothing about rate limits, invalid-IP behavior, or result stability for reused addresses.

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?

Four short front-loaded sentences: what it does, what it returns, the input, and the usage boundary, followed by the cost. Every sentence carries information relevant to this tool set; only the explicit cost restatement overlaps with the title's '(0.30 credits)'.

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 one-parameter, non-destructive read with no output schema, the definition supplies purpose, return fields, input constraint, usage boundary, and cost — essentially everything needed before calling. Only the absence of IP-format guidance and failure-mode behavior keeps it below complete.

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 0% for the single 'ip' parameter, so the description must compensate. It adds one real constraint ('public IP address') and labels the input, but gives no version/format guidance (IPv4 vs IPv6, dotted-quad form) and no example, leaving the agent to guess at accepted syntax.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('IP geolocation lookup') and enumerates the returned fields (country, region, city) for a public IP. It also carves out a contrast with person identification, which is the core behavior of most sibling tools, so an agent can distinguish it 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?

Gives explicit when-to-use ('place an address') and when-not ('not to identify a person', 'does not replace a cédula or document check'), which is precisely the ambiguity an agent faces given the surrounding identity-lookup siblings. It stops short of naming an alternative tool for the identity case, so it is not a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools