Skip to main content
Glama

Agent Data Tools: Utilities

IP address facts

ip_info
Read-only

Classify an IPv4 or IPv6 address without any lookup: version, whether it is private, loopback, link-local, carrier-grade NAT or public, and its integer and reverse-DNS forms (IPv4). Use to triage IPs in logs or allowlists. Example: ip=10.1.2.3. Price $0.003/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesThe IP address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint), but the description adds behavior they cannot express: no network lookup is performed, each call is billed ($0.003 via x402 USDC or card key, first 25 free, failed calls free), and because every call is charged, repeats are not free — a meaningful restatement of idempotentHint=false in cost terms.

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 is front-loaded in the first sentence, followed by use case, example, then pricing. All sentences earn their place, though the pricing sentence is long and packs four separate facts, slightly diluting the otherwise tight structure.

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?

There is no output schema, so the description correctly enumerates the return fields itself, and it covers payment, free tier, and failure-cost semantics. For a one-parameter, non-destructive compute tool, nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With one parameter at 100% schema coverage, the baseline is 3, but the description adds value beyond the schema by noting the parameter accepts either IPv4 or IPv6 and supplying a concrete example value. It still does not describe accepted input formats (dotted-quad vs. CIDR vs. bracketed IPv6).

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?

States a specific verb and resource ('Classify an IPv4 or IPv6 address without any lookup') and enumerates exactly what is returned: version, private/loopback/link-local/CGNAT/public status, and integer/reverse-DNS forms. It does not explicitly route against the nearby sibling ip_cidr, so an agent must infer the single-address vs. subnet-math distinction.

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 triage IPs in logs or allowlists' gives a concrete usage context, and the inline example (ip=10.1.2.3) shows the call shape. There is no when-not guidance and no explicit pointer to ip_cidr for subnet questions, so it stops short of full alternative routing.

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.