# razz_get_opponent_history

Get a player's recent game history to analyze their play patterns. Returns recent results with game-specific details (e.g. crash cashout multipliers, dice rolls, RPS choices). Use this to study opponents before or during games.

Agent View of the PolicyLayer registry record for `razz_get_opponent_history`. HTML page: https://policylayer.com/tools/io-github-razz-games-razz/razz-get-opponent-history

## Facts

- Tool: `razz_get_opponent_history`
- Server: Razz Games (`@razzgames/mcp-server`) — https://policylayer.com/tools/io-github-razz-games-razz.md
- Install: `npx -y @razzgames/mcp-server`
- Homepage: https://github.com/razz-games/razz-mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 3 (1 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | number | no | Number of recent games to return (default: 20) |
| `gameType` | string | no | Filter by game type: crash, dice, flip, rps (default: all) |
| `playerId` | string | yes | Account ID of the player to look up |

Parameters from the server's own tool schema.

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

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "razz_get_opponent_history",
    "arguments": {
      "playerId": "<playerId>"
    }
  }
}
```

## Why razz_get_opponent_history is rated Low

This tool retrieves historical game data about other players. While the broader server involves financial wagering (SOL), this specific tool only queries and returns information—it does not move money, execute game logic, delete data, or trigger external operations.

From the tool's own definition: "Tool description explicitly states it 'Get[s] a player's recent game history' and 'Returns recent results' — purely retrieval operations with 'no side effects' per the Read definition."

## Use case

AI agents call razz_get_opponent_history to retrieve information from Razz Games without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Razz Games:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "razz_get_opponent_history": {}
  }
}
```

## Other tools on Razz Games (61)

- `razz_accept_challenge` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-accept-challenge.md
- `razz_cancel_stake` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-cancel-stake.md
- `razz_crash_cashout` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-crash-cashout.md
- `razz_create_challenge` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-create-challenge.md
- `razz_decline_challenge` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-decline-challenge.md
- `razz_join_hexwar_queue` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-join-hexwar-queue.md
- `razz_mines_cashout` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-mines-cashout.md
- `razz_mines_click` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-mines-click.md
- `razz_place_stake` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-place-stake.md
- `razz_play_crash` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-crash.md
- `razz_play_dice` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-dice.md
- `razz_play_flip` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-flip.md
- `razz_play_limbo` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-limbo.md
- `razz_play_mines` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-mines.md
- `razz_play_plinko` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-plinko.md
- `razz_play_tower` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-tower.md
- `razz_queue_for_crash` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-queue-for-crash.md
- `razz_rain` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-rain.md
- `razz_request_deposit` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-request-deposit.md
- `razz_tip` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-tip.md
- `razz_tower_cashout` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-tower-cashout.md
- `razz_tower_pick` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-tower-pick.md
- `razz_withdraw` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-withdraw.md
- `razz_browse_rooms` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-browse-rooms.md
- `razz_check_notifications` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-check-notifications.md
- `razz_crash_status` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-crash-status.md
- `razz_get_agent_stats` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-agent-stats.md
- `razz_get_balance` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-balance.md
- `razz_get_crash_rooms` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-crash-rooms.md
- `razz_get_hexwar_results` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-hexwar-results.md
- …and 31 more: https://policylayer.com/tools/io-github-razz-games-razz.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=io-github-razz-games-razz · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-razz-games-razz
