get_statetree_state
A read tool on the Unreal- MCP server.
This record as markdown: /tools/aadeshrao123-unreal-mcp/get-statetree-state.md
What get_statetree_state does on Unreal-MCP
AI agents call get_statetree_state to retrieve information from Unreal-MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why get_statetree_state is rated Low
The 'get_' prefix is a strong signal of read-only behavior in API design. StateTree is a common Unreal Engine feature for managing AI/character state logic. Retrieving state information has no side effects. Without a description, confidence is moderate (0.75), but the naming pattern and sibling tools (which are Write/Execute operations like 'add_*') make it clear this is a Read operation.
From the tool's definition Tool name 'get_statetree_state' uses 'get' verb, which typically indicates retrieval or query operation. Description is empty, limiting direct evidence, but naming convention strongly suggests data retrieval rather than modification or execution.
Attacks that exploit this kind of access
The rule that runs get_statetree_state safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Unreal-MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_statetree_state, this is the rule to start with:
get_statetree_state 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 Unreal-MCP, apply this rule, and every get_statetree_state call is checked against it from then on.
Questions about get_statetree_state
get_statetree_state is a read tool on the Unreal MCP server. It is categorised as a Read tool in the Unreal-MCP MCP Server, which means it retrieves data without modifying state.
Register the Unreal MCP server in PolicyLayer and add a rule for get_statetree_state: 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 Unreal-MCP. Nothing to install.
get_statetree_state 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 get_statetree_state 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 get_statetree_state. 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.
get_statetree_state is provided by the Unreal MCP server (aadeshrao123/unreal-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Unreal, and thousands of servers like it.
This server
Across the catalogue