Skip to main content
Glama
Wilson520403

fgui-agent-bridge

by Wilson520403

fgui_remove_transition_item

Remove a keyframe item from a Transition at a specified index in FairyGUI Editor, with optional save verification and undo support.

Instructions

删除 Transition 指定索引的关键帧项;可用 fgui_undo 恢复。

save=True 保存后默认比对磁盘 XML 中该 Transition 的条目数;external_reload=True(需 save=True)关闭重开再比对,响应 strength 为 reload / disk / none。

Input Schema

NameRequiredDescriptionDefault
nameYes
saveNo
verifyNo
item_indexYes
external_reloadNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.6

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses reversibility via fgui_undo, the save/disk-comparison behavior, that external_reload requires save=True, and the possible response strength values (reload/disk/none). It does not cover permissions or side effects on other transition entries, so not a 5.

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 compact paragraphs with the core mutation action front-loaded, followed by the save/verification semantics. Every sentence carries information; no filler or repetition.

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

Completeness4/5

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

For a destructive mutation with no annotations and a 0%-covered schema, the description supplies the essential behavioral context (undo recovery, save/verify flow, external_reload dependency) and an output schema exists to cover return values. Minor gaps remain around the unexplained required parameters.

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 0% across 5 parameters, and the description explains only some of them: save, the implicit verify comparison behavior, and external_reload (including its dependency on save). The required name and item_index parameters receive no explanation, leaving a meaningful gap the schema does not fill.

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?

The description states a precise verb+resource+scope: removing the keyframe item at a specified index of a Transition ("删除 Transition 指定索引的关键帧项"). The resource name (transition item) inherently distinguishes it from fgui_remove_transition and fgui_add_transition_item, but it never explicitly names those siblings, 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 Guidelines3/5

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

It notes that the operation is reversible via fgui_undo, which hints at usage context, but gives no explicit when-to-use/when-not guidance or direct comparison to fgui_remove_transition or fgui_update_transition_item. Usage is implied rather than stated.

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