Skip to main content
Glama

taxsort_request_npub_proof

Request npub ownership proof from a patron via Nostr DM.

This is the npub-OWNERSHIP-PROOF flow — use it when a call returns proof_required. It proves the caller controls an npub; it does NOT deliver any service secret. To hand an operator its API keys or OAuth secrets, use request_credential_channel instead.

Sends a challenge DM that the patron must sign and reply to using their Nostr client. This is a human-in-the-loop flow.

After calling this tool, STOP and tell the user to check their Nostr client and reply to the challenge. Wait for the user to confirm they have replied before calling receive_npub_proof. Do NOT poll or retry — each receive_npub_proof call destructively drains the relay mailbox.

Returns a dpop_token — the demonstrated-proof-of-possession token that the calling application MUST remember and pass as the dpop_token parameter on every subsequent paid tool call. The MCP does not retain this value across restarts.

Lifecycle: The cached proof expires after the patron's chosen duration. When it expires, call request_npub_proof again for a fresh challenge, then wait for the user, then call receive_npub_proof.

Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoOptional. A human-readable purpose for the request ("I'm working on your request XYZ and need the Operator to do ABC for you"). Signed into the provenance attestation and shown in the DM, so the recipient sees *why* they are being asked — especially useful when the signer is unknown to them.
verify_atNoOptional. A free-form statement of WHERE you (the initiating agent) already showed this proof's one-time code to the user — a URL, or "your Claude.ai conversation", "the Grok session". The OAuth 2.0 Device Grant ``verification_uri``, generalized: the user approves only if the code in the DM matches the one you displayed there, so an unsolicited request they've never seen is refused. Signed into the attestation.
patron_npubNoRequired. The patron's npub to request proof from.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / patron_npub / description
      Added value: +"Required. The patron's npub to request proof from."
    • addedInput schema / properties / reason / description
      Added value: +"Optional. A human-readable purpose for the request\n(\"I'm working on your request XYZ and need the Operator to do\nABC for you\"). Signed into the provenance attestation and shown\nin the DM, so the recipient sees *why* they are being asked —\nespecially useful when the signer is unknown to them."
    • addedInput schema / properties / verify_at / description
      Added value: +"Optional. A free-form statement of WHERE you (the\ninitiating agent) already showed this proof's one-time code to\nthe user — a URL, or \"your Claude.ai conversation\", \"the Grok\nsession\". The OAuth 2.0 Device Grant ``verification_uri``,\ngeneralized: the user approves only if the code in the DM matches\nthe one you displayed there, so an unsolicited request they've\nnever seen is refused. Signed into the attestation."
  2. Changed2 schema fields changed
    • addedInput schema / properties / reason
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
    • addedInput schema / properties / verify_at
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral burden — and it delivers: human-in-the-loop (patron must sign and reply manually), a hard STOP instruction, destructive consequence disclosure ('each receive_npub_proof call destructively drains the relay mailbox'), non-persistence ('The MCP does not retain this value across restarts'), and lifecycle expiry behavior. This exceeds what annotations typically encode.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Seven paragraphs sounds long, but each one earns its place — purpose, when-not-to, call sequencing, destructive warning, token contract, and lifecycle are all distinct facts an agent cannot infer. It is front-loaded with the purpose and flow identity before warnings and lifecycle details.

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 human-in-the-loop tool with a destructive follow-up and a non-persistent token contract, the description covers every decision point: when to call, what it returns, what to remember, how to sequence with receive_npub_proof, and what happens at expiry. Since an output schema exists, return-value detail needs no further elaboration.

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% with rich per-parameter text (reason's provenance attestation, verify_at's OAuth Device Grant analogy), so the schema already does the heavy lifting — baseline 3. The description adds little parameter-specific value, and its claim that patron_npub is 'Required' mildly conflicts with the schema, which marks it optional with a default.

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 + medium ('Request npub ownership proof from a patron via Nostr DM') and names the exact trigger condition ('use it when a call returns proof_required'). It explicitly distinguishes itself from siblings by naming request_credential_channel for the secret-delivery case, so an agent can disambiguate without opening schemas.

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 trigger conditions ('use it when a call returns proof_required'), an explicit alternative ('To hand an operator its API keys or OAuth secrets, use request_credential_channel instead'), and a full call sequence with the follow-up tool (STOP... wait... then call receive_npub_proof). It even includes negative instructions ('Do NOT poll or retry'). 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.