Skip to main content
Glama
kaleidoswap

wdk-wallet-rln-mcp

Official
by kaleidoswap

wdk_mpp_pay

Pay a Machine Payments Protocol Lightning challenge by providing the invoice from mpp_request_challenge. Returns a credential JSON for submission and a payment hash for auditing, with optional L402-compatible fields.

Instructions

Pay an MPP (Machine Payments Protocol) Lightning challenge using the RLN wallet. Pass the invoice from mpp_request_challenge. Returns a credential JSON string to pass directly to mpp_submit_credential. Also returns the payment_hash for auditing. Supports optional macaroon and challenge_id fields from the challenge for L402-compatible credential construction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoiceYesBOLT11 Lightning invoice from the MPP challenge (from mpp_request_challenge)
macaroonNoMacaroon from mpp_request_challenge (required for L402-compatible servers)
challenge_idNoMPP challenge_id from mpp_request_challenge (included in credential for server verification)
Behavior3/5

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

No annotations provided, so description carries full burden. Describes return values (credential JSON, payment_hash) and optional fields for L402. Lacks details on side effects (funds movement), idempotency, 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.

Conciseness5/5

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

Two sentences, front-loaded with main action, no unnecessary words. Efficiently conveys purpose, usage, and returns.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers core workflow and return values. Lacks information on failure modes, error handling, or prerequisites (e.g., wallet state). Acceptable for a payment tool but not fully comprehensive.

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 baseline is 3. Description adds value by explaining each parameter's origin and role (invoice from mpp_request_challenge, macaroon/challenge_id for L402), beyond schema descriptions.

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?

Clearly states 'Pay an MPP Lightning challenge' with specific verb and resource. Distinguishes from siblings by mentioning the credential workflow (from mpp_request_challenge to mpp_submit_credential), setting it apart from tools like wdk_pay_invoice.

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?

Provides clear context: pass invoice from mpp_request_challenge, returns credential for mpp_submit_credential. Doesn't explicitly say when not to use, but the workflow is well explained.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kaleidoswap/wdk-wallet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server