Skip to main content
Glama

computer_get_desktop_environment

Get the current desktop environment details on a Mac, returning system information for AI-driven automation and control.

Instructions

Get information about the current desktop environment.

Returns: Dictionary with desktop environment details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses that the tool 'Returns Dictionary with desktop environment details,' which is useful for a read-only getter. However, it does not describe error behavior, possible null/empty return, or exactly what the dictionary contains, though an output schema exists to help.

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?

The description is two short sentences with the core purpose front-loaded and no filler. The return note is concise and earns its place by clarifying the expected output shape.

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 no-parameter read-only getter with an output schema present, the description is mostly sufficient. It does not need to explain return values in detail because the output schema exists, but the phrase 'desktop environment details' is slightly vague and leaves the exact contents to inference.

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 has zero parameters, and the input schema has no properties, so schema coverage is complete. The description correctly adds no parameter details because none are needed. This meets the baseline for a parameterless tool.

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?

The description states a clear verb+resource: 'Get information about the current desktop environment' and notes the return type. However, it does not differentiate this from the similar sibling 'computer_get_desktop_state', leaving some ambiguity about which tool reports the environment versus the state.

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?

The description gives no guidance on when to use this tool rather than a sibling such as computer_get_desktop_state, computer_get_screen_size, or computer_get_active_window. It only restates the purpose, so an agent receives no context for tool selection.

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