Skip to main content
Glama

IP lookup

ip_lookup
Read-onlyIdempotent

Describes a public IP address: the announced prefix and AS number, the network's name, country, registry and the reverse DNS name.

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

Input Schema

NameRequiredDescriptionDefault
ipYesA public IPv4 or IPv6 address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered structurally. The description adds only a list of returned data fields, which is useful context but not behavior beyond what annotations provide. It says nothing about what happens for private or reserved addresses, rate limits, or whether missing reverse DNS yields null.

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?

A single front-loaded sentence with no filler; the colon-separated field list is compact and informative. It could be tightened slightly, but every clause carries information an agent can use.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does the right thing by enumerating the returned fields, which is the main completeness need here. It is still thin for a one-parameter lookup: nothing about error behavior for non-public input, about partial results, or about how it relates to the similar sibling lookups.

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 ("A public IPv4 or IPv6 address."), so the schema carries the semantics. The description restates the same constraint ("public IP address") without adding format, notation, or validation detail. Baseline 3 is appropriate when the schema does the work.

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 gives a specific verb plus resource ("Describes a public IP address") and enumerates the returned data: prefix, AS number, network name, country, registry, reverse DNS. That makes the tool's output scope concrete. It does not, however, differentiate itself from overlapping siblings such as asn_lookup, reverse_dns or whois_lookup, which an agent could easily confuse it with.

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

Usage Guidelines2/5

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

There is no when-to-use statement, no precondition, and no mention of alternatives. Given siblings like asn_lookup (AS number) and reverse_dns (reverse DNS), both of which appear as sub-fields of this tool's output, the absence of routing guidance is a real gap. The only implicit hint is "public", which excludes private addresses.

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