Skip to main content
Glama

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 the response schema and an example; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world status, so the bar is low — yet the description adds genuinely non-obvious behavior: the tool does not return the data itself but a paid request template the agent must execute, the price is $0.001 per call, payment requires an x402/MPP client, and invalid input is rejected before any charge. Those are material traits an agent could not infer from the annotations.

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 when-to-use condition is front-loaded and every clause carries information (IP fields, endpoint, price, return shape, payment mechanism, no-charge guarantee). The second sentence is long and compound, which slightly reduces scannability, but nothing is padding.

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 parameters and no output schema, the description must carry the return-shape burden — and it does, listing the returned fields and stating that the tool returns the request, the response schema and an example. An agent has everything needed to decide whether to call it and how to complete the paid fetch.

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 parameters, so per the rubric the baseline is 4. The description correctly notes the call takes 'your input' only in the sense of the request template and adds no parameter guidance that is needed, since there is nothing to configure.

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 states a specific capability: returning the caller's externally-visible public IP plus country, region, city, ASN and AS organization. That is a distinct resource/verb pair and is easily separable from the other util_* siblings (base64, hash, uuid, jwt_decode, json_validate), none of which report caller geography.

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?

It gives a clear triggering condition ('Use when an agent needs to know how it is seen from outside') and tells the agent what to do next: call the returned URL with an x402 or MPP client. It does not name alternatives, but within the util_* family no alternative would satisfy this need, so explicit exclusions are not required.

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.