Skip to main content
Glama

Get Relays

get_relays

Return the DPYC Nostr relay set, best first.

The single source of truth is dpyc-community/relays.json. An Operator seeds its relay set from here at cold start (its only fixed dependency is this Oracle endpoint), then reads its own bootstrap config from Nostr using just its nsec — no direct GitHub access.

That file is a curated guess: it says which relays are worth using, not which are up this minute. Relays that an operator reported and the Oracle then proved unreachable are moved to the back of the list; everything else keeps its declared order, and nothing is ever dropped.

This call never probes anything — it is on every operator's cold-start path, so it stays a lookup. Ranking improves only when someone hits a dead relay and says so via report_relay_failure. Report failures only; successes need no announcement.

Free.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so: it discloses that the call never probes relays, that it stays a pure lookup because it sits on the cold-start path, that declared order is preserved and 'nothing is ever dropped', and that the file is a curated guess rather than live state. Those are exactly the behavioral traits an agent could otherwise misinfer.

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?

The answer and ordering guarantee are front-loaded, and the ranking/curation caveats each earn their place. The middle paragraph about operator cold-start and nsec bootstrap is background rationale that is relevant but longer than strictly needed to call the tool.

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?

With an output schema present, return-shape explanation is unnecessary, and the description covers everything else an agent needs: data source, ranking semantics, the no-probe guarantee, and how the ordering changes over time. Nothing material is missing for a zero-parameter read.

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?

The tool takes zero parameters, which is the baseline-4 case, and the description correctly implies a parameterless lookup. There is nothing further a parameter discussion could add here.

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 opening sentence names a specific verb and resource ('Return the DPYC Nostr relay set') and adds the ordering guarantee ('best first'), which no sibling provides. An agent can immediately distinguish it from report_relay_failure or resolve_service without opening a schema.

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

Usage Guidelines5/5

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

It states the primary use case precisely (operator cold-start seeding from the Oracle), names the counterpart tool 'report_relay_failure' for correcting the ranking, and explicitly excludes the inverse case: 'Report failures only; successes need no announcement.' That is near-complete when/when-not guidance.

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.