Skip to main content
Glama

Do a step in the live browser

browser_step

One step in an open live browser, and what the page shows after it. action: open (link), click (target: the words on the button or link), type (text, into the field named in target; enter=true presses Enter after), press (key: Enter, Tab, Escape, an arrow, PageDown), scroll (direction: down or up), back, or read (the page's text). The answer lists what is on screen and says when a pop-up covers the page or the person has taken over. session: the id the session was opened with.

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": {
      "session": "<session>",
      "action": "<action>"
    },
    "name": "browser_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoEnter
linkNo
textNo
enterNo
actionYes
targetNo
sessionYes
directionNodown

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (openWorldHint, non-idempotent, non-destructive), so the description's added value is elsewhere: it discloses that results report on-screen content and flag pop-ups and human takeover. Those are real operational behaviors an agent needs and are not derivable from the annotations, though error/failure behavior is not described.

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?

The core idea is front-loaded in the first clause and every clause carries parameter or behavior information. It is one dense run-on sentence, which makes the action-by-action mapping slightly harder to scan than a short list would be, but nothing is wasted.

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

Completeness4/5

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

For an 8-parameter, no-output-schema, open-world tool, the description supplies the action semantics and return-value description that would otherwise be missing. The only gap is the session lifecycle — nothing says how to obtain a session id or what happens when a step fails.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage across 8 parameters, the description carries the full burden and does so: it maps each action to the parameters it consumes (open→link, click→target, type→text/target/enter, press→key, scroll→direction) and explains session. This is meaning the bare schema titles could never convey.

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?

The definition names a specific verb (perform one browser action) and resource (an open live browser session), and returns page state after the step. It is clear enough to distinguish from a session-opening tool, but it never names or contrasts with siblings such as live_browser, read, or browser_end, leaving the boundary implicit.

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

Usage Guidelines3/5

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

The session parameter text ('the id the session was opened with') implies this tool is used only after a session exists, which is useful context. However, there is no explicit statement of when to prefer this over alternatives (e.g. read vs. browser_step's read action, or live_browser for setup), and no when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources