Skip to main content
Glama
omarchy-desktop

omarchy-desktop

by martoast

Move a window to a workspace

move_window_to_workspace

Moves a specified window to a target workspace, focuses it, and switches the active view to follow, isolating automated browser activity from windows used by the user.

Instructions

Focuses the given window, moves it to the target workspace, and switches the active view to follow it. Used to isolate the automation's browser on its own workspace (away from windows the user is actively using — a shared workspace means the user's real mouse/keyboard and this tool's synthetic input can land on the same window), and to move it back afterward.

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": {
      "address": "<address>",
      "workspace": "<workspace>"
    },
    "name": "move_window_to_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes
workspaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 three side effects (window focus change, workspace relocation, active view switch) and the rationale about input collision with the user's real mouse/keyboard. It omits failure behavior — e.g. what happens if the workspace name/index doesn't exist — and whether the move can be undone.

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?

Three sentences, front-loaded with the action before the justification, and the parenthetical rationale is dense with useful information rather than filler. Slightly verbose but every clause contributes.

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 two-parameter, no-annotation, no-output-schema mutation tool the behavioral picture is solid, and return values need not be explained. The remaining hole is parameter format guidance, which no other structured field supplies.

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

Parameters2/5

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

Schema description coverage is 0% and the description adds no parameter detail: 'the given window' does not explain what 'address' is (window id? handle format?), and 'target workspace' does not clarify that 'workspace' accepts either a name or a numeric index. Both required parameters remain ambiguous.

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 precise compound action — focus the given window, move it to the target workspace, switch the active view to follow it — which clearly separates it from pure-focus or pure-listing siblings such as focus_window, list_windows, and get_active_workspace.

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?

It gives a concrete when-to-use scenario (isolate the automation's browser on its own workspace to avoid synthetic input landing on the user's active window) and the counterpart case of moving it back afterward. It stops short of naming alternative tools or stating when the tool should not be used.

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