Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EZTOGO_ROOTNo叠加层脚本的搜索根包根
EGO_BROWSER_EXENoego-browser 可执行文件路径自动探测
EZTOGO_EGO_SPACENoego TaskSpace 名eztogo
EZTOGO_POWERSHELLNoPowerShell 的绝对路径,PATH 里找不到时用powershell.exe
EZTOGO_UIA_BRIDGENo自建/替换桌面桥(调试用)包内 desktop/desktop-uia.ps1
HYBRID_ACI_CU_OVERLAYNo`0` = 不画任何叠加层开
HYBRID_ACI_CU_REDUCED_MOTIONNo`1` = 去掉滑行/涟漪(录屏、虚拟机)关

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
list_appsA

Every top-level window the agent can drive, one per line: Name — process (pid N) [running]. Same shape as Codex's list_apps.

get_app_stateA

Snapshot one app: App=<name> (pid N) followed by its accessibility tree, each node prefixed with the index you pass to click / set_value / scroll / drag.

clickA

Click the element at element_index from the last get_app_state of this app.

perform_secondary_actionB

Run a named secondary action on an element (Raise / Expand / Collapse / Press / Select). Maps onto the UIA patterns the element actually supports.

scrollB

Scroll the element (or its scrollable ancestor) by pages in a direction.

set_valueB

Set the value of a text field / slider / combo box at element_index (ValuePattern).

press_keyB

Send a key combination to the app, e.g. "ctrl+a" (macOS "super+a" is accepted and mapped).

type_textB

Type text into the app's focused element.

dragB

Drag from one element to another (element centres).

ego_runA

Run an ego-browser (ego lite) Node script with the embedded runtime. The script is ESM with top-level await and can use taskSpace(name), task.page('p1'), page.goto(), page.snapshot(), page.click('ref=12') and the rest of the ego API. Print JSON to return structured data. Use this for anything the shortcut tools do not cover.

ego_pageB

Convenience wrapper around one ego(lite) page in the shared TaskSpace. Actions: navigate(url), url, title, snapshot, click(refOrLocator), fill(refOrLocator,text), press(key), scroll(direction), screenshot, back, forward, wait(ms). Returns JSON; for screenshot the returned path is a PNG on disk.

ego_skillA

Return the usage guide that matches the installed ego lite version (same text as ego-browser skill). Cached after the first read; pass force=true after an ego upgrade. Read it before writing non-trivial ego scripts.

ego_doctorA

Self-check the ego channel: which ego-browser.exe was resolved and how, the ego/Node versions, whether the embedded runtime exposes the taskSpace helper, and the skill-guide cache state. Use this instead of require.resolve('ego'), which always fails because ego ships no npm package named 'ego'.

browser_engineA

查看 eztogo 浏览器操控当前走哪个引擎,以及 ego 是否可用。默认 ego(原生 ego-browser),需要 Edge 时各工具传 engine="edge"。

browser_navigateC

打开一个网址并返回标题。默认 ego 引擎。

browser_snapshotA

取当前页面的结构化快照(ego 返回带 ref 的无障碍树;edge 返回同形态快照)。这是点击/输入前的定位依据,优先用它而不是坐标。

browser_clickC

点击一个元素:传 CSS 选择器、可见文本,或快照里的 ref(ref=12)。默认 ego 引擎。

browser_typeB

往输入框填入文本。默认 ego 引擎。submit=true 时回车提交。

browser_press_keyC

按键(Enter / Escape / Control+A 这类写法)。默认 ego 引擎。

browser_evaluateB

在页面里执行一段 JS 并返回结果(只读用得多:取文本、取属性)。默认 ego 引擎。

browser_screenshotC

截图并返回文件路径。默认 ego 引擎。

browser_backC

后退一页。默认 ego 引擎。

browser_waitC

等待一段时间或等待某个选择器出现。默认 ego 引擎。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 23 tools

Disambiguation2/5

Browser actions are reachable through three overlapping routes: the individual browser_* tools, ego_page (which wraps navigate/click/fill/press/scroll/screenshot/back/wait), and ego_run (arbitrary scripts). An agent must decide between browser_click, ego_page(click), and an ego_run script for the same step, and browser_snapshot/browser_click overlap with ego_page's snapshot/click actions. Desktop tools are cleaner, but the browser family's boundaries are blurry.

Naming Consistency4/5

Names are consistently snake_case with verb-first phrasing, organized into recognizable family prefixes (unprefixed desktop tools, browser_*, ego_*). Minor inconsistency: the desktop family lacks a prefix (click, scroll, type_text) while the browser family redundantly repeats verbs it already shares with ego_page.

Tool Count3/5

23 tools is on the heavy side for a UI/browser automation server, and much of that weight is duplication rather than capability: browser_navigate/click/type/press_key/snapshot/back/wait/screenshot largely restate ego_page's action list. The desktop automation set is proportionate.

Completeness4/5

Coverage is broad: full desktop interaction (list/app state, click, set_value, press_key, type, drag, scroll, secondary actions) plus a browser surface with navigation, snapshot, click, typing, keys, waits, screenshots, and JS evaluation. Gaps like browser-level forward, tab management, and file upload are covered by ego_page's forward action or the ego_run escape hatch.