Asks the connected browser app to invalidate all React Query queries.
AI agents invoke invalidate_queries to trigger actions in Tanstack Start Devtools. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
Invalidating queries causes the browser app to mark all cached data as stale and trigger refetches, which is an external operation with side effects on the running application's state. It doesn't delete data permanently, but it does actively trigger network requests and state changes in the browser app, making it Execute rather than Write or Read.
From the tool's definition 'invalidate all React Query queries' — triggers an external operation in the connected browser app that forces all queries to be refetched
Attacks that exploit this kind of access
Asks the connected browser app to invalidate all React Query queries. It is categorised as a Execute tool in the Tanstack Start Devtools MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Tanstack Start Devtools MCP server in PolicyLayer and add a rule for invalidate_queries: 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 Tanstack Start Devtools. Nothing to install.
invalidate_queries is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the invalidate_queries 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 invalidate_queries. 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.
invalidate_queries is provided by the Tanstack Start Devtools MCP server (mantrakp04/tanstack-start-dev-tool-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →