Skip to main content
Glama

P0: agent memory and utilities

Util IP

util_ip
Read-onlyIdempotent

Use when an agent needs to know how it is seen from outside: its public IP plus the country, region, city, ASN, AS organization. Returns the exact paid x402 request for your input (GET /util/ip, $0.001 per call), with a link to the full schema; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. With a P0 access key (header Authorization: Bearer p0k_…, buy one at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) this tool makes the paid call itself and returns the data, deducting the listed price.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare it read-only, idempotent, open-world and non-destructive. The description goes well beyond that by disclosing the two operating modes (return a paid x402 request URL vs. execute the call itself with a P0 bearer key), the exact price ($0.001 per call, deducted from the key balance), the endpoint (GET /util/ip), and the charge-safety guarantee that 'bad input is refused before any charge' — a genuinely useful behavioral fact for an agent deciding whether to spend.

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?

The triggering condition is front-loaded and the sentences are information-dense, with no filler. It loses a point because a long buy-keys URL and two pricing/auth mechanics are packed into a single run-on sentence, which makes the paid-vs-free decision harder to scan than it needs to be.

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?

For a zero-parameter lookup with no output schema, the definition covers everything an agent needs: what data comes back, what the call costs, the endpoint and schema link, the authentication path including where to purchase a key, and the guarantee that invalid calls are not billed. Nothing material about invoking it is left unstated.

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?

There are zero input parameters, so the baseline is 4 and there is nothing for the description to disambiguate. It correctly implies no input is needed beyond optional auth, and the mention of 'bad input' does not conflict with the empty schema since that refers to malformed URL invocation rather than tool arguments.

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?

The description names a specific resource and scope: 'its public IP plus the country, region, city, ASN, AS organization,' framed as how the agent 'is seen from outside.' That framing cleanly separates it from the other util_* siblings (base64, hash, uuid, jwt_decode, json_validate), which are local transformations rather than network egress lookups.

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?

The opening clause 'Use when an agent needs to know how it is seen from outside' gives a concrete triggering condition rather than a vague one. It does not name an alternative tool or state when-not-to-use it, so it falls short of a 5, but the context is clear enough that an agent can decide without opening the schema.

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