Skip to main content
Glama

Set Keyframe

set_keyframe

Set or update a keyframe on any animatable parameter of a C4D entity. Supports scalar and vector values, with automatic track creation.

Instructions

Create or update a single keyframe on a resolved entity's parameter. Supports scalar (real/long/bool) and vector (x/y/z component) parameters; the bridge infers the dtype from the entity's description, or you can override it explicitly. Creates the CTrack automatically on first use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNoTime base override (default: doc fps).
dtypeNoOverride the dtype when description lookup fails (rare).
frameYesFrame number.
valueYesValue at this frame (rotations in radians; bools coerce to 0/1).
handleYesEntity whose parameter gets the keyframe.
interpNoKey interpolation (default "spline").
param_idYesTop-level description id (e.g. c4d.ID_BASEOBJECT_REL_ROTATION = 904).
componentNoSub-component for Vector params. For C4D rotation (HPB) use "x" for H, "y" for P, "z" for B.
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the automatic creation of CTrack on first use and explains dtype inference. However, it does not mention error conditions, return values, or whether the operation is idempotent (though 'update' implies it is). The side effect of creating a track is disclosed, but more details on failure modes would improve transparency.

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 two sentences long, with no redundant information. The first sentence clearly states the core action, and the second adds essential details about parameter types and automatic track creation. Every word earns its place, making it highly concise and well-structured.

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 has 8 parameters and no output schema, the description covers the main functionality well, including dtype handling and automatic CTrack creation. However, it does not explain the structure of the handle parameter (though schema does) or address what the tool returns (e.g., success indication). For a mutation tool with no output schema, these details would be helpful.

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?

All parameters are described in the schema (100% coverage), so baseline is 3. The description adds value by explaining the context of dtype inference and the types of parameters supported (scalar and vector), which goes beyond the individual parameter descriptions. This helps an agent understand how the parameters relate to each other.

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 clearly states the verb ('Create or update') and the resource ('a single keyframe on a resolved entity's parameter'). It also distinguishes from sibling tools like get_keyframes (read) and delete_keyframe (remove) by focusing on creation/update and mentioning automatic CTrack creation, which is unique among siblings.

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

Usage Guidelines4/5

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

The description provides guidance on parameter types (scalar and vector) and explains that dtype can be inferred or overridden, which helps in deciding when to use the override. However, it does not explicitly state when not to use this tool versus alternatives (e.g., set_params) or prerequisite conditions like entity resolution.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kumoproductions/mcp-cinema4d'

If you have feedback or need assistance with the MCP directory API, please join our Discord server