Skip to main content
Glama
justlend

mcp-server-justlend

Official
by justlend

claim_v1_mining_period

Destructive

Claim a single JustLend V1 mining airdrop round by invoking multiClaim on the appropriate merkle distributor using a round key or direct proof parameters.

Instructions

Claim a single V1 mining airdrop round via multiClaim() on the appropriate merkle distributor. Pass key from get_claimable_rewards (preferred) or supply merkleIndex / index / amount / proof directly. Routing matches the front-app: amount[] → multi-merkle distributor (multi-token leaf); single + USDD → USDDNEW distributor; single + other → main distributor. Mainnet-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoRound key from get_claimable_rewards (preferred)
indexNoOverride: leaf index inside the tree
proofNoOverride: merkle proof (bytes32[])
amountNoOverride: token amount(s) in raw units; pass an array for multi-token leaves
addressNoOwner address used to refetch the airdrop entry when key is supplied. Default: signing wallet
networkNoNetwork. Default: mainnet
selectorNoForce a selector. 'single' = (uint256,uint256,uint256,bytes32[])[]; 'multi' = (uint256,uint256,uint256[],bytes32[])[]
distributorNoForce a specific distributor address. Set with `selector` to bypass routing.
merkleIndexNoOverride: merkle tree index
tokenSymbolNoOverride: token symbol(s); useful when tokenAddress is missing
tokenAddressNoOverride: token address(es) used for routing when the entry is single-token
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the description's 'Claim' aligns with mutation. The description adds useful behavioral context: it uses multiClaim() on a merkle distributor, and is mainnet-only. No contradictions. However, it does not disclose additional traits like gas costs or error states.

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 concise: three sentences that efficiently convey the core action, routing logic, and mainnet constraint. No redundant or filler content.

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?

For a complex tool with 11 parameters and no output schema, the description provides a high-level overview and routing logic but lacks details on return values, error handling, or blockchain interaction beyond mentioning multiClaim(). Adequate but not comprehensive.

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 input schema already documents all parameters. The description adds minimal extra meaning, such as clarifying that `key` is preferred and that `address` is used for refetching when key is supplied. This adds some value but does not substantially improve understanding beyond the schema.

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 clearly states the tool claims a single V1 mining airdrop round via multiClaim() on the appropriate merkle distributor. It specifies the action, method, and distinguishes from other claim tools by referencing V1 mining and merkle distributor.

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

Usage Guidelines4/5

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

The description provides explicit guidance: prefer using `key` from get_claimable_rewards or supply parameters directly. It details routing logic based on amount and token, helping the agent select the correct path. However, it does not explicitly mention when not to use the tool or direct to alternative claim tools like claim_moolah_mining_period.

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

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