Skip to main content
Glama

renforge_scene_tree

Retrieve the live Ren'Py scene as structured data: get all displayables, controls, and text blocks with id, bounds, center, zorder, and screen. Filter by layer/type, save snapshots, and diff.

Instructions

Perceive the whole scene as structured data (logical coordinates).

Unlike renforge_list_ui_elements (focusables only), this reports every layer displayable, focusable control, and text block with id, type, bounds, center, zorder and screen. Every reply carries an omitted completeness hint. detail is semantic (default), layout or raw; layers/types/screen/ids scope the result. include=["color","style","overflow"] opts into composited colour, declared style, and best-effort text overflow. format="wireframe" adds an ASCII map. save_as persists a snapshot under .renforge/scenes/; diff_against diffs the live scene against a saved snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNo
typesNo
detailNosemantic
formatNojson
layersNo
screenNo
includeNo
save_asNo
max_itemsNo
diff_againstNo
project_pathYes
max_output_bytesNo
max_output_depthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description carries the full burden. It discloses key behaviors: reports every layer displayable, focusable control, and text block; includes an 'omitted' completeness hint; supports detail levels (semantic/layout/raw); and explains side effects like committing snapshots (save_as) and diffing (diff_against). This is rich behavioral disclosure.

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

Conciseness5/5

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

The description is a single, well-organized paragraph that front-loads the primary purpose, then efficiently enumerates options using backticks and semicolons. No sentence is wasted, and it packs substantial detail into a compact structure.

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?

Given the tool's complexity (13 parameters, no annotations, but an output schema exists), the description covers most major aspects, including output hints and options. Still, it omits explanations of the three limiting parameters, which could be important for large scenes. Overall it is nearly complete but has that gap.

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?

The schema has no descriptions (0% coverage), so the description must compensate. It explains detail, layers/types/screen/ids, include, format, save_as, and diff_against. However, it does not explain max_items, max_output_bytes, or max_output_depth, which are important output-limiting parameters, leaving a gap for those.

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 clearly states the tool perceives the whole scene as structured data, listing exactly what it reports (every layer displayable, focusable control, text block) and the fields included. It explicitly distinguishes itself from the sibling tool renforge_list_ui_elements, making its purpose unmistakable.

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?

The description directly contrasts with renforge_list_ui_elements ('Unlike ... this reports every...'), providing an explicit alternative. It also describes how to scope results using layers/types/screen/ids and offers options like include, format, save_as, and diff_against, giving clear context for when and how to use the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alex-jordan547/renforge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server