Skip to main content
Glama
omarchy-desktop

omarchy-desktop

by martoast

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTOMATION_BACKENDNoSet to `headless` to drive an isolated nested sway compositor with its own Chromium profile instead of your desktop, so several instances can run side by side without touching your session.
COMPUTER_USE_PLUGINSNoList of plugin module paths (wins over `~/.config/omarchy-computer-use/plugins.json`, even when empty).
COMPUTER_USE_SITEMAP_DIRNoOverrides the directory where site memory is saved. Defaults to `~/.local/share/omarchy-computer-use/sites`.

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
screenshotA

Capture the real screen (or a region, or a specific window's bounds) via the Wayland compositor (grim). Returns a PNG image. EXPENSIVE: costs image tokens and a vision pass. For interactive elements (buttons, links, form fields) use read_page/click_element/type_into_element instead — they're exact and far cheaper. Reach for screenshot only for things the accessibility tree can't describe: canvas/WebGL content, images you need to actually look at, CAPTCHAs, or visually verifying a final result. IMPORTANT: when a region/window crop is used, the returned image's pixel (0,0) is NOT screen (0,0) — it's the region's top-left corner. The accompanying text tells you that offset; you MUST add it to any pixel position you read off the image before passing coordinates to click/move_mouse, or you will click the wrong place.

list_windowsA

List all open windows with their address, class, title, pid, geometry, and focus state.

get_active_windowA

Get the currently focused window's class, title, pid, and geometry.

focus_windowB

Focus a window by its Hyprland address (from list_windows).

get_active_workspaceA

Returns the Hyprland workspace ID currently visible. Used to remember where to switch back to after isolating a window on another workspace.

move_window_to_workspaceA

Focuses the given window, moves it to the target workspace, and switches the active view to follow it. Used to isolate the automation's browser on its own workspace (away from windows the user is actively using — a shared workspace means the user's real mouse/keyboard and this tool's synthetic input can land on the same window), and to move it back afterward.

move_mouseA

Move the real mouse cursor to absolute screen coordinates.

clickA

Move to (x, y) and click a real mouse button there via the kernel input layer (uinput), like a physical mouse. Prefer click_element for anything with an accessible name (buttons, links, fields) — it's exact and doesn't require knowing pixel coordinates. Use this raw version for canvas/custom-drawn UI, or coordinates you got from a screenshot.

scrollC

Move to (x, y) and scroll the mouse wheel there.

type_textA

Type literal text via the Wayland virtual keyboard, exactly as a human typing would.

key_pressB

Press a named key (e.g. Return, Tab, Escape, BackSpace, Left, Right, Up, Down, PageDown/Next, Home, End, Delete, minus) optionally with modifiers (shift, ctrl, alt, logo).

escape_pageA

Send ONE Escape to the page document, after the page has loaded: focus in browser UI is first given to the page document (no click). Refused, with nothing pressed, when a field, a list or a choice has focus. Returns {sent, focus_before, focus, reason}. Verify with a read afterwards; this never claims a pop-up closed.

dismiss_dialogA

Close ONE dialog that is covering the page. A consent or promo overlay can hide the entire page from the accessibility tree, so read_page shows almost nothing while the site renders normally. TRY dialog_ref FIRST for cookie, sale and promotional overlays: pass the ref of the DIALOG ITSELF (a row marked DIALOG-ROOT) and it sends ONE Escape, then verifies whether that exact dialog actually closed. Some overlays respond to Escape and some ignore it — the result tells you which, and never assumes. Worth trying first because a consent banner may expose NO close button at all, only Accept/Reject/Preferences. FALL BACK in a SEPARATE CALL to control_ref when Escape is unavailable or fails verification: pass a close/dismiss control INSIDE the dialog and its own action is invoked. If dialog_ref or dialog_text is supplied, the Escape path always wins even when control_ref is also present; this prevents callers from accidentally skipping the safe first attempt. Either way this tool ONLY closes. It refuses any control that makes a substantive choice (Accept, Reject, Preferences, Subscribe and similar), because those decide something on the user's behalf — use click_element if such a choice is genuinely intended. At most one action or one keypress, never a coordinate click, never a change of keyboard focus, and the outcome is verified from a fresh read. If another dialog remains it is reported with its ref rather than closed automatically.

read_pageA

The default way to see what's on screen. Reads the live accessibility tree (same API screen readers use) for the focused window (or a given window_address) and returns every interactive element (buttons, links, fields, checkboxes, etc.) with its exact screen coordinates and a short ref like 'e3'. Costs a few hundred tokens, not an image. Use filter_text/filter_role to narrow a busy page. Follow up with click_element/type_into_element using the ref. Only fall back to screenshot if you need to see something visual (an image, canvas, layout) that has no accessible representation.

get_site_mapA

Return everything learned about a domain from past visits (this session or previous ones): known nav links, known form fields (search box, login, etc.), and any manually-saved search URL pattern / login URL / notes. Call this before exploring a site you've likely visited before — it can save a full read_page round-trip. Defaults to the current page's domain.

save_site_mapA

Manually record durable facts about a domain that aren't safe to auto-detect: a direct search URL pattern (e.g. 'https://example.com/search?q={query}' — use {query} as the placeholder) once you've verified it works, a login URL, or a free-text note (e.g. 'mega-menu needs click not hover', 'no bot-check observed on homepage'). Nav links and form fields are recorded automatically by read_page — you don't need to save those yourself.

list_known_sitesA

List every domain this harness has accumulated knowledge about, with visit counts.

click_elementA

Click an interactive element precisely — either a ref from a previous read_page call, or by matching its accessible name/text directly (no read_page needed first; this does the find-and-click in one call, which is the efficient path for a simple 'click the X button' step). Uses the same kernel-level input as the click tool, just aimed exactly instead of guessed.

press_elementA

Press ONE option opener from a prior read_page — a size/colour dropdown, a 'Select size' button, a tab — through its own accessibility action, so its values can be read next. Read-only and fast: no before/after page snapshot, no pointer, no coordinate fallback. Refuses links (use click_element), and anything that changes the cart, the order or the account. Returns 'Pressed' or 'Not pressed' with the reason; it does not verify what opened — read_page does.

wait_page_settledA

Wait until the page on screen has finished loading: its document is no longer busy and the browser has announced no structural change for quiet_ms. Event-driven (the browser's own accessibility notifications), not a fixed sleep. Returns {settled, reason, ms, ready_ms, events}. Read-only.

page_textA

Write the text of the page document now open (leaf by leaf, in document order) to a local file and return its path. Built for a view-source: page, so a store's embedded product data can be read through this browser session. Read-only: nothing is clicked, typed or navigated.

type_into_elementA

Focus a text field (by ref from read_page, or by matching its accessible name/label) and type into it in one call — finds, clicks, optionally clears, types, and optionally submits. This is the efficient path for 'fill in the search box and search'.

scroll_to_elementA

Scroll the page so an element (found by text/role, or a ref from read_page) is visible, using the accessibility API's own scroll-into-view action rather than simulating wheel/keyboard scrolling. This is the reliable way to reach below-the-fold content — some pages silently ignore simulated wheel/Page_Down events (e.g. pinned image galleries) but this always works. Also useful to bring a nearby landmark into view before using screenshot on content that itself has no accessible representation (e.g. a canvas-based size picker) — scroll to a labeled heading near it, then screenshot.

read_selected_optionB

Return the option a dropdown (combo box) currently reports selected, or the value it displays. Never opens or changes it.

focus_fieldC

Give a form field (by ref) keyboard focus. Returns whether it is focused.

autofill_popup_stateB

Whether the browser's own saved-address dropdown is open. Never returns its text.

check_field_valuesA

For each {name, expect, mode}: whether the visible form field with that name holds the value (match / differs / empty / missing). Never returns field text.

select_optionA

Select an option from a dropdown (combo box). Use this instead of click_element for dropdowns — some dropdowns are native browser popups whose options are ALL reported at the exact same coordinate by the accessibility tree (a known Chromium/AT-SPI limitation for virtualized native selects), which makes clicking by coordinate silently select the WRONG option. This tool detects that case automatically and falls back to type-ahead (typing the option text at a realistic pace) instead of guessing a click position — position-independent, so it doesn't matter what was previously selected. It then reads the dropdown back: the result says [verified: …] when the chosen option reports selected, FAILED when a different one does, and otherwise returns a cropped screenshot to check before trusting the selection.

recover_visual_overlayA

Use only after a screenshot visibly shows an overlay while an unfiltered accessibility read exposes zero page content. Click exactly one screenshot-identified neutral point inside the overlay, press Escape exactly once, then verify that the same document became readable and no accessible dialog remains. This reports restored readability, never an unobservable claim that the visual overlay closed. Do not retry on failure.

read_after_navigationA

After a verified address-bar navigation or clean-link click, poll until the page URL matches the expected destination and meaningful page content is present, then return that accessibility snapshot. A page dialog is returned immediately as an actionable blocker instead of waiting for hidden content. Pass expected_heading whenever known; readiness then requires that page heading, so unrelated nav/footer headings cannot satisfy the wait. This replaces wait_for_element followed by read_page. For a search destination pass accept_product_link true AND search_query set to the exact text you submitted — search_query is the query you typed, never a heading — so this site's durable search-URL pattern can be learned.

list_imagesA

Read-only inventory of the current document's image nodes from the accessibility tree: accessible name (alt), rendered box and the element's own image source URL. No click, scroll or focus. Used by the supervisor to attach a trusted product image; the rows carry i-handles that cannot be clicked.

wait_for_elementA

Poll the accessibility tree until an element matching text/role appears (or the timeout elapses). Use this instead of blind sleeps when waiting on page loads, AJAX content, or animations to settle. Getting the role wrong here is expensive — it polls the FULL timeout for a role that can never match. If unsure of the exact role, omit role and match on text alone.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 32 tools

Disambiguation3/5

Many tools have clear documented roles, but the set contains several near-neighbor pairs: read_page vs read_after_navigation, wait_page_settled vs wait_for_element, click_element vs click vs press_element, and escape_page vs dismiss_dialog vs key_press vs recover_visual_overlay. The descriptions do a good job steering between them, but the overlap is substantial enough that an agent must read carefully before choosing.

Naming Consistency4/5

Most names follow a snake_case verb_noun pattern such as read_page, click_element, list_windows, and move_window_to_workspace. A few exceptions like page_text, key_press, autofill_popup_state, and bare click/scroll/screenshot keep it from being fully uniform, but the convention is still largely predictable.

Tool Count2/5

Thirty-two tools is heavy for a single server, even one covering browser and desktop automation. Several are specialized fallback or verification tools, which increases surface area and selection cost; the domain is broad, but the set is well above the typical 3-15 well-scoped range.

Completeness3/5

The surface covers browser reading, clicking, typing, waiting, dialogs, site memory, screenshots, windows, workspaces, and raw input well. However, common desktop/browser operations like explicit navigation, hover, drag-and-drop, tab management, window close/minimize, and direct workspace switching are missing or only indirectly workable.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues