Skip to main content
Glama

animation_deleteKeyframe

Removes a single keyframe from a supported Moho 14.4 animation channel so you can correct or clear an unwanted animation point at a specific frame.

Instructions

Delete a single keyframe (frame > 0) from any supported Moho 14.4 animation channel.

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>",
      "frame": "<frame>"
    },
    "name": "animation_deleteKeyframe"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameYes
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.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two useful traits beyond the schema: only a single keyframe is removed, and frame 0 is protected ('frame > 0'), implying a base value. It says nothing about whether deletion is reversible, what happens if no keyframe exists at that frame, or what the response contains.

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 with no filler; the scope constraint is packed in efficiently. For a 15-parameter mutation tool it may be too short to be 'appropriately sized', which keeps it from a 5.

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

Completeness2/5

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

This is a complex mutation with 15 parameters, an enum of ~48 channels, no annotations, and no output schema. The description omits what identifier combination is needed per channel, error behavior for a missing keyframe, and any notion of reversibility — significant gaps for a destructive operation.

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 87%, so the schema already documents the 15 parameters, including identifier alternatives (boneId vs boneName, layerId vs layerUuid). The description adds only the frame > 0 constraint, which is a genuine semantic addition, but it never explains how channel selection determines which identifier parameters become required.

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 and resource ('Delete a single keyframe') and adds scope that separates it from set/tween/retime siblings: one keyframe, on a named channel, frame > 0. It doesn't explicitly name a sibling or contrast with animation_setKeyframes, which overwrites rather than removes, so it stops short of a 5.

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?

No when-to-use or when-not-to-use guidance. The only implicit rule is the 'frame > 0' constraint; nothing tells the agent when to delete versus overwrite via animation_setKeyframes, or what prerequisites (layer, bone, point, shape identifiers) must be resolved first.

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