Skip to main content
Glama

Agent Data Tools: Company, compliance and checks

IP lookup: owner, network range and country (RDAP)

ip_lookup
Read-only

Look up who holds an IP address (v4 or v6) in the regional internet registries' public records (ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC): the holding organisation, network name and range, allocation type, registration country, abuse contact and registry. Use to see which company or ISP an address in a log belongs to. An HTTP call without ip answers for the caller's own address. Registration country, not city location. Example: ip=8.8.8.8. Price $0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
ipNoPublic IPv4 or IPv6 address (over HTTP, left out: the caller's own address)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / ip / description
      Previous value: -"Public IPv4 or IPv6 address"New value: +"Public IPv4 or IPv6 address (over HTTP, left out: the caller's own address)"
    • removedInput schema / required
      Removed value: -[
      -  "ip"
      -]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, open-world and non-idempotent, so the safety profile is covered. The description adds genuine value beyond them: the upstream registries consulted, the cost model ($0.002/call, first 10 free, failed calls free), and the practical consequence that repeats are billed — which explains why idempotentHint is false.

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?

Purpose, scope, and the country-vs-city caveat are front-loaded, and every clause is topical. It is one dense paragraph with pricing and payment mechanics appended, which is slightly bulky but not padded.

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

Completeness5/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 carries the return-value burden and does so by listing the fields returned. Combined with data sources, cost, and the caller-address default, an agent has everything needed to decide and call correctly.

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 documents itself as a public IPv4/IPv6 address, including the omitted-means-caller behavior, so the description largely repeats the schema. The added example (ip=8.8.8.8) is mildly useful but adds no new constraints or format guidance.

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 (look up who holds an IPv4/IPv6 address) and enumerates the returned fields: holding organisation, network name and range, allocation type, registration country, abuse contact, registry. It also draws a boundary against geolocation siblings with "Registration country, not city location," so an agent can separate it from ip_geolocate without opening schemas.

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?

Gives a concrete use case ("see which company or ISP an address in a log belongs to") and a negative discriminator (country, not city), plus the omitted-ip behavior for caller's own address. It does not name a specific sibling to prefer for city-level data, so routing relies on inference from the negative hint.

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