Skip to main content
Glama

PeeringDB IX and Networks MCP

Get PeeringDB network by ASN or name

get_network_by_asn
Read-onlyIdempotent

Look up a carrier, ISP, CDN, or enterprise network in PeeringDB by ASN or name, returning peering policy, prefix limits, traffic ratio, and IRR AS-SET.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_network_by_asn"
  }
}

Input Schema

NameRequiredDescriptionDefault
asnNoAutonomous System Number (e.g. 13335 for Cloudflare, 15169 for Google).
nameNoNetwork name substring (e.g. "Cloudflare", "Fastly", "Akamai").
limitNoMax networks to return (default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds value beyond that by disclosing the returned data shape ('peering policy, prefix limits, traffic ratio, and IRR AS-SET'), which matters because no output schema exists. It stops short of covering result-set behavior such as what the limit parameter does to the response.

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?

A single front-loaded sentence that packs the entity types, the data source, the lookup keys, and the return fields with no filler. Nothing could be removed without losing meaning.

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 no output schema, the description usefully enumerates the key returned fields and the accepted lookup keys, which is most of what an agent needs. The remaining gap is the ambiguity around combining asn and name and the multi-match behavior implied by the limit parameter.

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?

Schema description coverage is 100%, with each of the three parameters (asn, name, limit) documented inline including examples and bounds, so the baseline of 3 applies. The description echoes the ASN-or-name choice but adds no semantics beyond the schema — it never explains precedence when both are given or what the returned list looks like when 'name' matches multiple networks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Look up') and resource ('carrier, ISP, CDN, or enterprise network in PeeringDB') and states the lookup keys ('by ASN or name'), so the agent can tell this is a single-entity network lookup rather than an IX, facility, or organization search. It doesn't explicitly contrast itself with siblings like get_network_ix_presence, but the scope is unambiguous.

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?

'By ASN or name' implies the preconditions for calling it (you must already know or partially know an identifier), which is implied usage guidance. However, there is no explicit statement of when to choose this over search_peering_organizations or get_network_ix_presence, and no guidance on what happens if neither identifier is supplied given that zero parameters are required.

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.