Skip to main content
Glama

evm_claim_farming_rewards

Claims farming or staking rewards from an EVM farm contract by signing and submitting the reward transaction; use it when rewards are accrued and gas is available.

Instructions

Claim farming/staking rewards from farm contract (PLACEHOLDER - limited implementation).

Executes claim transaction to receive earned rewards. Requires gas.

PARAMETERS:

  • chain, farmContract, privateKey: Required

EXAMPLES: ✅ {chain: "polygon", farmContract: "0xFarm...", privateKey: "0x..."}

NOTE: Placeholder - farm contract must support claim function.

SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559

CRITICAL GAS CONSIDERATIONS:

  • Ethereum: High gas costs, use gas oracle for timing

  • Polygon/BSC: Very low gas, safe for frequent transactions

  • Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum

  • Avalanche: Dynamic fees, can spike during congestion

  • Always check gas price before executing transactions

TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.

Running on Linux.

LINUX-SPECIFIC NOTES:

  • Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)

  • Python 3 is typically 'python3' command

  • GNU tools are standard

  • Use 'xdg-open' command to open files/applications

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "farmContract": "<farmContract>",
      "privateKey": "<privateKey>"
    },
    "name": "evm_claim_farming_rewards"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain to execute on
privateKeyYesPrivate key to sign transaction (0x...)
farmContractYesFarm contract address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose several real traits: this is an on-chain write that costs gas, it is a placeholder with limited implementation, the farm contract must expose a claim function, and all funds are worthless testnet tokens. It omits the risk-relevant behavior an agent most needs — that the private key is used to sign irreversibly, what happens if the claim fails or the contract lacks the function, and whether the response reports a tx hash.

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

Conciseness2/5

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

The core purpose is front-loaded, but the payload is dominated by reusable boilerplate: a seven-network chain list, gas commentary per chain, a testnet-token notice, and an entirely irrelevant 'Running on Linux' block with apt/yum/xdg-open notes. The placeholder warning is repeated three times, and the Linux section is off-topic noise that competes with the actual operating instructions.

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 single-transaction claim tool with no output schema and full parameter documentation, the description covers chain support, gas economics and testnet semantics reasonably well. It still leaves the agent guessing about return values, failure modes and what 'limited implementation' concretely blocks, which matters given the explicit placeholder caveat.

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 description coverage is 100%, so chain, farmContract and privateKey are already fully documented upstream, including the enum of seven chains. The description only restates that all three are required and gives one example object, adding no format or constraint detail beyond the schema; a 3 baseline is appropriate.

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 first line states a specific verb and resource: claim farming/staking rewards from a farm contract, and it explicitly distinguishes claiming from merely reading rewards via the parenthetical placeholder caveat. It does not name the closest siblings (evm_get_farming_rewards, evm_compound_rewards), so the agent must infer the distinction rather than being told it.

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?

Usage is only implied: the description notes the call 'executes claim transaction to receive earned rewards' and 'requires gas', which suggests use after rewards have accrued. There is no explicit when-to-use/when-not-to-use guidance and no routing between this and evm_get_farming_rewards or evm_compound_rewards, which are the obvious alternatives.

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

Deploy Server

Other Tools