duplex
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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.
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_tabsA | List all open browser tabs (id, url, title, loading, active). The human sees the same tabs. |
| new_tabB | Open a new tab in the browser, optionally navigating to a URL. The new tab becomes the visible tab unless the user is actively using the current page. |
| close_tabB | Close a tab by its id. |
| switch_tabB | Bring a tab to the foreground so the human sees it. |
| resume_tabA | Clear a stale tab lock ([LOCKED]) or a human-takeover pause ([PAUSED]) so AI work can continue on that tab. Use after those errors; it does not touch the page. |
| navigateB | Navigate a tab (default: active tab) to a URL. |
| historyC | Go back, go forward, or reload in a tab. |
| snapshotA | Text snapshot of the page: compact DOM outline with [eN] refs for actionable/labeled elements. Use the refs with click/type. In multi-agent sessions refs are namespaced as [a:eN] — pass them back exactly as shown. Refs are invalidated when their element changes; snapshot again after page changes. This is the primary way to "see" the page. |
| get_htmlB | Get HTML source. Without selector: cleaned body HTML. With selector: outerHTML of the first match. |
| queryB | Query elements by CSS selector; returns details for each match (tag, id, classes, text, href, rect, visibility). |
| screenshotB | Take a PNG screenshot of the current tab. Returns an image (for vision-capable models). |
| clickB | Click an element, identified by a [ref] from snapshot (e.g. "e12", or "a:e12" in multi-agent sessions) or a CSS selector. |
| typeB | Type text into an input/textarea/contenteditable, by ref or CSS selector. Optionally press Enter after. |
| pressC | Press a key or combo (Enter, Escape, Tab, PageDown, Control+A, Shift+Tab, ...) in the page. |
| scrollA | Scroll the page by dx/dy pixels (positive dy = down, positive dx = right), or scroll an element into view when selector is given. |
| hoverB | Move the mouse over an element (ref or CSS selector) to trigger hover menus/tooltips; the pointer stays there. |
| dblclickC | Double-click an element by ref or CSS selector. |
| dragB | Drag from one point/element to another (refs or CSS selectors) using real mouse events. |
| select_optionA | Select an option in a native element by visible text or value. For custom dropdowns, click the trigger then click the option. |
| uploadB | Set files on an element (absolute local file paths). |
| waitA | Wait without spending model rounds. Use selector+hasValue to block until another agent fills a field, selector to wait for an element, text to wait for page text, or ms to sleep. Prefer this over repeatedly reading the page while waiting for someone else. |
| get_consoleB | Read recent console messages of a tab (errors/warnings/logs) collected since load. |
| searchB | Search the web in a tab (default engine: baidu). Use for looking up information; use navigate for known URLs. |
| annotation_modeA | Turn the human annotation mode on/off on a tab. When on, the human can draw a box/circle/arrow (or pick an element) and attach a question; the annotation is delivered to you as a structured text message. |
| evaluateA | Run JavaScript in the page and return the JSON-serializable result. Both a bare expression ("document.title") and statements using "return x" are accepted. Powerful; prefer snapshot/query when possible. |
| design_openA | Open (or create) a design project in the in-app design canvas and return its outline summary. The canvas is a page you own: every node has a stable id which is also written to data-did, so you can address elements precisely across turns. |
| design_readA | Read the design document outline: node ids, types, text, locked flags and the design frame. Use ids from here for design_patch; never invent ids. |
| design_patchA | Apply design patches (insert / replace / remove / update / move / token). This is the only way to modify the canvas. Nodes locked by the user reject your operations; if a patch is rejected, explain the conflict instead of retrying blindly. |
| design_variantsB | Offer 2–3 alternative options for one block and let the designer pick side by side in the canvas. Each option is a full replacement node for that block; the chosen one is applied, the others stay available in the document. |
| design_commitB | Commit the current design round to its git history (one commit per round) and return the commit hash. Summarize what changed in one line so the designer can find it later. |
| design_exportA | Export the current design as a zip (git archive of the latest committed round) and return the absolute path. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 31 tools
Most tools have a clear, distinct action+target (navigate, click, type, scroll, history), and the design_* cluster is cleanly separated from browser control. The only real ambiguity is among page-inspection tools (snapshot vs query vs get_html vs evaluate vs get_console), which descriptions do mitigate by ranking snapshot as primary, and tab-lifecycle tools (new_tab/switch_tab/resume_tab) that an agent could occasionally confuse.
The design_* prefix group is highly consistent (design_open, design_patch, design_commit, design_export), as are the *_tab and get_* tools. But the browser side mixes bare single verbs (click, type, scroll, hover, press, wait, search, evaluate) with verb_noun names, so no single convention spans the set.
31 tools exceeds a comfortable surface and reflects two loosely related domains—browser automation and an in-app design canvas—bundled into one server. Splitting the 6 design_* tools into their own server would leave a well-scoped ~25-tool browser set.
Browser coverage is strong: navigation, all pointer/keyboard input, scrolling, uploads, JS eval, snapshots/HTML/queries/screenshots, console, tabs, history, search, waiting, and lock recovery. The design side covers read/patch/variants/commit/export but has no project listing or deletion/revert operations, leaving a few lifecycle gaps.