Skip to main content
Glama
Wilson520403

fgui-agent-bridge

by Wilson520403

fgui_set_gear_display

Sets a FairyGUI object's gearDisplay linkage by assigning a controller and visible page IDs, or clears it when no controller is given. Omit pages to keep existing visibility.

Instructions

设置对象的 gearDisplay 联动(0.8.8+):指定控制器与可见页面。

controller=None 或空字符串清除联动;pages 为页面 id 或名称列表(也接受 "0,1" 逗号串), 省略 pages 保持现有页面不变。

external_reload=True 需 save=True,关闭重开文档后重新比对;strength 标明验证强度。

Input Schema

NameRequiredDescriptionDefault
saveNo
pagesNo
verifyNo
object_idNo
controllerYes
object_nameNo
object_pathNo
external_reloadNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.6

TDQS

A3.6/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 behavioral burden and does disclose meaningful non-obvious traits: the clear-on-None semantics, partial-update behavior for pages, and the external_reload=True => requires save=True condition with a re-comparison after reopen. It stops short of describing auth/permission needs or what mutation failure 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?

Short and front-loaded: the primary action and scope come first, followed by compact per-parameter notes. Every line carries information, though the dangling 'strength' reference adds minor noise.

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?

An output schema exists, so return values need not be described. But for an 8-parameter mutation tool with zero annotation and zero schema-description coverage, the definition leaves the object-targeting parameters and save semantics under-specified, which an agent needs in order to call it correctly.

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 coverage is 0%, so the description must compensate. It well documents controller, pages (id/name list plus the '0,1' comma-string form), and external_reload, and touches save indirectly, but the three object-identification parameters (object_id, object_name, object_path) go entirely unexplained. It also references a 'strength' parameter that does not exist in the schema, which is mildly confusing.

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: setting the gearDisplay linkage on an object, with the fields involved (controller + visible pages) and a version note (0.8.8+). An agent can tell what the tool changes. It does not explicitly differentiate itself from nearby siblings like fgui_set_controller or fgui_set_property, so it stops short of 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?

Gives real usage conditions for the core parameters ('controller=None/empty clears the linkage', 'omitting pages keeps existing pages'), which is useful operational guidance. However, it offers no when-to-use framing versus alternatives (set_controller, set_property, set_relation) despite a crowded sibling set, leaving selection to inference.

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