Skip to main content
Glama

clear_keyframes

Removes keyframes from a target, optionally for one parameter and a frame range, to clear unwanted animation data in OpenToonz scenes.

Instructions

Remove keys from a target (optionally one param: x,y,rotation,scale,scale_x,scale_y,z; optional frame range).

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": {
      "scene": "<scene>",
      "target": "<target>"
    },
    "name": "clear_keyframes"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
paramNo
sceneYes
startNo
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.7/5.0
Behavior2/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, yet it only hints that omitting the frame range affects a broader scope ("optional frame range"). It does not say whether removal is irreversible or undoable, whether omitting start/end clears all frames, or what happens to a channel left with no keys.

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?

One sentence, front-loaded with the verb and resource, with the optional qualifiers packed into a trailing parenthetical. The nested parenthetical is slightly dense but every clause carries information.

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?

For a five-parameter mutation tool with no annotations, no output schema, and zero schema coverage, the description leaves too much unspecified: the destructive nature, the semantics of omitting start/end, and the meaning of scene/target are all unaddressed.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, and the description compensates only partially: it enumerates valid param values and implies start/end define a range. The two required parameters, scene and target, receive no explanation of expected format or identification at all.

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?

"Remove keys from a target" gives a specific verb (remove) and resource (keys on a target), which no sibling in the listed catalog duplicates. It stops short of the 5 mark only because it doesn't explicitly contrast itself with related animation tools like animate_action or inbetween.

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 never states when to use this tool versus alternatives, nor any prerequisites such as the target needing to already have keys or the scene needing to exist. It implies a deletion use case but leaves all routing and precondition decisions to the agent.

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