Skip to main content
Glama
fgui-agent-bridge

fgui-agent-bridge

by Wilson520403

fgui_adjust_depth

Move unlocked, ungrouped objects under a root component to an absolute depth index (0 is bottom), returning before-and-after order and optionally saving or verifying persistence.

Instructions

将一个根组件下未锁定、未分组对象移到绝对层级 index(0.8.24+)。

index 从 0 开始,0 是最底层;不能越界或落入分组块。 返回完整前后顺序,不进 Agent 撤销栈;save 保存整个当前文档。 external_reload 需 save=True,关闭重开验证持久化顺序。

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": {
      "index": "<index>"
    },
    "name": "fgui_adjust_depth"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
indexYes
verifyNo
object_idNo
object_nameNo
object_pathNo
external_reloadNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.25

TDQS

A3.8/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 substantial work: it discloses that the operation returns the complete before/after order, that it does NOT enter the Agent undo stack (a non-obvious and consequential trait), that save writes the entire current document rather than just this object, and that external_reload requires save=True. It stops short of stating permission requirements or failure modes beyond the bounds/group-block constraint.

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?

Four compact lines, front-loaded with the action and target, then constraints, then side effects. Dense but every clause carries information; the only cost is heavy jargon compression ('不进 Agent 撤销栈') that may read as terse to an unfamiliar agent.

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 spelled out, and the description wisely still notes the before/after ordering. The remaining hole is target resolution across three identifier parameters, which for a 7-parameter mutation tool is a meaningful gap that neither structured field fills.

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%, so the description must compensate, and it does for index (0-based, 0 = bottom-most), save (whole-document save), external_reload (requires save=True), and implicitly verify (reopen to confirm persistence). However, the three target selectors object_id, object_name, and object_path are never mentioned, leaving the most important question — how the target object is identified and whether the three are mutually exclusive — 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?

The description names a specific verb and resource ('move an unlocked, ungrouped object under a root component to absolute depth index'), which is far more precise than the tool name alone. It does not explicitly contrast itself with siblings such as fgui_insert_object or fgui_create_group, so an agent must infer the boundary from the 'ungrouped object' qualifier.

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?

Applicability is clearly bounded: the object must be unlocked and ungrouped, the index cannot go out of bounds, and it cannot land inside a group block. What is missing is routing guidance — nothing says when to reach for this instead of fgui_insert_object or a relation/group tool.

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

Deploy Server

Other Tools