Skip to main content
Glama

daz_set_keyframe

Set keyframes on node properties to define animation values at specific frames. DAZ Studio interpolates between keyframes automatically.

Instructions

Set a keyframe on a property at specified frame.

Creates or updates a keyframe for a numeric property at the given frame number. This is the fundamental operation for creating property animations.

Args: node_label: Display label of the node. property_name: Property label or internal name. frame: Frame number (integer, typically 0-based). value: Value to set at this frame.

Returns:

  • success: true on success

  • node: node label

  • property: property label

  • frame: frame number

  • value: value set at the keyframe

Example: # Animate character moving right (0 to 100cm over 30 frames) daz_set_keyframe("Genesis 9", "XTranslate", frame=0, value=0) daz_set_keyframe("Genesis 9", "XTranslate", frame=30, value=100)

# Animate rotation (0 to 90 degrees over 60 frames)
daz_set_keyframe("Genesis 9", "YRotate", frame=0, value=0)
daz_set_keyframe("Genesis 9", "YRotate", frame=60, value=90)

# Animate morph (fade in smile)
daz_set_keyframe("Genesis 9", "PHMSmile", frame=0, value=0)
daz_set_keyframe("Genesis 9", "PHMSmile", frame=15, value=0.8)

Note: - DAZ Studio interpolates between keyframes automatically - Setting a keyframe at an existing frame updates the value - Frames are typically 0-based integers - Use daz_set_frame_range() to define the animation length first

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_labelYes
property_nameYes
frameYes
valueYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description bears full burden. It discloses behavior: creates or updates keyframes, interpolates automatically, updating existing frame updates value, frames 0-based. Also states return values. Does not mention permissions or potential side effects, but these are minimal for a keyframe tool.

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?

Description is well-structured with sections: purpose, Args, Returns, Example, Note. It is concise yet comprehensive, with every sentence adding value. No redundant or wasted text.

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?

Given 4 required parameters, no annotations, but output schema exists, the description covers all necessary aspects: purpose, parameters, return values, examples, and a note about frame range. References a sibling tool (daz_set_frame_range) for completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description must provide parameter meanings. The Args section explains each parameter (node_label, property_name, frame, value) clearly, and examples demonstrate usage with realistic values. This fully compensates for missing schema descriptions.

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?

Description clearly states it sets a keyframe on a property at a specified frame, creates or updates keyframes for animation. Verb is specific ('set a keyframe on a property'), resource is clear, and it distinguishes from sibling tools like daz_set_property (no animation) and daz_remove_keyframe.

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?

Description provides usage context: 'fundamental operation for creating property animations' and advises to use daz_set_frame_range first. It implicitly tells when to use (animation) vs alternative (e.g., daz_set_property for non-animated changes). Explicit when-not-to-use is absent but inferred from examples and notes.

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/bluemoonfoundry/daz-mcp-server'

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