Skip to main content
Glama

desktop_get_desktop_state

Capture a full screenshot of the primary desktop as an image for visual inspection, with an optional maximum image dimension to control output size.

Instructions

Capture the full primary desktop screenshot (vision-only, no UIA tree).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "desktop_get_desktop_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_image_dimensionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the scope ('full primary desktop', i.e. not a single window) and the output nature ('vision-only, no UIA tree'), but says nothing about multi-monitor behavior, screen-recording permission requirements, or capture latency/side effects.

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?

A single front-loaded sentence with no filler. Every clause (full primary desktop / vision-only / no UIA tree) carries distinct information.

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?

For a low-complexity, zero-required-parameter tool with no output schema, the core capability is conveyed. Gaps remain around the sole parameter's behavior and what the returned image looks like at different dimensions, which an agent needs to call it well.

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 never mentions max_image_dimension, so the parameter's meaning, unit basis, and effect on the returned image are left entirely to the bare schema name. With one non-trivial parameter, the description should have compensated and does not.

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 gives a specific verb and resource: 'capture the full primary desktop screenshot'. The qualifier 'vision-only, no UIA tree' implicitly separates it from the window-level sibling (desktop_get_window_state) and from UIA-based inspection, though no sibling is named outright.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use statement, but 'full primary desktop ... no UIA tree' implies the selection criterion: reach for this when you need a whole-screen visual rather than structured accessibility data. The agent must infer that tradeoff rather than being told it.

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