Skip to main content
Glama

evm_get_farming_rewards

Queries farm contracts to retrieve pending staking and farming rewards for a wallet, so you can track claimable rewards before withdrawing or harvesting.

Instructions

Get farming/staking rewards for user (PLACEHOLDER - limited implementation).

Queries farm contracts for pending rewards. Useful for reward tracking before claiming.

PARAMETERS:

  • chain, address: Required

  • farmContract: Optional

EXAMPLES: ✅ {chain: "polygon", address: "0x742d35..."}

NOTE: Placeholder - implementation depends on farm contract standards.

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>",
      "address": "<address>"
    },
    "name": "evm_get_farming_rewards"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain to query
addressYesUser wallet address (0x...)
farmContractNoOptional: Specific farm 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, the description must carry behavioral weight; it does disclose that this is a read-only pending-reward query and honestly flags that the implementation is a placeholder dependent on farm contract standards, which is real value. However, it then spends most of its length on gas cost guidance and 'Always check gas price before executing transactions' — irrelevant and mildly misleading for a non-transactional read tool — and never describes the returned reward data or failure modes.

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 tool-relevant content is two short sentences at the top; the remainder is chain inventory, gas advice, testnet token notes, and an entirely unrelated Linux/package-manager/xdg-open block that has nothing to do with querying farm rewards. The useful signal is buried in a large amount of boilerplate.

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 3-parameter tool with full schema coverage and no output schema, the description covers purpose and caveats but omits the return shape (pending amount, token identity, per-farm breakdown), which an agent cannot infer from anywhere else. Adequate, but a claim-critical gap remains for a tool whose whole point is the returned reward figure.

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 baseline is 3. The description restates which parameters are required vs optional and supplies one example call, but adds no format or semantics beyond the schema (e.g. what happens when farmContract is omitted vs supplied).

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 states a specific verb and resource ('Get farming/staking rewards', 'Queries farm contracts for pending rewards') and signals scope via 'before claiming', which clearly separates it from evm_claim_farming_rewards. It does not name the sibling explicitly, and the '(PLACEHOLDER - limited implementation)' tag slightly muddies whether the tool actually works, keeping it short of a 5.

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?

'Useful for reward tracking before claiming' implies the use case relative to claiming, but never says 'use this instead of evm_claim_farming_rewards when you only want to read' or states any prerequisite or exclusion. Usage must be inferred rather than read directly.

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