Skip to main content
Glama

prepare_uniswap_v3_burn

DestructiveIdempotent

Build an unsigned transaction to destroy a Uniswap V3 LP position NFT. Requires the position to be fully drained with zero liquidity and zero owed tokens.

Instructions

Build an unsigned Uniswap V3 LP burn transaction — destroys the position NFT (irreversible). Hard-refuses unless the position is fully drained: liquidity == 0 AND tokensOwed{0,1} == 0. Standard close-out sequence: prepare_uniswap_v3_decrease_liquidity({ liquidityPct: 100 })prepare_uniswap_v3_collectprepare_uniswap_v3_burn. The error message names the right next step on each refusal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletYes
chainNoethereum
tokenIdYesERC-721 tokenId of the LP NFT to destroy. Must be owned by `wallet`. The position must be fully drained: liquidity = 0 AND tokensOwed{0,1} = 0. Refused otherwise with the right sequence (decrease → collect → burn) named in the error.
Behavior4/5

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

Annotations already signal destructiveHint=true and idempotentHint=true. The description adds that burning destroys the NFT irreversibly and clarifies refusal conditions (liquidity==0, tokensOwed==0). This goes beyond annotations by detailing failure modes, but could further explain idempotency.

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 the main action and irreversibility. The structure is efficient, with no filler. Every sentence adds value: purpose, refusal conditions, usage sequence.

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 complex destructive tool, the description covers the flow, prerequisites (fully drained), and ties to sibling tools. No output schema exists, so return values are not needed. It lacks mention of gas or confirmation requirements, but the main context is sufficient for the agent to decide.

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 33% (only tokenId described). The description adds crucial context for tokenId: must be owned by wallet and position fully drained. However, wallet and chain parameters are not elaborated beyond their schema types/enums, so the description partially compensates but leaves gaps.

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 explicitly states it builds an unsigned Uniswap V3 LP burn transaction and destroys the position NFT irreversibly. It clearly distinguishes from sibling tools like prepare_uniswap_v3_collect and prepare_uniswap_v3_decrease_liquidity by specifying it as the final step in the close-out sequence.

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?

The description provides explicit when-to-use guidance: only after decreasing liquidity and collecting fees. It gives the standard sequence (decrease → collect → burn) and states that the tool hard-refuses unless the position is fully drained, with error messages naming the next step. This helps the agent avoid misuse.

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/szhygulin/recon-crypto-mcp'

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