Skip to main content
Glama

tag_animation

Destructive

Tag a frame range as a named animation like 'idle' or 'walk' for export to Godot, setting loop repeat and playback direction. Reusing a name replaces the existing tag.

Instructions

Tag a frame range as a named animation such as 'idle', 'walk' or 'attack'.

Tag names become animation names in Godot. repeat=0 loops forever; a positive value makes the animation play through and stop. A tag with the same name is replaced.

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": {
      "path": "<path>",
      "name": "<name>",
      "from_frame": "<from_frame>",
      "to_frame": "<to_frame>"
    },
    "name": "tag_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes
repeatNo
to_frameYes
directionNoforward
from_frameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false. The description adds real context beyond them: loop semantics for repeat ('0 loops forever; a positive value makes the animation play through and stop') and the overwrite rule for duplicate tag names, which partially explains the destructive flag. It still omits what a same-named tag replacement removes and what, if anything, happens to existing tags overlapping the range.

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?

Two short segments: the purpose first, then the behavioral notes on repeat and replacement. Front-loaded and free of filler, with only minor room to improve by grouping the parameter notes more explicitly.

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 destructive, non-idempotent mutation with 6 parameters, 0% schema description coverage and no output schema. The description covers the conceptual model but leaves the target path and direction semantics unexplained, and says nothing about the result of a successful call, which is a meaningful gap for a write tool.

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%, so the description carries the full burden for 6 parameters. It explains repeat and, by implication, from_frame/to_frame and name, but 'path' is never mentioned and 'direction' (a 4-value enum: forward/reverse/pingpong/pingpong_reverse) is not explained at all, leaving the least obvious parameter undocumented in both schema and description.

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 ('Tag a frame range as a named animation') and grounds it with concrete examples ('idle', 'walk', 'attack'), plus the downstream effect ('Tag names become animation names in Godot'). It does not explicitly contrast with siblings like add_frames or export_godot_spriteframes, but the intent is unambiguous.

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

Usage Guidelines3/5

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

Usage is implied by the frame-range framing and by the note that a same-named tag is replaced, which tells the agent something about re-tagging. There is no explicit when-to-use guidance, no prerequisite (e.g., which file/layer the range must exist in), and no statement of when to prefer this over sibling tools.

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