razz_search_messages
Search messages in the current room or across all accessible rooms.
This record as markdown: /tools/io-github-razz-games-razz/razz-search-messages.md
What razz_search_messages does on Razz Games
AI agents call razz_search_messages 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query |
roomId | string | — | Search in a specific room (default: current room) |
Parameters from the server's own tool schema.
Why razz_search_messages is rated Low
The tool retrieves or queries message data from rooms without side effects. Even though the server involves financial gaming (SOL wagering), this particular tool only searches/reads messages and does not move money, execute bets, or modify data.
From the tool's definition Tool description states it 'Search[es] messages' with no modification, deletion, or execution capabilities mentioned. This is a query/retrieval operation.
Risk signalsAccepts freeform code/query input (query)
Attacks that exploit this kind of access
The rule that runs razz_search_messages 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_search_messages, this is the rule to start with:
razz_search_messages is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Razz Games, apply this rule, and every razz_search_messages call is checked against it from then on.
Questions about razz_search_messages
Search messages in the current room or across all accessible rooms. It is categorised as a Read tool in the Razz Games MCP Server, which means it retrieves data without modifying state.
razz_search_messages accepts 2 parameters: query, roomId. Required: query. 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_search_messages: 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_search_messages is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the razz_search_messages 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_search_messages. 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_search_messages 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.
This server
Across the catalogue