Skip to main content
Glama

Open Mac desktop

open_mac_desktop
Read-onlyIdempotent

Returns a link to the Mac's full desktop in the human's browser, with mouse and keyboard, for seeing or clicking something on it (Xcode, the Simulator, a sign-in window). They sign in to nomac.app to open it; it disconnects after 15 minutes without input. Works on a ready Mac. Read-only.

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": "open_mac_desktop"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idNoMac session ID (ses_…). Optional: without it, the account's running Mac.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / session_id / description
      Previous value: -"Mac session ID (ses_…) returned by start_mac or list_mac_sessions."New value: +"Mac session ID (ses_…). Optional: without it, the account's running Mac."
    • removedInput schema / required
      Removed value: -[
      -  "session_id"
      -]
  2. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "description": "The JSON response of the NoMac API for this operation",
      -  "properties": {
      -    "error": {
      -      "additionalProperties": {},
      -      "description": "Present only when the call failed",
      -      "properties": {
      -        "code": {
      -          "description": "Stable machine-readable error code, for example insufficient_credit",
      -          "type": "string"
      -        },
      -        "message": {
      -          "description": "What went wrong and what to do next",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "message"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the auth requirement (the human signs in to nomac.app), the 15-minute idle disconnect, and the readiness precondition. Its 'Read-only' claim is consistent with readOnlyHint=true and destructiveHint=false, and the human-handoff model is behaviorally important context an agent could not infer from the schema.

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?

Front-loads what the tool returns and who opens it, then appends prerequisite and lifetime constraints. Every clause carries information; the trailing 'Read-only' is mildly redundant with the annotations but serves as a useful one-word summary.

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 one-optional-parameter tool with no output schema, it covers return value, auth flow, session lifetime, and readiness. It stops short of explaining link expiry/resume behavior or how the agent should coordinate afterwards (e.g. using mac_input or get_mac_session), a minor gap.

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 100%, and the schema itself documents session_id including the fallback ('without it, the account's running Mac'). The description adds only the vague 'Works on a ready Mac' and no session-selection semantics beyond that, so this is the standard baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ('Returns a link to the Mac's full desktop in the human's browser, with mouse and keyboard') and enumerates concrete use cases (Xcode, the Simulator, a sign-in window). This clearly separates it from agent-controlled siblings like mac_input, exec_mac, and screenshot_mac.

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

Usage Guidelines4/5

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

Gives a clear trigger ('for seeing or clicking something on it') and a prerequisite state ('Works on a ready Mac'), which implies start_mac/get_mac_checkout must come first. It does not explicitly name the alternative tools (e.g. mac_input for programmatic control), so the routing is implied rather than spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources