# compile_building

Compile a graph document to its IR and report what the editor would show. PURE AND FAST - no GPU, no browser - so run it on every edit before saving. Reports errors (the graph produces nothing) and warnings (it produces something, but not what was asked for): a profile that consumed the plan, a Facade covering no storeys, a Roof Detail placed before the Roof, openings narrowed to fit their bay. A warning is the usual way a wrong-looking building explains itself.

Agent View of the PolicyLayer registry record for `compile_building`. HTML page: https://policylayer.com/tools/3dgenstudio/compile-building

## Facts

- Tool: `compile_building`
- Server: 3DGenStudio (`0xra0/3DGenStudio`) — https://policylayer.com/tools/3dgenstudio.md
- Homepage: https://github.com/0xra0/3DGenStudio
- Risk category: Execute (High 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": "compile_building",
    "arguments": {}
  }
}
```

## Why compile_building is rated High

compile_building triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents invoke compile_building to trigger actions in 3DGenStudio. 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.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "compile_building": {
      "limits": [
        {
          "counter": "compile_building_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on 3DGenStudio (94)

- `delete_asset` — Destructive — https://policylayer.com/tools/3dgenstudio/delete-asset.md
- `delete_card` — Destructive — https://policylayer.com/tools/3dgenstudio/delete-card.md
- `delete_card_attribute` — Destructive — https://policylayer.com/tools/3dgenstudio/delete-card-attribute.md
- `delete_library_asset` — Destructive — https://policylayer.com/tools/3dgenstudio/delete-library-asset.md
- `delete_node` — Destructive — https://policylayer.com/tools/3dgenstudio/delete-node.md
- `delete_project` — Destructive — https://policylayer.com/tools/3dgenstudio/delete-project.md
- `repair_mesh` — Destructive — https://policylayer.com/tools/3dgenstudio/repair-mesh.md
- `tag_asset` — Destructive — https://policylayer.com/tools/3dgenstudio/tag-asset.md
- `unlink_asset` — Destructive — https://policylayer.com/tools/3dgenstudio/unlink-asset.md
- `compile_vfx_graph` — Execute — https://policylayer.com/tools/3dgenstudio/compile-vfx-graph.md
- `run_batch` — Execute — https://policylayer.com/tools/3dgenstudio/run-batch.md
- `run_mesh_tool` — Execute — https://policylayer.com/tools/3dgenstudio/run-mesh-tool.md
- `run_workflow` — Execute — https://policylayer.com/tools/3dgenstudio/run-workflow.md
- `transfer_rig` — Financial — https://policylayer.com/tools/3dgenstudio/transfer-rig.md
- `describe_building_catalog` — Read — https://policylayer.com/tools/3dgenstudio/describe-building-catalog.md
- `describe_vfx_catalog` — Read — https://policylayer.com/tools/3dgenstudio/describe-vfx-catalog.md
- `download_asset` — Read — https://policylayer.com/tools/3dgenstudio/download-asset.md
- `find_assets_by_tags` — Read — https://policylayer.com/tools/3dgenstudio/find-assets-by-tags.md
- `get_batch` — Read — https://policylayer.com/tools/3dgenstudio/get-batch.md
- `get_building` — Read — https://policylayer.com/tools/3dgenstudio/get-building.md
- `get_graph` — Read — https://policylayer.com/tools/3dgenstudio/get-graph.md
- `get_mesh_result` — Read — https://policylayer.com/tools/3dgenstudio/get-mesh-result.md
- `get_project` — Read — https://policylayer.com/tools/3dgenstudio/get-project.md
- `get_run_status` — Read — https://policylayer.com/tools/3dgenstudio/get-run-status.md
- `get_settings` — Read — https://policylayer.com/tools/3dgenstudio/get-settings.md
- `get_system_stats` — Read — https://policylayer.com/tools/3dgenstudio/get-system-stats.md
- `get_vfx_graph` — Read — https://policylayer.com/tools/3dgenstudio/get-vfx-graph.md
- `inspect_mesh` — Read — https://policylayer.com/tools/3dgenstudio/inspect-mesh.md
- `inspect_workflow` — Read — https://policylayer.com/tools/3dgenstudio/inspect-workflow.md
- `list_asset_tags` — Read — https://policylayer.com/tools/3dgenstudio/list-asset-tags.md
- …and 64 more: https://policylayer.com/tools/3dgenstudio.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=3dgenstudio · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/3dgenstudio
