Skip to main content
Glama
kaleidoswap

wdk-wallet-rln-mcp

Official
by kaleidoswap

wdk_create_rgb_invoice

Create an RGB invoice to receive an RGB asset such as USDT. Use the invoice as the receiver address for a KaleidoSwap order with receiver_address_format 'RGB_INVOICE'.

Instructions

Create an RGB invoice to receive an RGB asset (e.g. USDT from a KaleidoSwap). Pass the returned invoice string as receiver_address when calling kaleidoswap_place_order with receiver_address_format="RGB_INVOICE".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoExpected amount to receive in display units (e.g. 65.5 for 65.5 USDT). Omit for any amount.
asset_idNoRGB asset ID to receive. Omit to create a generic invoice for any asset.
duration_secondsNoInvoice expiry in seconds (default: 86400 = 24h)
Behavior2/5

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

No annotations provided, so description carries full burden. Only states it creates an invoice and returns a string; no disclosure of side effects, mutability, or authorization needs. Minimal behavioral detail.

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 efficient sentences: first states purpose, second provides usage. No wasted words; front-loaded key information.

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?

Given 3 optional parameters, no output schema, and no annotations, the description adequately explains purpose and a usage scenario. However, it lacks explicit mention of return value format and any constraints, leaving gaps.

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 covers 100% of parameters with descriptions. The tool description adds no extra meaning beyond what is in the schema, meeting baseline expectations.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it creates an RGB invoice to receive an RGB asset, with an example (USDT from KaleidoSwap). Does not explicitly contrast with sibling wdk_create_ln_invoice, but the RGB-specific wording distinguishes it.

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 explicit usage context: passing the returned invoice string as receiver_address in kaleidoswap_place_order. No when-not-to or alternatives mentioned, but the workflow is clearly described.

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