Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Desktop computer use through the macOS accessibility tree. Every model turn re-reads the whole conversation, so make as few calls as you can.

  • Start with one desktop_snapshot; pass goal = words shown on screen for what you need. Refs are @:eN from the header.

  • Most actions return the window's diff. Trust it: do not snapshot, find or get the same screen again to confirm. If it is missing, snapshot with diff=true (changes only).

  • Use find only for a ref you have not seen (a menu command: find surface=menubar name=…). Do not get a property that the tree already shows.

  • Retry only when error.disposition.retry is safe.

  • Actions are headless; pass headed=true when a background app ignores semantic input (a search field, a list that will not open, typing into Office): type and press then send real keys and bring that window forward. Words go in with type or set_value; press is for single keys and shortcuts.

  • Some apps keep their content out of the tree: Excel's cell grid, PowerPoint's slide canvas, canvases and images. Do not search the tree for it; go straight to keys and at most one screenshot (Excel: headed type a cell address into the Name Box + return, then headed type the value). Other apps: use the tree.

  • Word builds its body text only after it has been frontmost once: focus_window, then snapshot (allow a few seconds).

  • Open/Save panels: press cmd+shift+g, type the full path, press return — once, instead of browsing folders. Full guide: desktop_skills_get name=cuop (macOS details: cuop-macos).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
desktop_snapshotB

Read a window as text: one line per element eN role "name" ="value" [states]; refs are @:eN from the header. goal = words on screen to keep only related elements; root = a ref to drill into; surface = menubar | menu | menu-bar-extras | sheet | popover | alert; diff = only changes since your last view. interactive_only hides read-only text such as a result display. For a menu command use find(surface=menubar, name=…) and click it. ^(…) marks superscript text (2^(10) = 2¹⁰).

desktop_findC

Find elements by role / name / text in an app (also closed menus with surface=menubar); returns refs.

desktop_getC

Read one property of a ref (value, bounds, states, …).

desktop_clickB

Click (press) a ref. Menu items run even in closed menus. Each action returns a diff of the window ((no change) = its accessibility tree did not change); take refs from the newest header — a control whose label changed (AC → C) can need its new ref. Wait for one click's result before the next dependent click.

desktop_double_clickC

Double-click a ref (needs headed).

desktop_right_clickC

Open a ref's context menu.

desktop_clearC

Empty a field.

desktop_focusC

Give a ref keyboard focus (e.g. a document area before pressing keys).

desktop_toggleC

Flip a checkbox / switch.

desktop_checkC

Turn a checkbox / switch / radio on.

desktop_uncheckC

Turn a checkbox / switch off.

desktop_expandC

Expand a disclosure / tree row.

desktop_collapseC

Collapse a disclosure / tree row.

desktop_typeC

Insert text at the caret of a ref (headless: accessibility insert; headed: real key presses).

desktop_set_valueC

Replace a field's whole value.

desktop_selectC

Choose an option by its label in a popup, combo box or list.

desktop_scrollC

Scroll a ref's scroll area (direction up|down|left|right, amount).

desktop_pressC

Send a key or shortcut (e.g. return, cmd+s) to app / window_id.

desktop_mouse_clickC

Click screen point xy=X,Y (points; headed). From a screenshot: origin + pixel / scale_factor.

desktop_waitC

Wait for ms, an element (role:text), a window, text, a menu or an event.

desktop_launchB

Open an app that is not running (background unless activate); a running app needs no launch.

desktop_focus_windowC

Bring a window to the front.

desktop_screenshotC

Capture one window as an image (for canvases and visual questions).

desktop_list_windowsC

List an app's windows (ids w-N for window_id).

desktop_skills_getC

Read the full usage guide (name=cuop or cuop-macos).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.8/5.0

Scored across 25 tools

Disambiguation4/5

Most tools target clearly distinct actions (type vs. set_value vs. clear, press vs. type, snapshot vs. find vs. get). A few pairs need the descriptions to separate them: desktop_click vs. desktop_mouse_click (ref vs. screen point), desktop_focus vs. desktop_focus_window (element focus vs. window raise), and the check/uncheck/toggle trio. The descriptions do resolve these, so boundaries remain workable.

Naming Consistency4/5

All tools share a uniform snake_case `desktop_` prefix with verb or verb_noun forms, which is highly predictable. Minor deviations like desktop_mouse_click (extra noun) and noun-less names such as desktop_screenshot and desktop_snapshot slightly break the pattern but stay readable.

Tool Count3/5

25 tools sits at the heavy end for a desktop-automation surface, and several are near-redundant: check/uncheck/toggle cover the same control states, and double_click/right_click are variants of click. The breadth is justified by the domain, but some consolidation would tighten the set.

Completeness4/5

Coverage is strong: snapshots, find, per-ref actions, keyboard/mouse input, window management, screenshots, waiting, and a usage guide cover the core automation lifecycle. Gaps remain for drag-and-drop, clipboard read/write, and window move/resize, which agents may need in real workflows.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues