Skip to main content
Glama

Robot Actions — Remote Device Control

Automation session step

automation_session_step
Read-onlyIdempotent

Open ONE step of a run in full: its request body, its response body, status, timing, and — for element-scoped steps — the locator that actually found the element. Use automation_session_commands first to get the step index, then come here for the step that matters. THIS IS HOW YOU ANSWER "which element?": a click/sendKeys/getText step addresses its element by an opaque id in the URL and arrives with an empty body, so the step alone never names what it touched; this resolves that id back to the findElement that produced it and returns the using/value locator. networkDuring lists the page requests that overlapped the step, so a click that failed while an XHR was in flight is visible as such — browser runs only, and it says so explicitly when the run captured no network traffic rather than returning an empty list that reads as "nothing happened".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesWhich step, as the `index` reported by automation_session_commands. Indexes are positions in the FULL history, so they stay valid regardless of any window that tool applied.
sessionIdYesThe run's session id.
includeNetworkNoCorrelate page network traffic to this step (default true). Set false to skip the extra lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish the safe read-only, idempotent profile, and the description layers on genuinely new behavioral facts: element-scoped steps arrive with an empty body and an opaque id that this tool resolves back to the findElement locator, and networkDuring explicitly reports when no traffic was captured rather than returning a misleading empty list.

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?

Front-loaded with the core purpose and dense with useful detail, but the em-dash-heavy sentences run long and the element-resolution explanation could be tightened. Every sentence does earn its place, so it stops short of waste.

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

Completeness5/5

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

With no output schema, the description carries the burden of describing returns and does so thoroughly: bodies, status, timing, resolved locator, and correlated network requests. An agent has everything needed to call and interpret the result.

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?

Schema description coverage is 100%, so all three parameters (sessionId, index, includeNetwork) are already documented in the schema, including the index semantics and the default-true network flag. The description adds only marginal semantics, mainly the browser-only scope of network correlation, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Open ONE step of a run') and enumerates exactly what is returned: request body, response body, status, timing, and the resolved locator. It is immediately distinguishable from automation_session_commands, which it names as the source of the index.

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

Usage Guidelines5/5

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

Explicitly prescribes the workflow: 'Use automation_session_commands first to get the step index, then come here for the step that matters.' It also states when the tool is the right answer ('which element?') and scopes the network behavior to browser runs only.

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