Skip to main content
Glama

move

Reparent or reorder a UI node by setting its parent and optional zero-based index; omit the index to append and restructure screen layouts.

Instructions

Reparent or reorder a node; index is zero-based and defaults to append. Example: {"screen":"checkout","id":"pay_btn","parent":"form","index":2}.

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": {
      "screen": "<screen>",
      "id": "<id>",
      "parent": "<parent>"
    },
    "name": "move"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesLowercase identifier matching [a-z][a-z0-9_]{0,31}
indexNo
parentYesLowercase identifier matching [a-z][a-z0-9_]{0,31}
screenYesLowercase identifier matching [a-z][a-z0-9_]{0,31}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that index is zero-based and defaults to append, but it omits permissions, failure modes (invalid parent, cycles), and whether descendants move with the node.

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?

Two tight sentences plus one illustrative example, front-loaded with the action and a key default. Every element earns its place with no filler.

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?

For a mutation tool with no annotations or output schema, the definition is minimal but covers the core move and index semantics. It leaves out important context such as authorization requirements, error conditions, and subtree behavior, so an agent lacks full situational awareness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, with index undocumented in the schema; the description fills that gap by explaining zero-based indexing and the append default. The inline example also clarifies how screen, id, parent, and index map to the operation, adding meaning beyond the pattern-only schema descriptions.

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 uses a specific verb pair ('Reparent or reorder') and a clear resource ('a node'), making the core action unambiguous. It distinguishes itself implicitly from siblings like add/remove, though it does not explicitly name alternatives.

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?

The purpose implies when to use it, but there is no explicit guidance such as 'use this instead of update when changing parent or position' or any stated preconditions. The example helps illustrate invocation but does not function as usage guidance.

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