Skip to main content
Glama

group_nodes

Destructive

Group multiple nodes into a new group node, ensuring all nodes share the same parent.

Instructions

Group two or more nodes into a GROUP. All nodes must share the same parent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional name for the new group
nodeIdsYesNode IDs to group (minimum 2), in colon format e.g. ['4029:12345', '4029:12346']
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the safety profile is clear. The description adds the grouping action but does not detail what happens to the original nodes (e.g., are they removed or kept). Minimal added value beyond annotations.

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 sentences with no redundancy. First sentence states the action and resource, second adds a crucial constraint. Front-loaded and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple grouping tool, the description covers the core action and constraint. Missing details about the group node's properties (e.g., position) but no output schema needed. Annotations and sibling tools provide additional context. Adequate for an AI agent.

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 100% and both parameters have descriptions. The description adds valuable details for nodeIds: minimum of 2 and colon format requirement, which is not in the schema. This compensates for the lack of name parameter elaboration.

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 the action (group nodes) and the resource (nodes into a GROUP) with a specific constraint (same parent). It distinguishes from sibling tools like ungroup_nodes.

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 description provides a key constraint (nodes must share the same parent) but does not explicitly state when to use this tool vs alternatives like ungroup_nodes or clone_node. Usage context is implied but not fully explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vkhanhqui/figma-mcp-go'

If you have feedback or need assistance with the MCP directory API, please join our Discord server