Skip to main content
Glama

Peeringdb Network

peeringdb_network

Retrieve PeeringDB network details by ASN, including peering policy, network type, IRR as-set, and every IXP connection with LAN addresses and speeds.

Instructions

Look up a network in PeeringDB by ASN.

Returns peering policy, network type, IRR as-set, website, and every IXP where the network peers (with LAN addresses, port speeds, and route-server participation). Useful for understanding a network's peering footprint and how to reach it.

Data source: PeeringDB (two requests: the net record, then its netixlan entries). A null network with no error means the ASN has no PeeringDB entry; if error is set the lookup failed upstream and the record may be missing or partial (e.g. exchanges empty).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asnYesASN to look up (e.g. 13335)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoSet when the PeeringDB request failed; other fields may be empty or partial.
sourceNoData source name.PeeringDB
networkYesMatching PeeringDB record, or null if the ASN has no PeeringDB entry.
query_asnYesThe ASN that was looked up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the underlying two-request data source, the null-network/error semantics, and the risk of partial records when upstream lookup fails. This is substantial transparency beyond what the schema shows.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the main purpose, followed by the return contents, then the data-source and edge-case details. Every sentence adds information an agent needs; there is no filler or repetition of schema fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter lookup with an output schema, the description covers the main behavior, the key return fields, the external data source, and the important null/error response cases. An agent has enough information to call the tool correctly and interpret ambiguous results.

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?

There is only one parameter, asn, and the schema already describes it with an example. The description adds no new format, range, or constraint information, so it provides no value beyond the high schema coverage.

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?

The description opens with a specific verb and resource: 'Look up a network in PeeringDB by ASN.' It clearly distinguishes this tool from siblings like peeringdb_ix and peeringdb_facility by stating it focuses on network records and their IXP peerings, so an agent can select it confidently.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context: it is 'useful for understanding a network's peering footprint and how to reach it.' It does not explicitly name sibling tools or state when NOT to use it, but for a straightforward lookup tool the usage context is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.