Skip to main content
Glama

PeeringDB ISP Network ASN MCP

Look up ISP or enterprise network by ASN

lookup_network_by_asn
Read-onlyIdempotent

Query PeeringDB for an ISP, CDN, or enterprise Autonomous System by ASN or organization name, returning peering policy, IRR AS-SET, and IPv4/IPv6 prefix counts.

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": "lookup_network_by_asn"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the upstream data source (PeeringDB) and the fields returned (peering policy, IRR AS-SET, prefix counts), which is real added context. It omits operational traits an agent would care about for an external query service, notably rate limiting and whether zero or many results are possible.

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 with the verb first, the source, the lookup keys, and the return payload, with no filler or redundant restatement of the title. Nothing could be removed without losing information.

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

Completeness3/5

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

With no output schema, describing the returned fields is necessary and correctly done here. However, for a three-parameter search against an external database, the description leaves open the result cardinality (single network vs. list), behavior on no match, and how asn and name interact when both are given, which is a meaningful gap.

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%, and the schema itself provides examples for asn, name, and limit including ranges and the default. The description only restates the ASN-vs-name duality already encoded in the properties, adding no syntax, precedence, or matching-behavior detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 (Query) and resource (PeeringDB Autonomous System), qualifies the entity types it covers (ISP, CDN, enterprise), and names the two lookup keys. It is clear what the tool does, but it never contrasts itself with sibling tools such as search_internet_exchanges or search_telecom_organizations, so differentiation relies on the reader inferring resource boundaries from names.

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?

The phrase 'by ASN or organization name' implies the two invocation modes, and the CDN/ISP/enterprise framing hints at when this is the right resource type. There is no explicit when-to-use vs. when-to-use-an-alternative statement, no note on what happens when both asn and name are supplied, and no exclusions.

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.