Skip to main content
Glama

Create a camera path (guided tour)

set_camera_path

Create a custom guided camera tour as a scripted walk or fly-through that shared links can play, defining route, room order, framing, and keyframes for a 3D scene.

Instructions

Create a custom guided camera tour, a scripted walk or fly-through that share links can play. Use it when the user wants a specific route, order of rooms or framing; for a good tour without choosing a route, use reset_auto_camera_path. Parameters: keyframes use scene metres with y up. Every key needs a non-zero forward vector f; add look to keep a target point centred, which takes over aiming at that key. Keys without dur are timed from speed; hold pauses at a key, which suits a room reveal. In 'walk' mode the camera keeps eye height and steers around walls, so put keys in open floor space; 'fly' moves freely and suits exteriors. Limits: 2 to 256 keys per tour and up to 24 tours per scene. Each call adds a new tour and keeps the others; the first tour on a scene becomes the default unless another is. Owner only. Requires sign-in (connector sign-in, or VERSE_API_KEY for the local server).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "scene": "<scene>",
      "keys": "<keys>"
    },
    "name": "set_camera_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYesKeyframes in order; the camera moves through them from first to last.
modeNo'walk' keeps eye height over the floor and avoids walls; 'fly' goes anywhere.walk
nameNoTour name shown to viewers, e.g. 'Ground floor walkthrough'.Walkthrough
sceneYesScene id (e.g. palm-villa-0a1b2c3d4e5f), the job id returned by upload_scene, or a Verse share link.
speedNoMetres per second for keys without `dur`.
make_defaultNoMake this the tour that share links and autoplay use.

Output Schema

NameRequiredDescriptionDefault
keysYesKeyframes saved.
sceneYesScene id.
pathIdYesId of the new tour.
defaultYesWhether links now play this tour by default.
tourLinkYesLink that opens the scene playing this tour.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.5
    • changedInput schema / properties / keys / items / properties / f / description
      Previous value: -"Forward direction [x,y,z]; need not be normalised. Ignored when `look` is given."New value: +"Forward direction [x,y,z], required and non-zero; need not be normalised. When `look` is set, the camera aims at that point instead."
  2. Changed7 schema fields changedv0.1.4
    • addedInput schema / properties / keys / description
      Added value: +"Keyframes in order; the camera moves through them from first to last."
    • addedInput schema / properties / keys / items / properties / ease / description
      Added value: +"Motion into this key: 'smooth' (default) eases through, 'stop' comes to rest, 'linear' keeps constant speed."
    • changedInput schema / properties / keys / items / properties / f / description
      Previous value: -"Forward direction [x,y,z]."New value: +"Forward direction [x,y,z]; need not be normalised. Ignored when `look` is given."
    • addedInput schema / properties / keys / items / properties / fov / description
      Added value: +"Vertical field of view in degrees at this key (default 60)."
    • addedInput schema / properties / make_default / description
      Added value: +"Make this the tour that share links and autoplay use."
    • addedInput schema / properties / name / description
      Added value: +"Tour name shown to viewers, e.g. 'Ground floor walkthrough'."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "default": {
      +      "description": "Whether links now play this tour by default.",
      +      "type": "boolean"
      +    },
      +    "keys": {
      +      "description": "Keyframes saved.",
      +      "type": "number"
      +    },
      +    "pathId": {
      +      "description": "Id of the new tour.",
      +      "type": "string"
      +    },
      +    "scene": {
      +      "description": "Scene id.",
      +      "type": "string"
      +    },
      +    "tourLink": {
      +      "description": "Link that opens the scene playing this tour.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "scene",
      +    "pathId",
      +    "keys",
      +    "default",
      +    "tourLink"
      +  ],
      +  "type": "object"
      +}
  3. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (non-read-only, non-idempotent, non-destructive, open-world), the description discloses hard limits (2-256 keys, 24 tours per scene), the additive semantics ('each call adds a new tour and keeps the others'), the default-tour side effect, owner-only access and the sign-in/VERSE_API_KEY requirement. That is substantial behavioral context the annotations cannot carry. It stops just short of describing how the resulting tour id or playback surface behaves, which the output schema presumably covers.

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

Conciseness4/5

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

It is front-loaded with purpose, then routing guidance, then parameter semantics, then limits and auth — a sensible order with no filler sentences. It is dense in the parameter block, packing several distinct rules into one long paragraph, which costs a little scannability, but every sentence carries operational information.

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 non-idempotent mutation with an output schema, the description covers what an agent needs to call it correctly: coordinate frame, required forward vector, mode trade-offs, timing defaults, tour count limits, additive side effects, default-tour behavior, and authorization. Return-value details are correctly left to the output schema.

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 already 100%, so the baseline is 3, and the description genuinely exceeds it: it explains coordinate conventions ('scene metres with y up'), the interaction between `look` and `f` ('takes over aiming at that key'), and the timing fallback ('keys without `dur` are timed from `speed`; `hold` pauses at a key'). It also gives practical placement advice per mode ('put keys in open floor space' for walk, 'fly moves freely and suits exteriors'), which is meaning an agent cannot get from the schema alone.

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?

States a specific verb and resource ('Create a custom guided camera tour') and glosses it as 'a scripted walk or fly-through that share links can play', which tells the agent exactly what artifact is produced. It also explicitly contrasts itself with the sibling reset_auto_camera_path, so the tool is distinguishable without opening either schema.

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?

Gives an explicit when-to-use condition ('when the user wants a specific route, order of rooms or framing') and a when-not-to-use alternate with the sibling named ('for a good tour without choosing a route, use reset_auto_camera_path'). Nothing about selection is left to inference.

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