Skip to main content
Glama
duksh

PeerGlass

by duksh

rir_detect_route_leak

Read-onlyIdempotent

Detect BGP route leaks or hijacks for a prefix using RIPE Stat data. Identifies multiple origin ASNs and AS-path loops to validate routing security.

Instructions

Detect potential BGP route leaks or hijacks for a prefix using RIPE Stat BGP-state data.

Checks for:

  • Multiple distinct origin ASNs (possible hijack — two ASNs claiming the same prefix)

  • AS-path loops (valley-free violations — a transit ASN re-exporting a learned route)

Args: params (RouteLeakInput): - prefix (str): CIDR prefix e.g. '1.1.1.0/24' - response_format (str): 'markdown' (default) or 'json'

Returns: str: Leak detection result with confidence, suspect ASNs, and anomalous AS paths.

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