Skip to main content
Glama
duksh

PeerGlass

by duksh

rir_as_relationships

Read-onlyIdempotent

Fetch AS relationship data from CAIDA AS-Rank API to classify neighboring ASNs as providers, customers, or peers using BGP-path-based inference for accurate network analysis.

Instructions

Fetch AS relationship data from CAIDA AS-Rank API.

Classifies neighbouring ASNs as: • Providers (upstream transit) • Customers (downstream networks) • Peers (settlement-free peering)

Unlike RIPE Stat asn-neighbours (which only gives left/right/uncertain), CAIDA AS-Rank uses a BGP-path-based inference algorithm for higher accuracy.

Args: params (ASRelationshipInput): - asn (str): ASN e.g. 'AS13335' or '13335' - response_format (str): 'markdown' (default) or 'json'

Returns: str: Classified providers, customers, and peers with relationship type.

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