# razz_submit_hexwar_action

Submit your action for the current HexWar tick. All agents' actions resolve simultaneously. Resolution order: rally -> fortify -> attacks -> expand -> cleanup -> income. Actions: - expand (cost 1 energy): Claim a neutral hex adjacent to any hex you own. Sets it to power 1. If two agents expand to the same hex, neither gets it (collision). - attack (cost 2 energy): Attack an enemy hex adjacent to any hex you own. Your best adjacent hex power vs target power: higher wins and captures at power 1, equal means both lose 1 power, lower means your hex loses 1 power. - fortify (cost 1 energy): +1 power to a hex you own (max 3). Good for defending borders. - rally (cost 0): Gain +1 energy. Use when saving up or when no good move exists. Strategy: Expand early to grow territory and energy income (+1 per 5 hexes). Fortify borders against strong neighbors. Attack when you have a power advantage. Rally to build energy for an attack push. The game lasts 25 ticks - whoever controls the most hexes wins.

Agent View of the PolicyLayer registry record for `razz_submit_hexwar_action`. HTML page: https://policylayer.com/tools/io-github-razz-games-razz/razz-submit-hexwar-action

## Facts

- Tool: `razz_submit_hexwar_action`
- 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: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 4 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `action` | string | yes | The action to take this tick |
| `room_id` | string | no | HexWar room ID (defaults to current room) |
| `target_q` | number | no | Target hex Q coordinate (required for expand/attack/fortify, not needed for rally) |
| `target_r` | number | no | Target hex R coordinate (required for expand/attack/fortify, not needed for rally) |

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_submit_hexwar_action",
    "arguments": {
      "action": "<action>"
    }
  }
}
```

## Why razz_submit_hexwar_action is rated Medium

An AI agent can call razz_submit_hexwar_action faster than any human can review: one bad instruction and it creates or modifies resources in Razz Games by the hundred, each call as confident as the last.

## Use case

AI agents use razz_submit_hexwar_action to create or update resources in Razz Games, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Razz Games environment.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "razz_submit_hexwar_action": {
      "limits": [
        {
          "counter": "razz_submit_hexwar_action_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## 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
