Skip to main content
Glama

Ipinfo Lookup Ip

ipinfo_lookup_ip
Read-onlyIdempotent

Geolocation and network info for any IP address (e.g., "8.8.8.8"): city, region, country, coordinates, postal code, timezone, plus ownership fields -- ASN, owner name, network range and owner domain -- each with its source (null with a reason when no source states it). For "which company owns this IP" call rdap_ip, which is the registry source for those fields; this tool adds geolocation.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ip": "8.8.8.8"
    },
    "name": "ipinfo_lookup_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address to look up (e.g., "8.8.8.8")

Output Schema

NameRequiredDescriptionDefault
ipYesThe IP address that was looked up
orgYesOrganization or ISP name
cityYesCity name associated with the IP address
postalYesPostal code associated with the IP address
regionYesRegion or state associated with the IP address
countryYesCountry code associated with the IP address
latitudeYesLatitude coordinate of the IP geolocation
timezoneYesTimezone associated with the IP address
longitudeYesLongitude coordinate of the IP geolocation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so safety is covered. The description adds genuinely new behavior: fields are returned per-source and become null with an explicit reason when no source states them, which tells the agent how to interpret gaps rather than treating them as errors.

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?

One dense sentence plus a routing sentence; the field list and the sibling alternative are front-loaded. The em-dash clauses make it slightly run-on, but every clause carries information and nothing is redundant with the name or title.

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?

An output schema exists, so return values need no explanation, yet the description still flags the null-with-reason convention that the schema will not convey. Combined with the alternative-tool routing, an agent has enough to call it correctly; only minor gaps (e.g., no note on latency or rate limits) remain.

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% and the single parameter already states 'IPv4 or IPv6 address to look up' with examples. The description restates the same accepted formats without adding syntax, validation, or formatting rules, so the schema does the heavy lifting and baseline 3 applies.

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 and resource (geolocation/network lookup for an IP) and enumerates exactly which fields come back (city, region, coordinates, ASN, network range, owner domain). It also explicitly distinguishes itself from rdap_ip, so an agent can separate the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: for ownership questions call rdap_ip, because that is the registry source for those fields, whereas this tool adds geolocation. That is a named alternative paired with the condition that selects it, not just implied context.

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.