# ui_set_layout

A write tool on the Godot MCP server.

Agent View of the PolicyLayer registry record for `ui_set_layout`. HTML page: https://policylayer.com/tools/chanceflow-godot-mcp/ui-set-layout

## Facts

- Tool: `ui_set_layout`
- Server: Godot (`chanceflow/godot-mcp`) — https://policylayer.com/tools/chanceflow-godot-mcp.md
- Homepage: https://github.com/ChanceFlow/godot-mcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ui_set_layout",
    "arguments": {}
  }
}
```

## Why ui_set_layout is rated Medium

The tool appears to modify editor UI layout configuration based on its name and context among write-oriented sibling tools. This is a reversible state change (layout can be changed again) rather than destructive data loss. Severity is medium because misconfiguration could disrupt workflow but doesn't affect project data or trigger external operations. Confidence is moderate due to missing description.

From the tool's own definition: "Tool name 'ui_set_layout' suggests modifying UI layout state in the Godot editor; sibling tools show this server manages editor/scene state (animation_set_keyframe, audio_configure_bus, autoload_add all perform modifications)."

## Use case

AI agents use ui_set_layout to create or update resources in Godot, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Godot environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Godot:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "ui_set_layout": {
      "limits": [
        {
          "counter": "ui_set_layout_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Godot (83)

- `autoload_remove` — Destructive — https://policylayer.com/tools/chanceflow-godot-mcp/autoload-remove.md
- `node_delete` — Destructive — https://policylayer.com/tools/chanceflow-godot-mcp/node-delete.md
- `editor_launch` — Execute — https://policylayer.com/tools/chanceflow-godot-mcp/editor-launch.md
- `particle_start_emitting` — Execute — https://policylayer.com/tools/chanceflow-godot-mcp/particle-start-emitting.md
- `project_export` — Execute — https://policylayer.com/tools/chanceflow-godot-mcp/project-export.md
- `project_run` — Execute — https://policylayer.com/tools/chanceflow-godot-mcp/project-run.md
- `project_stop` — Execute — https://policylayer.com/tools/chanceflow-godot-mcp/project-stop.md
- `animation_get_info` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/animation-get-info.md
- `animation_list` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/animation-list.md
- `autoload_list` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/autoload-list.md
- `camera_get_info` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/camera-get-info.md
- `godot_get_version` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/godot-get-version.md
- `input_list_actions` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/input-list-actions.md
- `node_get_properties` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/node-get-properties.md
- `project_get_debug_output` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/project-get-debug-output.md
- `project_get_info` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/project-get-info.md
- `project_list` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/project-list.md
- `project_list_export_presets` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/project-list-export-presets.md
- `project_setting_get` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/project-setting-get.md
- `resource_get_material_properties` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/resource-get-material-properties.md
- `resource_get_uid` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/resource-get-uid.md
- `resource_list` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/resource-list.md
- `scene_get_tree` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/scene-get-tree.md
- `scene_list` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/scene-list.md
- `script_list` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/script-list.md
- `signal_list_connections` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/signal-list-connections.md
- `signal_list_node_signals` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/signal-list-node-signals.md
- `tilemap_get_cell` — Read — https://policylayer.com/tools/chanceflow-godot-mcp/tilemap-get-cell.md
- `animation_add_track` — Write — https://policylayer.com/tools/chanceflow-godot-mcp/animation-add-track.md
- `animation_create` — Write — https://policylayer.com/tools/chanceflow-godot-mcp/animation-create.md
- …and 53 more: https://policylayer.com/tools/chanceflow-godot-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=chanceflow-godot-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/chanceflow-godot-mcp
