Skip to main content
Glama

x402_staking_stake

Stake tokens in an Algorand staking pool by generating a 4-transaction group, signing with your wallet, and submitting it.

Instructions

PAID $0.01 USDC — staking/stake: 4-txn group: [pay boxMBR->app, stakePay->app, stakeAxfer->app, appl stakeTokens(uint64,uint64,pay,axfer,pay)]. Sign with your own wallet, then call the submit tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
senderYesaddress (agent wallet)
stakingIdYesuint64 pool app id
updatedAprNouint64 optional (computed from pool state if omitted)
stakeAmountYesuint64 (base units)
stakeTokenIdNouint64 (0=native ALGO; optional, read from pool if omitted)
Behavior4/5

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

With no annotations, the description carries the full burden and does well by disclosing the paid cost ($0.01 USDC), the multi-transaction group composition, and the signing/submission flow. This goes beyond the schema and gives the agent a concrete sense of behavioral side effects.

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 compact, packing cost, transaction structure, and workflow into two sentences. The density of the transaction-group notation makes it less readable, but every element earns its place by conveying necessary operational details.

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 the tool's complexity and lack of output schema, the description provides a helpful workflow overview but omits prerequisites (e.g., box minimum balance) and potential error/failure behavior. It is complete enough for a straightforward interpretation but leaves room for more operational context.

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 100%, so the baseline is 3. The description adds little parameter-specific meaning beyond the schema, referencing 'stakeTokens(uint64,uint64,pay,axfer,pay)' in a technical shorthand that does not clarify units or optionality beyond the schema's own descriptions.

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 tool as 'staking/stake' and elaborates with a 4-transaction group structure, which clarifies it prepares a staking operation. It distinguishes from siblings like unstake and claim by naming the specific staking action, though the opening is somewhat redundant with the tool name.

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 implies usage when staking is desired and instructs to sign and then call the submit tool, giving a clear workflow. However, it does not explicitly contrast with alternatives like x402_lp_farm_stake or provide conditions for when not to use this tool.

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