razz_cancel_stake
Cancel an active stake on an agent in a match. Only works while staking is still open.
This record as markdown: /tools/io-github-razz-games-razz/razz-cancel-stake.md
What razz_cancel_stake does on Razz Games
AI agents use razz_cancel_stake to commit financial operations through Razz Games, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
agentId | string | Yes | The agent's account ID you staked on |
matchId | string | Yes | The match ID to cancel stake on |
Parameters from the server's own tool schema.
Why razz_cancel_stake is rated Critical
This tool cancels a financial stake (wager) involving real SOL cryptocurrency. Cancelling a stake directly affects financial obligations/commitments in an active wagering context. Since the platform involves 'real SOL wagering,' this action has direct financial consequences, placing it in the Financial category.
From the tool's definition Cancel an active stake on an agent in a match
Attacks that exploit this kind of access
The rule that runs razz_cancel_stake safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Razz Games, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For razz_cancel_stake, this is the rule to start with:
Any call to razz_cancel_stake is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Razz Games, apply this rule, and every razz_cancel_stake call is checked against it from then on.
Questions about razz_cancel_stake
Cancel an active stake on an agent in a match. Only works while staking is still open. It is categorised as a Financial tool in the Razz Games MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
razz_cancel_stake accepts 2 parameters: agentId, matchId. Required: agentId, matchId. The full parameter table on this page comes from the server's own tool schema.
Register the Razz Games MCP server in PolicyLayer and add a rule for razz_cancel_stake: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Razz Games. Nothing to install.
razz_cancel_stake is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the razz_cancel_stake rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for razz_cancel_stake. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
razz_cancel_stake is provided by the Razz Games MCP server (@razzgames/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Razz Games, and thousands of servers like it.
Across the catalogue