Skip to main content
Glama

SiteCheck Web Intel

For an autonomous system: how many upstream and downstream

security_asn_peers_upstream
Read-only

For an autonomous system (e.g. AS13335): how many upstream (transit) and downstream neighbours RIPEstat sees in BGP, the top upstreams ranked by 'power' with their IPv4 and IPv6 peer counts, and the top downstreams. Built from RIS route collector paths, so it is an observed view, not the contract. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "asn": "<asn>"
    },
    "name": "security_asn_peers_upstream"
  }
}

Input Schema

NameRequiredDescriptionDefault
asnYesAS number such as AS13335 or 13335 (required)

Output Schema

NameRequiredDescriptionDefault
asnNo
countsNo
sourceNo
checkedAtNo
upstreamsNo
downstreamsNo

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?

Annotations already declare readOnlyHint and openWorldHint, and the description usefully adds the data provenance (RIS route collector paths, so an observation rather than authoritative registry data) and the billing model ($0.002 per successful call via x402, failures not charged). That payment/charging behavior is exactly the kind of context annotations cannot convey. Missing are any freshness/lag or rate-limit notes for what is a live BGP view.

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?

A single front-loaded sentence leads with the question the tool answers, followed by provenance and price. Slightly dense — the pricing clause is long and could be a separate trailing note — but nothing is redundant.

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 an output schema present and both annotations set, the description does not need to explain return shape, and it still names the key fields. The one gap is that 'power' is introduced as an opaque ranking metric without definition, though the output schema likely covers its meaning.

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?

Only one parameter with 100% schema description coverage, so the schema already documents the ASN format and the description's 'e.g. AS13335' merely repeats it. Baseline 3 applies; the description adds no new constraint such as accepted prefix forms or handling of malformed ASNs.

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 resource (upstream/downstream BGP neighbour counts for an autonomous system) and enumerates exactly what is returned: counts, top upstreams ranked by power with IPv4/IPv6 peer counts, top downstreams. The phrase 'observed view, not the contract' implicitly separates it from registry/RIR-derived siblings such as whois or prefix-origin tools.

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 ASN transit-topology questions, and the parenthetical 'e.g. AS13335' signals the input style. There is no statement of when to prefer it over security_cymru_asn_lookup or security_bgp_prefix_origin, and no exclusions or prerequisites.

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