Skip to main content
Glama

Private swap

blackpool_swap
Destructive

Performs private same-chain swaps between native and stablecoin pools, re-shielding output. Use recovery if the operation stops halfway.

Instructions

Private same-chain swap between the native pool and the stablecoin pool; output is re-shielded. If it stops half-way, run blackpool_recover.

Input Schema

NameRequiredDescriptionDefault
fromYesPool to swap from (eth|usdc on base/arbitrum, eth|usdg on robinhood, bnb|usdt on bsc).
chainNoChain. Default base.
amountYesDecimal amount in token units, e.g. "10" or "0.25", or "max" (send: the whole pool balance; swap/bridge: the most one operation can move). Never wei.
slippage_bpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses privacy, same-chain scope, re-shielded output, and recovery behavior on partial failure. It does not mention fees, rate behavior, or approval requirements, but it adds meaningful operational context for a destructive swap.

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?

The description is two short sentences, front-loads what the tool does, and immediately follows with the recovery path. There is no redundant or filler wording.

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?

For a four-parameter swap with no output schema, it covers the core operation, privacy behavior, same-chain constraint, and failure recovery. Minor gaps remain around slippage behavior and fee/rate expectations, but the essential invoke-and-recover guidance is present.

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 coverage is 75%, so the schema already documents from, chain, and amount. The description adds no parameter-level meaning, and slippage_bps remains unexplained in both the schema and the description.

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?

The description states a specific verb and resource: a private same-chain swap between the native pool and stablecoin pool, with re-shielded output. It clearly distinguishes same-chain swaps from bridge-related siblings, though it does not explicitly contrast with send or deposit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a useful recovery instruction: if the swap stops halfway, run blackpool_recover. However, it does not explicitly say when to use this swap versus blackpool_bridge, blackpool_send, or blackpool_deposit beyond the same-chain constraint.

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