Skip to main content
Glama

Keyframer

Sample animation values over time

sample_scene
Read-only

Numerically preview a scene: evaluates keyframes AND node graphs at N evenly spaced times and returns each moving prop as a value series (the same math the editor preview runs). validate_scene checks structure — this checks MOTION: confirm ranges, spring overshoot, stagger offsets, and that elements actually move before create_scene. Free to call — iterate: author → sample → adjust.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sceneYesThe scene as a JSON object (preferred) or a JSON string. Call get_scene_format for the shape.
samplesNoSample count across the duration (default 9)
element_idsNoOnly report these element ids

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark readOnlyHint=true, and the description reinforces this with 'Free to call' and positions it as a pre-flight check before a mutating sibling (create_scene). It adds valuable context beyond the annotation by stating it runs 'the same math the editor preview runs', which signals the output is faithful to the actual render, and clarifies that it only reports 'moving' props.

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?

Three sentences with zero filler. The core purpose is front-loaded, the contrast with validate_scene is packed into the second sentence, and the workflow guidance is a compact one-liner. Every sentence earns its place.

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?

Despite no output schema, the description tells the agent what the return shape looks like (value series per moving prop), how faithful it is (same math as editor), when to use it (motion checking before create_scene), and that it is safe to call repeatedly. Combined with the fully described parameters and read-only annotation, nothing essential is missing for correct invocation.

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 coverage is 100%, so the baseline is 3. The description adds little parameter-specific meaning beyond the schema; it references 'N evenly spaced times' which maps to samples, and 'each moving prop' hints at element_ids, but it does not define defaults, formats, or filtering behavior beyond what the schema already states.

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 opens with a specific verb and resource: 'Numerically preview a scene' and explains exactly what it evaluates (keyframes AND node graphs) and returns (a value series per moving prop). It also distinguishes itself from validate_scene, making the purpose unmistakable even among ten siblings.

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?

Usage context is explicit: it says validate_scene checks structure while this checks MOTION, and lists concrete confirmations (ranges, spring overshoot, stagger offsets, elements actually move before create_scene). It even provides workflow guidance ('Free to call — iterate: author → sample → adjust'), which tells the agent exactly when and how often to invoke it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool maps to a distinct resource or action: scene CRUD, validation, motion sampling, recipe lookup, code generation, and QR preview. Potential pairs like validate_scene vs sample_scene are clearly separated as structural validation vs motion evaluation, and get_scene vs get_recipe differ by source and purpose.

Naming Consistency5/5

Tool names consistently follow a verb_noun snake_case pattern: create_scene, get_scene, list_scenes, update_scene, validate_scene, search_recipes. The few compound nouns like get_preview_qr and get_scene_format still fit the same predictable convention.

Tool Count5/5

11 tools is well within the ideal range and each tool serves a clear part of the scene authoring workflow: discovery, validation, sampling, editing, compiling, and previewing. None feel redundant or extraneous for the stated purpose.

Completeness4/5

The toolset covers the core scene lifecycle well: create, read, list, update, validate, sample, generate code, and preview. The main gap is the absence of a delete_scene tool, which is a minor omission since the authoring and iteration workflow is otherwise fully supported.

Resources