Skip to main content
Glama
LendsProtocol

lends-mcp-server

Official

Lends Prepare Stake

lends_prepare_stake
Read-onlyIdempotent

Construct a leUSD stake transaction requiring a minimum sleUSD share output, ensuring your staking position meets specified share thresholds.

Instructions

Construct a leUSD stake transaction with an explicit minimum sleUSD share output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
minSharesOutYes
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already indicate readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds some behavioral context by framing the operation as constructing a transaction with a minimum output, implying it does not execute the stake. It does not explain the return format or whether prior approvals are required.

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 a single clear sentence with no filler. The key action and the main constraint are both front-loaded and every word earns its place.

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 operation is simple with two scalar parameters and no output schema, but the description omits important context such as the return type, unit conventions, and the relationship to quote_stake or approve tools. An agent could call it correctly but would be guessing about the meaning of the returned transaction object.

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 provides 0% description coverage, so the description must compensate. It does help by mapping 'amount' to leUSD and 'minSharesOut' to the minimum sleUSD share output. However, it does not explain units, precision, or how these string values should be interpreted.

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 uses the specific verb 'Construct' and identifies a concrete resource: a leUSD stake transaction. It adds the key constraint of an 'explicit minimum sleUSD share output', which helps define the tool's role. However, it does not explicitly distinguish this from the similar-looking lends_quote_stake or the approval-prepare siblings.

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 gives no guidance on when to use this tool versus alternatives. It does not mention that lends_quote_stake should be used for quote estimation or that approval tools are needed beforehand. Usage context is only implied by the word 'Construct'.

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

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/LendsProtocol/lends-mcp-server'

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