Skip to main content
Glama
jan3dev

Agentic AQUA

by jan3dev

sideswap_peg_in

Convert Bitcoin to Liquid Bitcoin via a peg-in. Send BTC to a deposit address; after 2 confirmations, L-BTC arrives in your Liquid wallet. Lower fees for amounts ≥0.01 BTC.

Instructions

Initiate a SideSwap peg-in (BTC → L-BTC). Returns a Bitcoin deposit address; the user (or btc_send) must send BTC to it. After 2 BTC confirmations (~20 min hot path; up to ~17 hours cold path for very large amounts), L-BTC arrives in the Liquid wallet. Recommended over a swap-market trade for amounts ≥ ~0.01 BTC: lower fee (0.1% vs 0.2%) at the cost of waiting. ALWAYS call sideswap_recommend first for large amounts so the user understands the trade-off.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordNoPassword to decrypt mnemonic (if encrypted at rest)
wallet_nameNoLiquid wallet to receive L-BTCdefault
Behavior4/5

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

With no annotations, the description fully discloses the process: deposit address generation, necessary BTC send, confirmation times (hot/cold paths), and final L-BTC arrival. It lacks details on failure modes or optional password handling, but is otherwise transparent.

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?

Five well-structured sentences: purpose, process steps, recommendation, and a critical directive. Every sentence adds value without redundancy. Front-loaded with the core action.

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

Completeness4/5

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

Given two parameters, no output schema, and moderate tool complexity, the description covers the overall flow, wait times, and trade-offs. It lacks details on potential errors or deposit address validity, but is sufficient for an AI agent.

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?

Both parameters are fully described in the schema (100% coverage). The description adds context by explaining the password's purpose ('if encrypted at rest') and implying wallet_name is optional with default 'default'. The mention of 'btc_send' usage adds operational meaning.

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 clearly states the action: 'Initiate a SideSwap peg-in (BTC → L-BTC).' It explains the output (Bitcoin deposit address) and the required subsequent step. This distinguishes it from sibling tools like sideswap_peg_out and sideswap_recommend.

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 guidance is given: 'Recommended over a swap-market trade for amounts ≥ ~0.01 BTC' with fee comparison. It also mandates calling sideswap_recommend first for large amounts, providing clear when-to-use and alternative actions.

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/jan3dev/agentic-aqua'

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