Skip to main content
Glama

x402_lp_farm_unstake

Initiate unstaking LP tokens from a fry.farm position on Algorand. Creates a single transaction for your wallet to sign, with a flat fee.

Instructions

PAID $0.01 USDC — lp-farm/unstake: 1-txn group: [appl unstakeTokens(unstakeAmount)] flat fee 0.003 ALGO. Sign with your own wallet, then call the submit tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
senderYesaddress
farmingIdYesuint64
unstakeAmountYesuint64 (LP base units)
Behavior4/5

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

With no annotations provided, the description discloses important behavioral details: the cost (paid USDC and ALGO fee), the single-transaction group structure, and the signing flow. It does not mention side effects like token return or failure modes, but the fee and process transparency is valuable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

The description is a single sentence that front-loads the cost and transaction type, making it compact. However, the code-like notation reduces readability, and terms like '1-txn group' and 'appl' are not explained, making it less accessible than it could be.

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?

The description covers the transactional flow, cost, and required submit step, which is significant given the absence of an output schema. It does not explain the consequences of unstaking (e.g., tokens returned to sender) or any preconditions, leaving some context gaps for a financial operation.

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?

The schema already provides 100% description coverage for all three parameters (address, uint64, uint64 LP base units). The description only references unstakeAmount in the appl call and adds no new semantic detail beyond the schema, matching the baseline for full schema coverage.

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 identifies the action via 'lp-farm/unstake' and the appl call 'unstakeTokens(unstakeAmount)', making the resource and operation clear. It is somewhat jargon-heavy and lacks a plain-language statement, but it distinguishes from sibling stake/claim tools by naming the unstake action.

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

Usage Guidelines2/5

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

The description mentions a required follow-up ('call the submit tool') but provides no guidance on when to use this tool versus alternatives like x402_staking_unstake or when staking might be more appropriate. It does not state prerequisites such as having an existing LP farm position.

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/Fry-Networks/fry-x402-mcp'

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