Skip to main content
Glama

Scene Plan

scene_plan

Generates an actionable Maya scene layout plan by checking for orphan meshes, empty groups, default names, zone balance, spacing, overlap, and near-miss collisions.

Instructions

Plan a scene layout: organization checks plus layout suggestions.

Checks the scene and produces an actionable plan:

  • Organization check: finds orphan meshes, empty groups, default names

  • Zone analysis: coverage and spatial balance across zones

  • Layout suggestions: spacing, overlap, and clustering detection

  • Conflict prevention: predicts near-miss collisions

  • Action plan: prioritized step-by-step execution guide

With recommend_assets=True, also recommends Poly Haven models across the built-in scene zones (entrance, display, furniture, lighting; shell, ip_core, and path are skipped with no search): reads fresh zone geometry (after auto_fix completes when auto_fix=True), resolves a target object per zone from objective (full DAG path, unique short name, or single measurable zone object; otherwise falls back to the zone's world-axis bounding box, built from shape boxes transformed once, so a rotated parent no longer widens it by layer), searches the models index in a worker thread under a 5s soft time budget reusing the 300s models index cache, checks words, deduplicates (capped at 3 per zone and 12 total), and screens candidates in metres (0.5x-1.5x per sorted axis for an object target; upper limit only for zone_bbox). Recommendations are advisory references — search only, no download and no import — and a search timeout, network failure (returning partial/offline status), or corrupt metadata never drops or changes the plan itself. Clearances and collisions are not verified.

Blockout first: check organization and proportions before committing to detailed modeling. Accepts a plain-language objective.

Boundary: Disambiguated from scene_review (scene_plan focuses on forward-looking layout planning and actionable auto_fix reorganization, whereas scene_review gives an overall diagnostic score).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format - "json" (default) or "cos".json
auto_fixNoIf True, auto-fix safe issues (remove empty groups, reparent orphans).
objectiveNoNatural language goal description. e.g., "set up entrance area with display window and clear circulation"
session_keyNoMaya session key.
recommend_assetsNoIf True, attach advisory Poly Haven model recommendations across the mapped built-in zones (entrance, display, furniture, lighting; shell/ip_core/path skipped) to the plan. This reaches the Poly Haven search index over the network; default False keeps the output byte-identical and fully offline.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • addedInput schema / properties / recommend_assets
      Added value: +{
      +  "default": false,
      +  "description": "If True, attach advisory Poly Haven model\nrecommendations across the mapped built-in zones (entrance,\ndisplay, furniture, lighting; shell/ip_core/path skipped)\nto the plan. This reaches the Poly Haven search index over\nthe network; default False keeps the output byte-identical\nand fully offline.",
      +  "type": "boolean"
      +}
  2. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations it discloses real behavioral facts: auto_fix removes empty groups and reparents orphans, recommendations are advisory search-only with no download or import, a timeout or network failure returns partial/offline status without altering the plan, and clearances/collisions are explicitly NOT verified. That last caveat is exactly the kind of limitation an agent needs. It loses a point only because the very long single sentence about worker threads, cache durations and bounding-box transforms mixes useful behavior with internal implementation detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening and bullet list are well front-loaded, but the recommend_assets paragraph is a single sprawling sentence stuffed with tuning constants (5s soft budget, 300s cache, 3 per zone / 12 total, 0.5x-1.5x per sorted axis) that an agent cannot act on and that dilutes the actionable content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the description covers mutations (auto_fix), network side effects, failure modes, and explicit non-guarantees. For a zero-required-parameter planning tool this is essentially complete, with only the implementation trivia creating mild noise.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: it lists which zones are searched and which (shell, ip_core, path) are skipped for recommend_assets, explains that objective can be a full DAG path, a unique short name, or fall back to a zone bounding box, and notes that fresh zone geometry is read after auto_fix completes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Plan a scene layout') and then enumerates the concrete outputs (organization check, zone analysis, layout suggestions, conflict prediction, prioritized action plan). It also explicitly separates itself from sibling scene_review, so an agent can distinguish the two without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is explicit: 'Blockout first: check organization and proportions before committing to detailed modeling' tells when to call it, and the Boundary paragraph names scene_review as the alternative for diagnostic scoring. It also states the condition that switches on network access (recommend_assets=True) and that the default keeps the run fully offline.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.