Skip to main content
Glama

Agent Tools

ip_lookup_batch

Batch IP lookup for log analysis and fraud review: up to 10 IPv4 or IPv6 addresses per call, 40% cheaper than singles. JSON body {ips:[...]}. Each item returns the owning network, range, country (RDAP) and reverse DNS. Bad items return per-item errors. Price $0.012 USDC per call via x402. Example output: {"count":2,"succeeded":2,"failed":0,"results":[{"input":"1.1.1.1","ok":true,"result":{"network":"APNIC-LABS","country":"AU"}},{"input":"8.8.8.8","ok":true,"result":{"network":"GOGL","country":"US"}}]}

Input Schema

NameRequiredDescriptionDefault
ipsYes1 to 10 IP addresses

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations to lean on, the description carries the burden well: it discloses partial-failure semantics ('bad items return per-item errors'), the payment/auth mechanism (x402, $0.012 USDC per call), and the result shape via a worked example. It does not mention latency, rate limits, or whether a failed lookup is still billed, which keeps it out of the top band.

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-loaded with purpose and cost before mechanics, and each sentence carries useful information. The embedded example output is long but justified since there is no output schema; the remaining text is tight.

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?

For a one-parameter batch tool with no annotations and no output schema, the description covers input format, limits, failure semantics, pricing, and return shape. Minor gaps remain around billing on partial failure and any rate limits, but nothing essential to correct invocation 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?

Schema coverage is 100% for the single ips parameter, so the baseline is 3. The description adds real value beyond the schema by specifying IPv4 or IPv6 acceptance and the JSON body shape {ips:[...]}, neither of which the schema states.

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+resource (batch IP lookup) plus the concrete use cases of log analysis and fraud review. It differentiates implicitly from single lookups with '40% cheaper than singles', but never names the ip_lookup sibling directly, so the agent must infer the routing rule.

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 clear context for when this applies (multiple IPs in logs, fraud review, cost savings vs singles) and enforces the batch limit of 10. It stops short of an explicit exclusion such as 'use ip_lookup for a single address', leaving that inference to the agent.

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