Skip to main content
Glama
0aaryan

hypr-tools

by 0aaryan

get_active_workspace

Read-only

Retrieves details about the currently active Hyprland workspace, helping you identify which workspace is in focus before managing windows or switching contexts.

Instructions

Get information about the currently active workspace

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The word 'active' adds the useful scoping concept (the workspace currently in focus, not the full set), but nothing is said about what information is returned or whether 'active' here means focused-on-this-monitor.

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?

One short sentence, front-loaded with the verb and the key scoping adjective 'active'. It wastes no words, though it is on the terse side given no other guidance is present.

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?

With no output schema, the agent cannot tell what 'information' is returned (id, name, monitor, window count). Given the many workspace-related siblings, the description should at least hint at the payload or contrast with list_workspaces.

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?

The tool takes zero parameters, so the baseline of 4 applies; there is nothing for the description to disambiguate and it correctly avoids inventing inputs.

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 ('Get information') and resource ('the currently active workspace'), which distinguishes it from the sibling list_workspaces by scoping to the single active workspace. It never explicitly names that sibling, so differentiation is implied rather than stated.

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 call this versus list_workspaces or get_focused_window; the agent must infer that this returns only the active workspace while list_workspaces returns all. No preconditions or exclusions are mentioned.

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

Deploy Server

Other Tools