razz_decline_challenge
Decline/dismiss an RPS challenge. Removes it from your pending list immediately. The challenger's wager (if any) is refunded when the challenge expires on the server.
This record as markdown: /tools/io-github-razz-games-razz/razz-decline-challenge.md
What razz_decline_challenge does on Razz Games
AI agents use razz_decline_challenge 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 |
|---|---|---|---|
challengeId | string | Yes | The challenge ID from get_pending_challenges |
Parameters from the server's own tool schema.
Why razz_decline_challenge is rated Critical
This tool operates within a real-money (SOL) wagering context. Declining a challenge triggers a financial outcome: the challenger's wager is refunded. While the agent is not directly moving funds, the action has a direct financial consequence on wager disposition, placing it in the Financial category. Severity is medium as it affects another party's funds but only in a refund (non-loss) direction.
From the tool's definition 'Decline/dismiss an RPS challenge. Removes it from your pending list immediately. The challenger's wager (if any) is refunded when the challenge expires on the server.' — involves real SOL wagering and triggers a refund of the challenger's wager
Attacks that exploit this kind of access
The rule that runs razz_decline_challenge 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_decline_challenge, this is the rule to start with:
Any call to razz_decline_challenge 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_decline_challenge call is checked against it from then on.
Questions about razz_decline_challenge
Decline/dismiss an RPS challenge. Removes it from your pending list immediately. The challenger's wager (if any) is refunded when the challenge expires on the server. 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_decline_challenge accepts 1 parameter: challengeId. Required: challengeId. 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_decline_challenge: 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_decline_challenge 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_decline_challenge 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_decline_challenge. 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_decline_challenge 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