Skip to main content
Glama

Agent Data Hub

What is my IP / IP address check

util_ip
Read-onlyIdempotent

Returns the caller's public IP address (or checks the IP you pass): IPv4/IPv6 version, type (public, private, CGNAT, loopback, link-local, documentation, multicast, reserved), IPv4-mapped detection and reverse DNS (PTR) hostname. Use to learn your own egress IP or validate an IP before using it. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are 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": "util_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNoOptional IP to check (default: your own IP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, and the description adds genuinely non-obvious behavior: a per-call price, the x402/USDC-on-Base payment path, and a 10-free-calls-per-day limit — an agent needs that to avoid failing on billing. It does not say what happens on an invalid IP or whether the PTR lookup is always performed, so it falls just short of full 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?

Front-loads the core purpose, then the return details, then the alternative use case, then pricing — a sensible ordering with no filler sentences. The long parenthetical type list is dense but each item is informative rather than redundant.

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 and only one parameter, the description takes on the burden of describing return values and does so explicitly (version, classification, IPv4-mapped flag, PTR hostname), plus cost/auth. Nothing an agent needs to call it correctly is missing, apart from minor error-path detail.

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 schema already documents the single optional `ip` parameter with its default. The description restates the same default behavior ("or checks the IP you pass" / "your own IP") without adding format or validation semantics, 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 — returns the caller's public IP, or checks a supplied one — and enumerates exactly what it reports (version, type categories, IPv4-mapped detection, PTR hostname). This is clearly distinguishable from siblings like email_check or web_url_check, which validate other inputs rather than IPs.

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?

"Use to learn your own egress IP or validate an IP before using it" gives a clear use context for both invocation modes (no argument vs. passing an IP). It stops short of explicit exclusions or naming an alternative for related checks, but the two intended scenarios are unambiguous.

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