Skip to main content
Glama

asn_geoip

Read-only

Geolocate an IP address (or a host's resolved IP): ASN, network organisation, and approximate city/country. Requires a configured GeoIP database. Read-only.

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": {
      "target": "<target>"
    },
    "name": "asn_geoip"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesIP address or host name, e.g. 8.8.8.8 or example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so "Read-only" in the description is redundant. What the description does add is genuinely useful: the configured-GeoIP-database prerequisite and the caveat that location results are approximate, which warns the agent about precision limits.

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?

It is a compact, front-loaded definition: the resource, the returned fields, the prerequisite, and the safety profile in three short clauses. The trailing "Read-only" clause is wasted given the annotations, keeping it from 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 one-parameter read-only lookup with a fully documented schema and no output schema, the description covers input, returned data, and the environment prerequisite well. Only the failure mode for unresolvable or private IPs is left unstated.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents that target accepts an IP or hostname. The description restates that same duality without adding format, resolution, or edge-case detail (e.g. how unresolvable hosts behave).

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?

The description names a specific verb and resource ("Geolocate an IP address") and enumerates the returned facts: ASN, network organisation, approximate city/country. It is clear on its own, but never distinguishes itself from plausible siblings such as geo_route, ip_reputation, or asn_prefixes.

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?

It gives clear context for use, including that the input may be an IP or a host whose IP gets resolved, and states the prerequisite of a configured GeoIP database. It stops short of saying when not to use it or which sibling to pick instead, so it lands at a solid 4 rather than 5.

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