Skip to main content
Glama

animation_getKeyframes

Reads keyframes, interpolation, Bezier handles, color tags, and Separate Dimensions from selected layer, bone, wind/gravity, Vitruvian, switch, vector point/shape, follow-path, or camera channels.

Instructions

Read all keyframes, interpolation, Bezier handles, color tags, and Separate Dimensions from layer, bone, wind/gravity, Vitruvian, switch, vector point/shape, layer order, follow-path, or camera channels.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channel": "<channel>"
    },
    "name": "animation_getKeyframes"
  }
}

Input Schema

NameRequiredDescriptionDefault
boneIdNoZero-based bone index inside the BoneLayer
channelYes
layerIdNoNumeric depth-first layer ID (from layer_list)
pointIdNoZero-based point index for point_pos/point_width/point_curvature
shapeIdNoZero-based shape index for shape_* / combo_blend channels
boneNameNoExact bone name
dimensionNoSeparate Dimension axis for vector channels (x, y, z)
groupNameNoVitruvian group name for vitruvian_active_bone
layerNameNoExact layer name
layerUuidNoLayer UUID
shapeNameNoShape name for shape_* / combo_blend channels
curveIndexNoCurve index on point for point_curvature (default: 0)
groupIndexNoVitruvian group index for vitruvian_active_bone
splitDimensionsNoSplit vector channel dimensions automatically if not already split

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; "Read" correctly signals a non-mutating retrieval and "all" signals completeness of the returned set, so the safety profile is at least implied. However, it fails to disclose that splitDimensions can actually mutate state by splitting vector channel dimensions, and says nothing about permissions, error behavior for mismatched channel/identifier, or what the returned keyframe structure looks like.

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?

A single front-loaded sentence that opens with the verb and resource, then enumerates scope efficiently. The long channel-family list is dense but every item corresponds to a real channel group the tool handles, so the length earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter read tool with no annotations and no output schema, the definition covers what is read and from which channel families, which is the critical part. It leaves gaps on which identifier parameters pair with which channel families, on the mutation risk of splitDimensions, and on return shape, so it is adequate rather than complete.

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 93% with 14 well-described parameters, so the schema already does the heavy lifting and a baseline 3 is appropriate. The description's channel-family enumeration usefully groups the large channel enum (wind/gravity, Vitruvian, point/shape, camera) but adds no format or relationship detail beyond what the schema's per-parameter descriptions and enums already supply.

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?

"Read all keyframes, interpolation, Bezier handles, color tags, and Separate Dimensions" gives a specific verb plus a precise list of the resources returned, and the enumeration of channel families (layer, bone, wind/gravity, Vitruvian, switch, vector point/shape, layer order, follow-path, camera) mirrors the channel enum so an agent can see what this reads. It reads implicitly as the counterpart of animation_setKeyframes, but it never names that sibling to cement the contrast.

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 states what the tool retrieves but gives no explicit when-to-use guidance, no conditions that select it over setKeyframes or the various get siblings, and no prerequisites such as needing a layerId/boneId for the relevant channel family. The only usable cue is the channel-scoped framing, which is inferred rather than stated.

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