Skip to main content
Glama
justlend

mcp-server-justlend

Official
by justlend

claim_v1_mining_period

Destructive

Claim a V1 mining airdrop by supplying a round key or override parameters to the appropriate merkle distributor.

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 (integer strings); 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
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the tool modifies state. The description adds behavioral context by detailing the routing logic (multi-merkle vs USDDNEW vs main distributor), which goes beyond annotations. It also specifies mainnet-only, a key constraint. The description does not mention gas costs or failure modes, but with annotations present, this is sufficient.

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 three sentences, each serving a purpose: action, parameter options, and routing logic. It is front-loaded with the core purpose and contains no fluff. Every sentence earns its place, making it highly efficient.

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?

Given the tool's complexity (11 parameters, no output schema), the description covers the main use case, parameter approaches, routing, and network restriction. It does not mention prerequisites (e.g., eligibility) or output details, but annotations cover the destructive nature. Overall, it provides sufficient context for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so each parameter already has a description. The tool description adds value by explaining the preferred usage of key and the routing logic that depends on amount, selector, and distributor. This helps the agent understand parameter interactions beyond the schema, earning a score above the baseline of 3.

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. The verb 'claim' paired with the specific resource 'V1 mining airdrop round' and mechanism 'multiClaim()' makes the purpose unambiguous. It also distinguishes from the sibling 'claim_moolah_mining_period' by explicitly mentioning V1 and routing logic.

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?

The description provides guidance on using the key from get_claimable_rewards (preferred) or directly supplying merkleIndex/index/amount/proof, and specifies mainnet-only. However, it does not compare this tool to other claim tools like claim_moolah_mining_period or explain when not to use it, so the guidance is partial.

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