Skip to main content
Glama

Look up an IP address

lookup_ip
Read-only

Geolocation, network (ISP, ASN), risk score with its main reason (risk_reason) and, from Pro, the full breakdown of the score (risk_signals) and the security flags for ONE public IPv4 or IPv6 address. Counts one lookup against the key's monthly quota.

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

Input Schema

NameRequiredDescriptionDefault
ipYesA public IPv4 or IPv6 address, e.g. 8.8.8.8 or 2001:4860:4860::8888.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly, openWorld, and non-destructive, so the bar is lower, and the description adds genuinely new behavior: the call consumes one unit of the key's monthly quota and certain fields (risk_signals, security flags) are gated to the Pro plan. It does not state what happens on invalid or private addresses, which would be the remaining useful disclosure.

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 single dense sentence with no filler, and the quota cost is placed last where it is easy to find. It front-loads the returned fields rather than the action, which is slightly less scannable but still efficient.

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?

With no output schema, the description correctly enumerates the return fields and flags which are plan-gated, plus the quota cost. For a one-parameter lookup that is close to complete; only failure modes for non-public or malformed addresses are absent.

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, including concrete IPv4 and IPv6 examples, so the schema carries the semantics. The description reinforces the 'public' constraint but adds no format, normalization, or error details beyond what the schema already states.

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 the resource precisely (a single public IPv4 or IPv6 address) and enumerates what is returned: geolocation, ISP/ASN, risk score with risk_reason, plus Pro-only risk_signals and security flags. The word 'ONE' implicitly separates it from bulk_lookup, but it never explicitly distinguishes itself from check_ip_risk, which sounds like it also surfaces risk data.

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?

Usage is only implied: 'ONE public IPv4 or IPv6 address' hints that multiple addresses belong in bulk_lookup, and the Pro mention hints at tier behavior. There is no explicit when-to-use or when-not-to-use statement, and no guidance on choosing between this and check_ip_risk.

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