Skip to main content
Glama

ipinfo_lookup

Read-only

Looks up one IPv4 or IPv6 address on IPinfo's public lookup page and returns its own record: geolocation with city, region, country, postal, timezone and coordinates; the ASN with number, name, domain, announced route, ISP/hosting type, RPKI status and traffic ranks; the company behind the traffic; VPN, proxy, Tor, relay, hosting and residential-proxy flags; the abuse contact; hosted-domain count; and the page's own tag pills plus its summary and geolocation tables. Private, reserved and carrier-grade-NAT addresses return that address's not-routed record (is_bogon true, no geolocation, with the reserved block and stated usual role) instead of an error.

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": "ipinfo_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address to look up.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds substantive behavior beyond that, notably that private, reserved, and carrier-grade-NAT addresses yield a not-routed record with is_bogon true and no geolocation instead of an error. That non-obvious edge-case behavior is exactly the kind of context annotations cannot convey. It stops short of mentioning rate limits, auth, or that results reflect live external data, which is why it is not 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core action in the first clause, which is good, but the bulk of the text is a long run-on enumeration of return fields (geolocation subfields, ASN subfields, flags, abuse contact, tables). Since an output schema exists, much of that enumeration restates structured data and dilutes the high-value bogon-handling sentence.

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 an output schema and readOnly annotations, the definition covers the essential unknowns: input address classes, the non-error path for non-routable addresses, and the general shape of the response. Remaining gaps are operational details such as rate limits or data freshness, which are secondary here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single 'ip' parameter, so the baseline is 3. The description still adds meaning at the value level: both IPv4 and IPv6 are accepted, and the private/reserved/CGNAT input class produces a distinct, well-defined response rather than a failure, which guides parameter-value expectations.

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 opens with a precise verb and resource: 'Looks up one IPv4 or IPv6 address on IPinfo's public lookup page and returns its own record.' Scope ('one address'), source (IPinfo public lookup page), and output nature ('its own record') are all stated, so an agent knows exactly what this does relative to unrelated sibling lookups.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no exclusion of alternatives, and no prerequisites (auth, rate limits) stated. Usage is only implied by the lookup verb plus the useful note that private/reserved/CGNAT inputs return a not-routed record rather than an error, which tells the agent what to expect rather than when to choose this tool.

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.