Skip to main content
Glama

Act on a workspace group

cmux_group_action

Manage workspace groups by applying actions such as rename, collapse, expand, pin, move, set color or icon, ungroup, or delete to organize and control member workspaces.

Instructions

Run an action on a group: rename (needs name), collapse, expand, pin, unpin, focus (focuses its anchor), set-color (hex; omit to clear), set-icon (symbol; omit to clear), move (toIndex/before/after), ungroup (dissolve, keep workspaces), delete (CLOSES every member workspace — needs confirm=true; prefer ungroup).

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": {
      "action": "<action>",
      "group": "<group>"
    },
    "name": "cmux_group_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
hexNo"#RRGGBB" (set-color); omit to clear the color.
nameNoNew name (rename).
afterNoMove after this group ref (move).
groupYesGroup ref like "workspace_group:3" (or its UUID).
actionYes
beforeNoMove before this group ref (move).
symbolNoSF Symbol name like "star.fill" (set-icon); omit to clear.
confirmNoRequired true for delete.
toIndexNoTarget position (move).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.13

TDQS

A4.3/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 well: it discloses that delete 'CLOSES every member workspace' and requires confirm=true, while ungroup dissolves the group but keeps workspaces. It also notes that set-color and set-icon clear when their value is omitted. It does not cover permissions, reversibility of all actions, or return behavior, but the destructive-action warnings are explicit and useful.

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?

The definition is a single, front-loaded sentence that begins with the core purpose and then lists actions with their key requirements. It is dense but every clause carries actionable information, with no filler. The semicolon-separated structure is readable, though the length is near the upper limit for a one-sentence description.

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 9-parameter, multi-action tool with no annotations and no output schema, the description covers the action set, required parameters per action, and destructive consequences. It omits auth requirements and return-value details, but the action-parameter mapping and delete/ungroup warning make it largely complete for correct invocation.

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 89%, so the schema already documents most parameters individually. The description adds value by mapping parameters to actions: rename needs name, set-color takes hex (omit to clear), set-icon takes symbol (omit to clear), move uses toIndex/before/after, and delete needs confirm=true. This action-to-parameter mapping goes beyond the raw schema descriptions.

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 states a specific verb and resource: 'Run an action on a group,' then enumerates every action (rename, collapse, expand, pin, unpin, focus, set-color, set-icon, move, ungroup, delete). This makes it immediately distinguishable from siblings like cmux_group_members or cmux_new_group, which handle membership or creation rather than group-level mutation.

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 per-action guidance, including 'delete ... needs confirm=true; prefer ungroup' and 'ungroup (dissolve, keep workspaces),' which tells the agent when to choose ungroup over delete. It does not explicitly state when to use this tool versus reading membership or creating a group, but the action list and preference note provide strong contextual direction.

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