Skip to main content
Glama

ipapi.is MCP by usefulapi

ipapi_lookup_asn

Read-only

Look up one autonomous system (AS number) in ipapi.is: organization, registry, type, country and announced routes. Spends 1 request of your ipapi.is quota.

Input Schema

NameRequiredDescriptionDefault
asnYesAS number, with or without the AS prefix, for example AS15169 or 15169.

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?

Annotations already declare readOnlyHint=true, so safety is covered; the description adds the non-obvious cost signal "Spends 1 request of your ipapi.is quota," which matters for a metered API. It does not disclose behavior for invalid or unannounced ASNs (empty result vs. error), which is the main remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and returned fields, followed by the quota cost. No filler, no repetition of the name or title.

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?

With no output schema, the description usefully enumerates the returned fields (organization, registry, type, country, announced routes) and discloses quota cost, which is enough to call the tool correctly. Only error/empty-result behavior for a nonexistent ASN is left unspecified.

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% and the single parameter documents the AS prefix format with an example, so the schema carries the semantic load. The description only restates the resource as "AS number" and adds no format or normalization detail beyond the schema.

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?

States a specific verb and resource ("Look up one autonomous system (AS number)") and enumerates the returned attributes: organization, registry, type, country, announced routes. The word "one" plus the ASN focus clearly separates it from the sibling tools ipapi_bulk_lookup and ipapi_lookup_ip without needing to name them.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for a single-ASN lookup, and the quota sentence hints it is a paid call worth conserving. There is no explicit when-to-use guidance, no statement of when to prefer ipapi_bulk_lookup (multiple ASNs) or ipapi_lookup_ip, and no mention of error conditions for an unknown ASN.

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.