Skip to main content
Glama

Switch scene

switch-scene
Idempotent

Activate a scene for every player by ID or name, optionally centering and zooming the view to fit the map. Requires write permission to update the world instantly.

Instructions

Activate a scene for every player, by id or name. With optimize_view the view is centred on the map and zoomed so the whole map fits. Players see the switch at once, so this is a change to the world and needs writing to be allowed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optimize_viewNoCentre and fit the view on the map afterwards
scene_identifierYesId or name of the scene to activate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv14.2609.4

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false. The description adds valuable behavioral context beyond that: 'Players see the switch at once' and that it is a world change requiring write permission. It does not contradict any annotation.

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 three focused sentences with no filler. The core action is front-loaded, then the optimize_view behavior and the world-change/write-permission consequence are each given one compact sentence.

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

Completeness5/5

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

For a low-complexity tool with two fully documented parameters, no output schema, and idempotentHint=true, the description covers the essential behavior, the view option, and the permission requirement. Nothing critical is missing for an agent to invoke it correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description mostly restates what the schema already says: scene_identifier is 'Id or name' and optimize_view centers the view. It adds little substantive parameter meaning beyond the schema.

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 uses a specific verb and resource: 'Activate a scene for every player, by id or name.' It clearly distinguishes switching/activating a live scene from sibling operations like list-scenes, get-current-scene, create-scene, or update-scene.

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

Usage Guidelines3/5

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

The description conveys an important prerequisite: 'this is a change to the world and needs writing to be allowed.' It implies when the tool is applicable but does not explicitly contrast it with alternatives such as update-scene or get-current-scene, leaving some routing to inference.

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

Deploy Server

Other Tools