Skip to main content
Glama

taxsort_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 a new dpop_token: an Operator-signed proof grant envelope {"grant": …, "nonce": …} bound to the patron, this challenge, and the duration the patron named. The calling application MUST remember that whole string and pass it as dpop_token on every subsequent paid tool call. The grant is self-verifying; nothing about it is stored here. 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. Changed2 schema fields changed
    • addedInput schema / properties / dpop_token / description
      Added value: +"Required. The dpop_token returned by request_npub_proof."
    • addedInput schema / properties / patron_npub / description
      Added value: +"Required. The patron's npub to receive proof from."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so richly: it discloses one-shot deterministic retrieval, that it drains only the pinned rendezvous relay, that mismatched DMs are deleted and NACK'd without revealing the expected phrase, and that the returned grant is self-verifying with nothing stored server-side. It also states the call is free. This is exactly the behavioral disclosure an agent needs for a non-idempotent, order-sensitive retrieval.

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 a one-line purpose before the flow and constraints, and every sentence carries information. Somewhat long with heavy emphasis formatting, but the length is justified by the stateful flow it documents rather than padding.

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?

Although an output schema exists (so return values needn't be explained), the description still clarifies the shape and lifecycle of the returned proof grant envelope and what the caller must do with it, closing the loop for a multi-step flow. Nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so both params are already documented (baseline 3). The description adds genuine meaning beyond the schema: it names the concatenation key '(patron_npub, dpop_token)' and specifies that dpop_token must be the value returned by request_npub_proof, plus that the newly returned dpop_token must be carried on all subsequent paid calls.

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+resource ('Receive npub ownership confirmation from a patron') and explicitly positions itself within the npub-OWNERSHIP-PROOF flow, distinguishing itself from the 'credential-delivery counterpart' receive_credentials. An agent can tell exactly what this does and how it differs from its nearest sibling without opening a 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?

Gives explicit when-to-call ('Call this only after the user confirms they have replied'), an explicit anti-pattern ('If called before the user replies, their message will never be found. Do NOT poll, loop, or retry'), and names both related tools (request_npub_proof supplies the token; receive_credentials is the parallel flow). Nothing is left to inference.

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.