Skip to main content
Glama

Create a new scene

create_scene

Creates a new scene with slugified folder name, uppercase type, and optional size; prevents name collisions and resets engine configuration when type changes.

Instructions

Create a new scene folder + scene.gbsres under project/scenes/. Name is slugified for the on-disk folder; collisions get _2/_3 suffixes. Scene type must be uppercase (TOPDOWN, PLATFORM, ADVENTURE, POINTNCLICK, SHMUP, LOGO) — changing type later resets engine configuration, so pick deliberately. Size defaults to 20×18 tiles (one screen); scenes >20×18 scroll. Does not create a background — pass backgroundId of an existing background, or set it empty and add one later.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name — also seeds the slug.
typeYesScene type (uppercase). Controls the engine behaviour for this scene.
widthNoTiles wide. Default 20, max 255.
heightNoTiles tall. Default 18, max 255.
symbolNoOverride auto-generated GBVM symbol.
backgroundIdNoBackground resource id (UUID). Empty string allowed; scene will build but render a missing-background placeholder.
Behavior5/5

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

With no annotations, the description fully discloses key behaviors: name slugification, collision suffixes, type change resetting config, default size, scrolling, and lack of background creation. No contradictions.

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?

Concise paragraph with no wasted words. Front-loaded with main action, each sentence adds value. Length is appropriate for the tool's complexity.

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?

Comprehensive for most aspects but does not describe return values. No output schema exists, so noting what the tool returns would improve completeness. Otherwise covers behavior well.

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

Parameters5/5

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

Adds significant meaning beyond the input schema: name slugification/collision, type uppercase requirement and consequence, default size and scrolling, backgroundId usage. Schema coverage is 100% but description enriches every parameter.

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 it creates a new scene folder and file, differentiating it from sibling tools like read_scene, delete_scene, and list_scenes. It specifies the location and naming behavior.

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

Usage Guidelines4/5

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

Provides guidance on scene type selection (must be uppercase, deliberate choice due to engine config reset) and background handling (not created, must be provided or added later). Lacks explicit when-not-to-use but offers solid context.

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/gbs-toolkit/mcp-server'

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