Skip to main content
Glama
duksh

PeerGlass

by duksh

rir_get_announced_prefixes

Read-onlyIdempotent

Retrieve all IP prefixes an ASN announces in BGP to analyze routing footprint, detect potential hijacks, or conduct network due diligence.

Instructions

Retrieve all IP prefixes currently being announced by an ASN in BGP.

This shows the ASN's complete routing footprint — every IP range it is actively advertising to the global internet via BGP. Uses RIPE Stat's announced-prefixes endpoint.

Useful for:

  • Understanding an organization's complete IP footprint

  • Detecting unexpected prefix announcements (possible hijacks)

  • M&A due diligence on network assets

  • Security research and threat intelligence

min_peers_seeing filters out unstable/flapping routes that only a small number of BGP peers can see. Higher = more stable routes only.

Results are cached for 5 minutes.

Args: params (AnnouncedPrefixesInput): - asn (str): ASN to query (e.g. 'AS13335' or '15169') - min_peers_seeing (int): Minimum peer count filter (default: 5)

Returns: str: Complete list of announced prefixes with peer visibility and first/last seen timestamps. JSON schema: { "resource": str, "is_announced": bool, "announced_prefixes": [ {"prefix": str, "peers_seeing": int, "first_seen": str, "last_seen": str} ] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/duksh/peerglass'

If you have feedback or need assistance with the MCP directory API, please join our Discord server