Skip to main content
Glama

t2000_pending_rewards

Check pending protocol rewards from lending positions without claiming them. Shows claimable reward tokens per protocol and asset.

Instructions

Check pending protocol rewards from lending positions WITHOUT claiming them. Shows claimable reward tokens per protocol and asset. Use t2000_claim_rewards to actually collect and convert to USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 't2000_pending_rewards' tool, which calls 'agent.getPendingRewards()'.
    server.tool(
      't2000_pending_rewards',
      'Check pending protocol rewards from lending positions WITHOUT claiming them. Shows claimable reward tokens per protocol and asset. Use t2000_claim_rewards to actually collect and convert to USDC.',
      {},
      async () => {
        try {
          const result = await agent.getPendingRewards();
          return { content: [{ type: 'text', text: JSON.stringify({ rewards: result, count: result.length }) }] };
        } catch (err) {
          return errorResult(err);
        }
      },

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/mission69b/t2000'

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