# claim_rewards

Claim all streaming rewards the MCP wallet has earned in the vault.

Agent View of the PolicyLayer registry record for `claim_rewards`. HTML page: https://policylayer.com/tools/twofold-mcp/claim-rewards

## Facts

- Tool: `claim_rewards`
- Server: Twofold (`twofold-mcp`) — https://policylayer.com/tools/twofold-mcp.md
- Install: `npx -y twofold-mcp`
- Homepage: https://www.npmjs.com/package/twofold-mcp
- Risk category: Other (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "claim_rewards",
    "arguments": {}
  }
}
```

## Why claim_rewards is rated Low

Without any rule in front of it, every call an agent makes to claim_rewards happens silently: no trail, no cap, no way to know it misbehaved until something breaks downstream.

## Use case

AI agents call claim_rewards as a supporting operation in Twofold workflows.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Twofold:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "claim_rewards": {
      "limits": [
        {
          "counter": "claim_rewards_rate",
          "window": "minute",
          "max": 60,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Twofold (13)

- `start_unstake` — Execute — https://policylayer.com/tools/twofold-mcp/start-unstake.md
- `pool_deposit` — Financial — https://policylayer.com/tools/twofold-mcp/pool-deposit.md
- `pool_withdraw` — Financial — https://policylayer.com/tools/twofold-mcp/pool-withdraw.md
- `claim_unstaked` — Other — https://policylayer.com/tools/twofold-mcp/claim-unstaked.md
- `platform_stats` — Other — https://policylayer.com/tools/twofold-mcp/platform-stats.md
- `pool_position` — Other — https://policylayer.com/tools/twofold-mcp/pool-position.md
- `quote` — Other — https://policylayer.com/tools/twofold-mcp/quote.md
- `stake` — Other — https://policylayer.com/tools/twofold-mcp/stake.md
- `staking_info` — Other — https://policylayer.com/tools/twofold-mcp/staking-info.md
- `swap` — Other — https://policylayer.com/tools/twofold-mcp/swap.md
- `wallet_info` — Other — https://policylayer.com/tools/twofold-mcp/wallet-info.md
- `pools_list` — Read — https://policylayer.com/tools/twofold-mcp/pools-list.md
- `wallet_send` — Write — https://policylayer.com/tools/twofold-mcp/wallet-send.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=twofold-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/twofold-mcp
