Skip to main content
Glama

Geoip

geoip
Read-onlyIdempotent

"Where is [IP] located" / "what country is this address in" / "geolocate an IP" — IP geolocation via HackerTarget, returning country, state/region, city and coordinates for an address. City-level accuracy is approximate and a VPN or CDN address reports its datacenter, not its user. Use for coarse traffic attribution, never to locate a person.

Input Schema

NameRequiredDescriptionDefault
targetYesIPv4 or IPv6 address, e.g. "104.18.0.1".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "target": "8.8.8.8"
      +  }
      +]
    • addedInput schema / properties / target / description
      Added value: +"IPv4 or IPv6 address, e.g. \"104.18.0.1\"."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds real fidelity context the annotations cannot: city-level accuracy is approximate and VPN/CDN addresses report a datacenter, not a user. It does not mention rate limits or auth, keeping it below a 5.

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?

Front-loads the user-intent phrasings, then mechanics, then the accuracy caveat — a well-ordered, tight description with no filler. The three quoted phrasings are mildly redundant, which keeps it just under a 5.

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 single-parameter read tool with no output schema, the description usefully discloses the returned fields and the accuracy/provider caveats, and annotations cover safety. It does not say how missing or unresolvable geolocation is reported, a minor gap.

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 coverage is 100% (the lone 'target' param is fully described with IPv4/IPv6 format and an example), so the baseline is 3. The description references 'an address' but adds no syntax, format, or default semantics beyond what the schema already supplies.

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?

States a specific verb+resource (IP geolocation) and enumerates the exact output fields (country, state/region, city, coordinates), plus names the data provider (HackerTarget). It also fronts three natural-language query phrasings that make it trivially distinguishable from siblings like reverse_dns, whois, and as_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?

Explicitly scopes usage ('Use for coarse traffic attribution') and gives a clear exclusion ('never to locate a person'). It stops short of naming sibling alternatives (reverse_dns, subnet_lookup, as_lookup) by condition, so it is clear context rather than full when/when-not/alternatives routing.

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.