Skip to main content
Glama

x402_ipapiis_get_v1_ip_ip

Look up an IP address to get geolocation, ASN, company, timezone, and bogon status, helping identify its origin and network ownership.

Instructions

ipapiis — IP geolocation + ASN/company via api.ipapi.is free tier: bogon check, company, ASN, lat/lon, timezone [GET /v1/ip/{ip}] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/ip/8.8.8.8

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": "x402_ipapiis_get_v1_ip_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does add real operational context — per-call cost ($0.005 USDC), accepted chains (eip155:8453/137/42161/480), and the underlying HTTP route — but it says nothing about error behavior, retry/payment failure semantics, or latency, and 'free tier' sits ambiguously next to a paid price. That is useful but incomplete disclosure for a paid endpoint.

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?

A single compact line with the provider and core capability front-loaded, then cost, endpoint, and example. Dense but every element (data source, price, route) is relevant; the only weakness is that it reads as a run-on of heterogeneous facts rather than a structured statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid x402 proxy call with no output schema and no annotations, the definition covers source, cost, chain, and the fields returned, which is more than most. It still falls short on the two things an agent most needs: how to supply the target IP given the path template isn't in the schema, and what happens on payment or lookup failure (the restart/operationId flags are left unlinked to this tool's semantics).

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 description coverage is 100% for the four declared parameters (body, query, restart, operationId), so the schema already documents them and the baseline applies. The description adds the path template and a concrete example (/v1/ip/8.8.8.8), which partially compensates for the fact that no 'ip' property exists in the schema — but it never states whether the IP goes in the path, query, or body, leaving the most important input underspecified.

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?

Names a concrete verb/resource combination ('IP geolocation + ASN/company'), the upstream provider (api.ipapi.is), the endpoint (GET /v1/ip/{ip}), and the enriched fields returned (bogon, company, ASN, lat/lon, timezone). It does not distinguish this from the many sibling IP-geolocation tools (x402_ipapi_get_v1_ip_ip, x402_dbip_get_v1_ip_ip, x402_ipinfo_get_v1_ip_ip), so the provider name is the only implicit differentiator.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance and no comparison to the alternative IP lookup tools that share this namespace. The only implied usage signal is 'free tier', which suggests a cost tradeoff but does not tell an agent when to prefer this source over ipapi, dbip, ipinfo, or ipwhois.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools