getAllValues
获取所有规则的值(注意:数据量可能很大,建议使用 getValueList 获取列表后再通过 getValue 获取具体值)
This record as markdown: /tools/7gugu-whistle-mcp/getallvalues.md
What getAllValues does on Whistle
AI agents call getAllValues to retrieve information from Whistle without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why getAllValues is rated Low
This tool retrieves and queries configuration values from the Whistle proxy without modifying, deleting, or executing any operations. It is purely informational. The warning about large data volume is a usability concern, not a security concern that would elevate the category. Read operations carry low severity since they do not alter system state or trigger external actions.
From the tool's definition Tool name 'getAllValues' and description indicate it 'gets all rule values' (获取所有规则的值). The description explicitly recommends using 'getValueList' for listing followed by 'getValue' for specific values, indicating this is a retrieval/query operation with no…
Attacks that exploit this kind of access
The rule that runs getAllValues safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Whistle, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For getAllValues, this is the rule to start with:
getAllValues 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 Whistle, apply this rule, and every getAllValues call is checked against it from then on.
Questions about getAllValues
获取所有规则的值(注意:数据量可能很大,建议使用 getValueList 获取列表后再通过 getValue 获取具体值). It is categorised as a Read tool in the Whistle MCP Server, which means it retrieves data without modifying state.
Register the Whistle MCP server in PolicyLayer and add a rule for getAllValues: 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 Whistle. Nothing to install.
getAllValues 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 getAllValues 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 getAllValues. 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.
getAllValues is provided by the Whistle MCP server (7gugu/whistle-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Whistle, and thousands of servers like it.
This server
Across the catalogue