Skip to main content
Glama
lonniev

DPYC Oracle

by lonniev

register_authority

Registers a new Authority in the DPYC community registry after npub ownership proof and Prime approval, committing the authority's details to the GitHub registry.

Instructions

Register a new Authority in the DPYC community registry.

Called by an Authority service at the end of the onboarding protocol (after the candidate proves npub ownership and the Prime Authority approves). Commits a new members/authorities/{npub}.json file to dpyc-community on GitHub.

The full Authority onboarding protocol is a 3-step Nostr DM challenge-response flow:

  1. register_authority_npub(npub) — Authority sends DM challenge

  2. confirm_authority_claim(npub) — verifies candidate DM, escalates to Prime

  3. check_authority_approval(npub) — Prime approves, this tool is called

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_urlYesPublic MCP endpoint URL of the Authority service.
display_nameYesHuman-readable name for the Authority.
authority_npubYesNostr npub of the new Authority curator.
upstream_authority_npubYesnpub of the sponsoring Authority (must already exist as a prime_authority or authority in the registry).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior3/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 does state the key side effect: committing a new 'members/authorities/{npub}.json' file to GitHub. However, it does not mention what happens on duplicate npub, overwrite behavior, authorization requirements, or error conditions.

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 description is well organized: purpose first, then invocation context, then the protocol flow. Nothing is wasted, though the protocol steps could be considered slightly redundant with a dedicated how-to sibling tool. Overall it is focused and readable.

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?

For a mutation tool with no annotations, the description covers the essential context: when it is called, who calls it, what it writes, and where it writes it. The output schema covers return values. Gaps around duplicate handling and failure modes keep it from being fully complete.

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%, so the input schema already documents all four parameters meaningfully. The description adds protocol context around npub ownership and upstream sponsorship but does not add significant parameter-level semantics beyond the schema.

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: 'Register a new Authority in the DPYC community registry.' It further clarifies the concrete effect by mentioning the GitHub file path committed. This clearly distinguishes it from sibling tools like register_advocate and register_operator.

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 explicit context for when to call it: at the end of the onboarding protocol, after npub ownership is proven and the Prime Authority approves. It even traces the 3-step Nostr DM flow. It does not explicitly list alternatives or when not to use it, so it misses the top score.

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