Skip to main content
Glama

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

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

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools target a distinct resource or lifecycle step: role-specific registrations, campaign tools, relay tools, and doc/status tools are clearly separated. Minor overlap exists between lookup_member/resolve_service and about/get_rulebook, but the descriptions are detailed enough to route an agent correctly.

Naming Consistency4/5

Almost all tool names use lowercase snake_case with a verb_noun structure (register_*, get_*, list_*, update_*, report_*). A few noun-phrase doc/status tools like about, economic_model, network_advisory, and service_status deviate, but the overall pattern remains readable and predictable.

Tool Count2/5

At 30 tools, this surface is heavy and exceeds the 25-tool threshold, especially for what is mostly a registry/oracle service. Several tools are explicitly not yet implemented, and the count would benefit from deferring those stubs or consolidating related doc/resolution tools.

Completeness3/5

Core areas are covered: member lookup, role registration, operator updates, campaigns, relays, governance docs, and status/advisory queries. However, some workflows are stubs (ban elections, citizen renouncement) and lifecycle gaps remain for authority/advocate updates or deregistration, plus no ban-election status/result tool exists.