Skip to main content
Glama

Request Citizenship

request_citizenship

Begin the citizen registration process (Operator-owned flow).

This is the citizen registration path. Called by the Operator on behalf of a patron — invokes the Oracle directly. No Authority npub is required or consulted. The patron's npub is registered as a Citizen in the DPYC community.

The npub provided here becomes the user's patron identity — the keypair they will use for credit purchases and service access across all Tollbooth-monetized services.

Not to be confused with operator registration, which goes through the Authority via a Nostr DM delegation request.

Issues a cryptographic challenge that the applicant must sign with their Nostr private key (nsec) to prove they own the claimed npub. The nsec never leaves the applicant's device.

Returns a challenge_id, nonce, and signing instructions. The applicant signs a Nostr event containing the nonce and submits it via confirm_citizenship within 10 minutes.

Input Schema

NameRequiredDescriptionDefault
npubYes
display_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/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 so well: it discloses the cryptographic challenge step, that the nsec never leaves the applicant's device, the required follow-up call (confirm_citizenship), and a 10-minute expiry window. These are exactly the behavioral traits an agent needs to sequence the flow correctly.

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 distinction and flow, with no truly wasted sentences. It is somewhat long and repeats the 'registration path' idea across paragraphs, but each block adds routing or sequencing value.

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?

An output schema exists, so return values (challenge_id, nonce, signing instructions) need not be re-explained, and the description still summarizes them. The challenge-sign-confirm sequence and its time limit make the definition complete for correct invocation.

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 0%, so the description must compensate. It adds real meaning for npub (it becomes the patron identity keypair used for credit purchases and service access), but display_name is never explained. Partial compensation for a two-parameter tool.

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 ('Begin the citizen registration process') and explicitly distinguishes this citizen path from the operator path that goes through the Authority. An agent can tell it apart from register_operator and register_authority without opening any 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?

Specifies who calls it (the Operator on behalf of a patron), that it invokes the Oracle directly, and that no Authority npub is required or consulted. It also names the alternative flow explicitly ('Not to be confused with operator registration, which goes through the Authority via a Nostr DM delegation request').

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.