Skip to main content
Glama

list_workspaces

Read-onlyIdempotent

Retrieve Hyprland workspaces, including special workspaces by default, to inspect available desktops before controlling windows.

Instructions

List Hyprland workspaces; special workspaces are included by default and explicitly identified by Hyprland.

Input Schema

NameRequiredDescriptionDefault
include_specialNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is fully covered. The description adds a genuine behavioral detail — special workspaces are included by default and are explicitly tagged — which is useful and not derivable from the annotations.

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?

A single tight sentence with the resource front-loaded and no filler. It is efficient, though the trailing clause about Hyprland's identification is slightly vague.

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 trivial read-only listing tool with no output schema and full annotation coverage, a single sentence plus the special-workspace note is close to sufficient. The only minor gap is that the shape of returned items (names, IDs) is not hinted at beyond the special-workspace marker.

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 description coverage is 0%, so the description must compensate for the lone include_special parameter. It partially does: "special workspaces are included by default" explains the default value and observable effect, but it never names the parameter or states what setting it to false does.

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 and resource: "List Hyprland workspaces." The Hyprland-workspace scope distinguishes it from siblings like list_windows or manage_workspace, though the description never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus manage_workspace (for switching/creating) or the other list_* tools. The only conditional information is the default behavior of special workspaces, which is about output rather than usage.

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