Skip to main content
Glama
w48930429

FairyGUI Agent Bridge

by w48930429

fgui_import_sound

Import sound files from a local path into a FairyGUI package, supporting replacement of existing sounds to resolve naming conflicts.

Instructions

从绝对本地路径导入声音资源;支持替换同名声音,属于磁盘写入。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exportedNo
folder_pathNo
source_pathYes
package_nameYes
resource_nameNo
create_foldersNo
conflict_policyNoerror
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.3

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly states that this operation is a disk write ('属于磁盘写入') and that it supports replacing same-name sounds, which are important side-effect and mutation cues. However, it does not detail reversibility, permission needs, or the exact overwrite behavior across conflict policies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: it states the action and resource first, then adds behavioral notes about replacement and disk writing. Every clause contributes information without redundancy or filler.

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?

Given 8 parameters, 0% schema description coverage, and no annotations, this one-line description is insufficient for reliable invocation. It omits how required and optional parameters interact, what the conflict policy semantics are, and what happens to existing resources. The output schema may cover return values, but the input side remains under-specified.

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%, and the description only implicitly clarifies 'source_path' as an absolute local path and hints at name-replacement behavior. It does not explain key parameters such as package_name, folder_path, resource_name, exported, create_folders, conflict_policy, or timeout_seconds, leaving most of the 8-parameter surface undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action and resource: importing a sound resource from an absolute local path. It also differentiates from sibling import tools like fgui_import_image and fgui_import_font by specifying 'sound'. The additional mention of replacing same-name sounds gives further functional clarity.

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

Usage Guidelines4/5

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

The description gives clear context: use this tool to import a sound resource from a local absolute path. It does not explicitly exclude alternatives or name sibling tools, but the resource type and import semantics make the intended use reasonably unambiguous.

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