Skip to main content
Glama

Simple ego page action

ego_page

Automate a shared ego(lite) browser page: navigate URLs, inspect titles and snapshots, click, fill forms, press keys, scroll, capture screenshots, and go back/forward or wait.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "ego_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNoText for fill.
actionYes
amountNoMilliseconds for wait.
targetNoURL for navigate, ref/locator for click/fill, key for press, direction for scroll.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Adds real context beyond the annotation: it describes the JSON return and clarifies that screenshot yields a PNG path on disk, while readOnlyHint=false correctly signals the click/fill actions mutate page state. It does not say what happens on failure, whether navigation affects other consumers of the "shared" page, or how snapshot relates to the refs consumed by click/fill.

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?

Two tight sentences: purpose first, then a dense action list, then return behavior. The enumeration is the most economical way to convey a 12-action dispatcher, though it is close to a wall of tokens.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-action tool with no output schema, the description covers little more than the action names and the screenshot return type; it omits failure modes, whether snapshot produces the refs used by click/fill, and the semantics of back/forward/wait defaults. Adequate as a signature reference, thin as behavioral documentation.

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?

The action-by-action signatures (navigate(url), fill(refOrLocator,text), press(key), scroll(direction), wait(ms)) do add convenience by mapping actions to the generic target/value/amount fields. However, that same mapping is essentially already present in the schema's target, value, and amount descriptions at 75% coverage, so the description is largely restating structured data rather than adding new meaning.

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

Purpose4/5

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

States a concrete resource ("one ego(lite) page in the shared TaskSpace") and enumerates the exact action set, so an agent knows this is a multi-action page driver rather than a single-purpose tool. It does not differentiate itself from the many sibling page tools (browser_click, browser_navigate, click, scroll), so the boundary is left to the caller.

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

Usage Guidelines2/5

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

No when-to-use guidance is given beyond "Convenience wrapper" and "shared TaskSpace"; there is no statement of when to prefer this over browser_* siblings or the standalone click/scroll tools. The phrase "shared" hints at a single shared page context but never states this as a constraint or prerequisite.

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