Skip to main content
Glama

1Lookup

Look up IP address

ip_lookup
Read-onlyIdempotent

Look up an IP address: geolocation, connection type, and proxy/VPN/Tor/datacenter flags with a fraud/risk score. Spends 1 credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesWhat was looked up
insightsNoThe detailed findings, grouped by theme
metadataNoWhat the call cost
classificationNoCategorical verdicts, e.g. line type or deliverability status
recommendationsNoSuggested action, with a plain-language summary
risk_assessmentNoFraud and risk scoring for this value

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedOutput schema / properties / metadata / description
      Previous value: -"Call metadata, including credit cost"New value: +"What the call cost"
    • removedOutput schema / properties / metadata / properties / cache_hit
      Removed value: -{
      -  "description": "True when served from a recent identical lookup",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / request / description
      Previous value: -"What was looked up, and when"New value: +"What was looked up"
    • removedOutput schema / properties / request / properties / id
      Removed value: -{
      -  "description": "Unique id for this lookup",
      -  "type": "string"
      -}
    • removedOutput schema / properties / request / properties / timestamp
      Removed value: -{
      -  "description": "ISO 8601 time the lookup ran",
      -  "type": "string"
      -}
    • changedOutput schema / properties / request / required
      Previous value: -[
      -  "id",
      -  "type",
      -  "input",
      -  "timestamp"
      -]New value: +[
      +  "type",
      +  "input"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds a genuinely useful non-structured fact — it costs 1 credit per call — which lets an agent budget or batch instead of looping. It stops short of noting failure modes (e.g., what happens on an unresolvable or private IP), so 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.

Conciseness5/5

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

One sentence plus a short cost clause, zero filler, and the highest-value information (what you get back) is front-loaded. Every clause carries content.

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?

The tool is simple (one param, output schema present, full annotation coverage) and the description covers purpose, returned data shape at a high level, and cost. What is missing is minor: error behavior for invalid/private IPs and a pointer to bulk_verify for multi-IP 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 required parameter with 100% schema description coverage, so the schema already documents "IPv4 or IPv6 address" fully. The description adds nothing about the parameter — no format examples, no mention of whether private/reserved ranges are accepted — so the 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 ("Look up an IP address") and immediately enumerates the returned data classes (geolocation, connection type, proxy/VPN/Tor/datacenter flags, fraud/risk score), which cleanly separates it from siblings like verify_email and validate_phone. An agent can tell what this does without opening the schema.

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 by the resource name — an agent infers it should call this when it has an IP to enrich. There is no guidance on when to prefer bulk_verify for multiple IPs, no note on invalid/malformed input handling, and no statement of when this is inappropriate. The credit-cost note is the only usage-relevant signal.

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