Skip to main content
Glama

move_element

Move an element and its descendants to a different parent or position within the same mind map, enabling hierarchy changes and same-level reordering.

Instructions

既存マップの要素1件(配下ごと)を、同じマップ内の別の場所へ移動する。階層をまたいだ移動(昇格・降格)も、同じ階層内の並べ替えも、これ1つで行える。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mapIdYeslist_mapsで得たマップのID
elementIdYes移動する要素のID
afterElementIdYes移動先の中で、このIDの要素の直後に置く。先頭に置く場合はnull
newParentElementIdYes移動先の親要素のID。マップの最上位へ移動する場合はnull

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose two important behaviors beyond the schema: the moved element's descendants travel with it, and moves are confined to the same map. It says nothing about permissions, what happens to the subtree's internal ordering, or failure conditions for invalid parent/after IDs, leaving meaningful gaps.

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 tight sentences with the core action front-loaded and zero filler. The second sentence adds genuine value by enumerating the two supported move types. Slightly more could be trimmed or reordered, but it is efficient and well-structured.

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 hierarchy-mutating tool with no annotations and no output schema, the description covers the essential semantics (subtree moves, same-map restriction, both move kinds) but omits error behavior, idempotency, and any post-move effect. The schema handles parameter detail, so this is adequate but not fully complete.

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 100%, so all four parameters (mapId, elementId, newParentElementId, afterElementId) are already documented in the schema, including the null-for-top-level and null-for-first-position semantics. The description adds no parameter-level detail beyond that, so the baseline 3 is appropriate.

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 (move) and resource (one element) with clear scope: within the same map, and the moved element carries its subtree with it. It also clarifies that both cross-hierarchy moves (promote/demote) and same-level reordering are covered, which meaningfully separates it from edit_element and delete_elements. It stops short of naming a sibling explicitly, so it lands at a strong 4 rather than 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?

The phrase 「これ1つで行える」 implicitly tells the agent this single tool covers both reordering and hierarchy changes, which is useful context for tool selection. However, there is no explicit when-to-use vs when-not, no named alternative, and no stated prerequisite (e.g., that IDs must come from list_elements). Usage is implied rather than directed.

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