Skip to main content
Glama

desktop_check

Turn on a checkbox, switch, or radio control in macOS apps by reference, so agents can change UI state through the accessibility tree.

Instructions

Turn a checkbox / switch / radio on.

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": {
      "ref_id": "<ref_id>"
    },
    "name": "desktop_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
headedNo
ref_idYes
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses nothing about idempotency (what happens if the control is already on), failure modes for a stale or wrong ref_id, timeout behavior, or what is returned. It conveys only the bare mutation, leaving an agent unable to predict the outcome of the call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short, front-loaded sentence with no wasted words, which is structurally clean. The brevity is under-specification rather than genuine economy, so it earns a middling score rather than a high one.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with no annotations, no output schema, and zero schema description coverage, the definition is far too thin. An agent would not know how to obtain a valid ref_id (presumably from desktop_snapshot or desktop_find) or how to interpret the optional parameters.

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% across three parameters, so the description must compensate and does not. It hints that ref_id identifies the checkbox, but the format of ref_id, the meaning of the headed flag, and the effect of timeout_ms are all undocumented, leaving two of three parameters entirely opaque.

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 concrete action with the target resource types spelled out: 'Turn a checkbox / switch / radio on.' An agent can tell this is a state-setting action on a UI control, and the wording implicitly contrasts with the sibling desktop_uncheck. It does not, however, distinguish itself from desktop_toggle or desktop_set_value, which could plausibly achieve the same end 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?

There is no explicit when-to-use statement, no prerequisites, and no mention of alternatives. The agent must infer that this is the right call when a checkbox is currently off, and must guess whether desktop_toggle or desktop_set_value would be equivalent or preferable.

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