Skip to main content
Glama

Look up a network (ASN) by IP or AS number

lookup_asn
Read-only

The autonomous system (ASN) behind ONE public IP address, or ONE network by its AS number ("AS13335" or "13335"). For an IP: the ASN, its name, the ISP and organization, and (by plan) its registry, allocation date, cloud provider, datacenter flag. For an AS number: its name, how many IPv4 and IPv6 ranges it announces, its IPv4 address count and largest prefixes, and (by plan) the datacenter flag. Both link to the network's page on myiphelp.com and count one lookup against the monthly quota.

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

Input Schema

NameRequiredDescriptionDefault
ipNoA public IPv4 or IPv6 address whose network you want (or an AS number, as in "asn").
asnNoAn AS number, e.g. AS13335 or 13335, instead of an IP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that results are plan-gated (registry, allocation date, cloud provider, datacenter flag), that both modes return a link to myiphelp.com, and that each call consumes one lookup from the monthly quota. That quota/cost disclosure is meaningful behavioral context the annotations do not carry; only pagination or failure behavior is left unspecified.

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?

Purpose is front-loaded and the per-mode result breakdown is organized as parallel clauses. It is a single dense sentence, so the field enumerations are long but each one carries information.

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?

There is no output schema, and the description compensates well by describing the returned fields for both input modes plus the quota cost. The one gap is mutual exclusivity of the two optional parameters, which the agent must guess.

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 coverage is 100% and the schema already documents both fields with the same example formats, so the description only adds the 'public IP' restriction and the implicit either/or framing. It never states that exactly one of ip or asn must be supplied, which matters because the schema marks zero parameters required.

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?

Names a specific verb (look up) and resource (ASN / network) and scopes it to a single public IP or a single AS number, with the capitalized 'ONE' ruling out multi-value use. It also enumerates what is returned for each input mode, so an agent knows exactly what it gets without opening the schema.

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?

The 'ONE' emphasis implicitly steers multi-IP work toward bulk_lookup, and 'public IP' rules out private addresses, but no sibling is named and there is no explicit when-to-use/when-not-to-use statement. Guidance is inferable rather than stated.

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