Skip to main content
Glama

add_weighted_value_keyframe

Adds a single float keyframe to an existing Level Sequence property track, setting time, value, and cubic, linear, or constant interpolation for Weight curves.

Instructions

Write a single key onto an existing float property track's first section (cubic / linear / constant interp).

Returns: { sequence_name: string, binding_guid: string, property_name: string, time_seconds: float, value: float, interp_mode: string, arrive_tangent: float, leave_tangent: float, key_index: int, key_count: int, saved: bool, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoKey value (float).
interp_modeNo"cubic" (default), "linear", or "constant".
binding_guidYesGUID of the binding owning the float property track.
time_secondsYesTime (seconds, >= 0) at which to place the key.
leave_tangentNoOptional tangent for cubic interp (default 0).
property_nameNoName of the float property (default "Weight"; used for response only).
sequence_nameYesName of the target Level Sequence.
arrive_tangentNoOptional tangent for cubic interp (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and the description's 'Write a single key' is consistent with a non-read write. It adds the 'first section' scoping and reports save/save_error in the return payload, but does not state permissions, reversibility, or what happens on repeat calls.

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 behavioral sentence is tightly front-loaded and wastes no words. The inline Returns block is somewhat long but earns its place since no output schema exists to convey the response shape.

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?

For a mutation tool with no output schema, documenting the return object (key_index, key_count, saved, save_error) compensates well for the missing output schema. The main remaining gap is prerequisites/error conditions around the 'existing track' requirement.

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 schema already documents all 8 parameters, including defaults and interp modes. The description adds no parameter semantics beyond what the structured schema provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: writing a single key onto an existing float property track's first section, plus the interp modes. An agent can distinguish this from add_weighted_value_track (which creates the track) without opening the schema. It stops short of explicitly naming sibling tools.

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 word 'existing' implies the track must already be present (use add_weighted_value_track first), which is useful but only implicit. There is no explicit when-to-use vs when-not statement or named alternative among the many sibling sequence/keyframe tools.

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