Skip to main content
Glama

build_camera_switcher_timeline

Create camera switching animation timelines for Godot scenes by defining camera paths and activation timestamps to produce multi-angle cinematic cuts.

Instructions

Camera Switcher Timeline Builder: Write an Animation resource block that toggles Camera3D.current at exact timestamps for multi-angle cinematic cuts.

Each switch dict must have:

  • 'camera_path': NodePath to a Camera3D (e.g. 'CamA')

  • 'activate_at': float timestamp in seconds

  • 'deactivate_at': optional float timestamp to turn camera off

Args: scene_path: Absolute path to the .tscn scene file. anim_player_node: Name of the AnimationPlayer node in the scene. switches: List of camera switch event dicts. animation_name: Name for the generated animation clip. timeline_length: Total animation length in seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
switchesYes
scene_pathYes
animation_nameNoCameraTimeline
timeline_lengthNo
anim_player_nodeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It discloses that it writes an Animation resource block and toggles Camera3D.current at specified timestamps, and details the switch dict fields. However, it does not state whether the scene file is modified and saved, what happens to existing animations, or how errors (e.g., invalid NodePath) are handled. These are meaningful gaps for a mutation tool.

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?

The description is concise and logically structured: it leads with purpose, then explains the switch dict format, then lists args. It is not bloated, though the arg list could be tightened. Overall, it earns its space.

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 moderate complexity (5 params, 3 required) and the presence of an output schema, the description covers all inputs and the switch structure adequately. It does not discuss edge cases or return values, but these are partially covered by the output schema. The description is sufficient for an agent to call the tool correctly in typical scenarios.

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 0% description coverage, so the description fully compensates by explaining each parameter: scene_path is an absolute .tscn path, anim_player_node is the AnimationPlayer node name, switches is a list of dicts with required keys, animation_name is the clip name, and timeline_length is total length. This is significantly more than the schema provides.

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 ('Write an Animation resource block'), the resource (Camera3D.current toggling), and the purpose (multi-angle cinematic cuts). It clearly distinguishes itself from sibling tools like generate_bezier_camera_path or inject_lookat_tracking, which handle different aspects of camera animation.

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

Usage Guidelines2/5

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

The description gives the purpose but no guidance on when to choose this over alternatives. It does not mention exclusions or when to prefer a sibling like generate_state_machine or stitch_animation_library. An agent would have to infer usage from the name and purpose, which is insufficient.

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