Skip to main content
Glama

Good Earth

Goodearth Receive Npub Proof

goodearth_receive_npub_proof

Receive npub ownership confirmation from a patron.

Completes the npub-OWNERSHIP-PROOF flow (the credential-delivery counterpart is receive_credentials).

Call this only after the user confirms they have replied. Deterministic, one-shot retrieval: name the response with (patron_npub, dpop_token) — the dpop_token being the value returned by request_npub_proof. The tool drains ONLY the pinned rendezvous relay that challenge was published on, stopping at the DM whose phrase matches. Mismatched DMs are deleted and NACK'd (without revealing the expected phrase). If called before the user replies, their message will never be found. Do NOT poll, loop, or retry.

The signed DM itself proves npub ownership (the patron's nsec signed it). On success, returns the dpop_token — the same token. The calling application MUST remember it and pass it as the dpop_token parameter on every subsequent paid tool call. The proof (a hash of the token) is stored in the vault keyed by that hash — the MCP never stores the raw token itself. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dpop_tokenNoRequired. The dpop_token returned by request_npub_proof.
patron_npubNoRequired. The patron's npub to receive proof from.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it delivers substantially: one-shot deterministic retrieval, draining only the pinned rendezvous relay, stopping at the matching-phrase DM, deletion/NACK of mismatched DMs without leaking the expected phrase, and the security contract that only a hash of the token is stored while the raw token travels to the caller. This exceeds typical behavioral disclosure.

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 long, but nearly every sentence is load-bearing — usage constraints, relay behavior, security guarantees, and caller obligations. It is front-loaded with purpose and each paragraph earns its place. Minor structural deduction only because the density could have been trimmed without losing meaning (e.g., the signed-DM proof rationale).

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?

For a multi-step flow with security and relay subtleties, nothing an agent needs is missing: when to call, what the tool does on success (returns dpop_token), what the caller must remember, what is stored and how, and the 'Free' cost note. No output schema is given, but the description states the return value, so the absence is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema's only parameter (dpop_token) carries no description of its own, so schema description coverage is near zero. The description compensates fully by explaining its provenance ('the value returned by request_npub_proof'), its precise role in naming the response, and its onward obligation (must be passed on every subsequent paid call). No semantic gap remains.

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+resource pair ('Receive npub ownership confirmation from a patron') and immediately situates itself in a flow, naming its counterparts receive_credentials and request_npub_proof. This disambiguates it from the credential-delivery sibling and the challenge-issuing sibling in one stroke, leaving no doubt what it does and what it is not.

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?

Explicit temporal guidance is given: 'Call this only after the user confirms they have replied,' reinforced by the warning 'If called before the user replies, their message will never be found.' It also forbids retry patterns ('Do NOT poll, loop, or retry') and explains the destructive consequence of premature calls. Related tools (receive_credentials, request_npub_proof) are named to anchor the workflow.

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.