Skip to main content
Glama

Register Authority

register_authority

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

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

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / authority_npub / description
      Added value: +"Nostr npub of the new Authority curator."
    • addedInput schema / properties / display_name / description
      Added value: +"Human-readable name for the Authority."
    • addedInput schema / properties / service_url / description
      Added value: +"Public MCP endpoint URL of the Authority service."
    • addedInput schema / properties / upstream_authority_npub / description
      Added value: +"npub of the sponsoring Authority (must\nalready exist as a prime_authority or authority in the registry)."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the write side effect (committing a file to GitHub) and the approval/ownership preconditions. It stops short of stating auth requirements, idempotency behavior for an already-registered npub, or failure modes, which would matter for a mutation tool.

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?

Front-loaded with the core action, then the protocol context. The three-step enumeration is somewhat verbose but each line maps to a real sibling tool and genuinely disambiguates ordering, so it earns its space.

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?

An output schema exists, so return values need no explanation, and the description covers preconditions and side effects well. Missing only operational details like auth requirements and duplicate-registration handling, which is a minor gap for a four-param mutation tool.

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 coverage is 100%, so all four parameters are already documented in the schema, including the 'must already exist as a prime_authority or authority' constraint on upstream_authority_npub. The description adds no format or validation detail beyond what the schema provides, so the baseline 3 is appropriate.

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?

States a specific verb and resource ('Register a new Authority in the DPYC community registry') and pins down the concrete side effect ('Commits a new members/authorities/{npub}.json file to dpyc-community on GitHub'). This clearly separates it from siblings like register_operator and register_advocate.

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?

Explicitly states the calling context (called by an Authority service at the end of the onboarding protocol) and the precondition (candidate proved npub ownership, Prime Authority approved). It also names the two preceding steps register_authority_npub and confirm_authority_claim, so an agent knows this is the terminal step rather than the entry point.

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.