Skip to main content
Glama

Peeringdb Facility

peeringdb_facility

Search PeeringDB for data center facilities by name, city, or ID to get location, network count, and IXP presence for colocation and interconnection planning.

Instructions

Search for data center facilities in PeeringDB.

Returns facility name, location, website, how many networks are present (networks_count), and how many IXPs are reachable there (exchanges_count). Useful for understanding colocation options and where networks can physically interconnect.

Data source: PeeringDB, one request (two if the name search is empty and falls back to a city search). Counts come from PeeringDB's own net_count / ix_count fields, so no per-facility lookups are made. If error is set the search failed upstream and facilities is empty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesFacility name or city to search (e.g. 'Equinix', 'Ashburn'), or a numeric PeeringDB facility id for an exact lookup.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoSet when the PeeringDB request failed; other fields may be empty or partial.
queryYesThe search string that was used.
totalNoNumber of facilities returned.
sourceNoData source name.PeeringDB
facilitiesNoMatching facilities (at most 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full transparency burden and does well. It discloses internal behavior: one request normally, two if the name search is empty and falls back to a city search, counts sourced from PeeringDB's net_count/ix_count fields, and the error semantics where facilities is empty when error is set.

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 compact, front-loaded with the core action and returns, then adds practical behavior details. Each sentence contributes useful information with no filler or repetition of the schema.

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?

The description covers what the tool does, what it returns, when it is useful, how it behaves internally, and how errors are represented. With an output schema present and only one input parameter, nothing essential is missing for an agent to select and invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameter is already well documented. The description adds value by explaining the fallback from name search to city search and by giving concrete examples like 'Equinix' and 'Ashburn', plus the numeric ID exact-lookup path, making the query semantics clearer than the schema alone.

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: 'Search for data center facilities in PeeringDB.' It further clarifies scope by listing returned fields (name, location, website, networks_count, exchanges_count), which distinguishes facility search from sibling tools like peeringdb_network and peeringdb_ix.

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 states a clear use case: 'understanding colocation options and where networks can physically interconnect.' It does not explicitly name sibling alternatives or state when not to use the tool, but the facility-focused context is sufficient to guide an agent toward appropriate use.

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