Skip to main content
Glama

Robot Actions — Remote Device Control

session_create

Open a W3C WebDriver session on the testing grid — a browser session (Selenium) or a mobile session (Appium), decided by what you pass: a browserName such as chrome, firefox or MicrosoftEdge for a browser; an empty browserName plus platformName ANDROID or IOS and a device UDID in capabilities for a device. Returns the sessionId every other session_* tool takes, and the capabilities the grid actually negotiated. This is the automation-protocol surface — reach for it when the work needs element handles or mirrors existing Selenium/Appium code. To drive a desktop browser page without a WebDriver session use the web_* tools (addressed by pageId); to drive the browser on a real phone use the webpage_* tools (addressed by udid). Leave platformName and browserVersion off unless you must pin them: literal 'any' or 'latest' is strict-matched against node stereotypes, which advertise concrete values, and fails to match anything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
browserNameYesBrowser name (chrome, firefox, MicrosoftEdge) or empty for a mobile session
capabilitiesNoAdditional W3C capabilities (e.g. automation-engine settings, device UDID)
platformNameNoPlatform (ANDROID, IOS, linux, etc.)
browserVersionNoBrowser version

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure and does a good job: it explains conditional behavior based on parameters, states that it returns sessionId and negotiated capabilities, and warns about strict matching of 'any' or 'latest'. It does not mention resource lifecycle, cleanup obligations, or failure/side-effect behavior, which would have made it fully transparent for a session-creating operation.

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 description is long but every sentence contributes: purpose, mode selection, return value, use case, alternatives, and a parameter warning. It is dense and could be slightly restructured for readability, but it avoids filler and front-loads the core purpose.

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?

For a tool with no output schema, the description adequately covers what is returned (sessionId and negotiated capabilities) and how the two distinct invocation modes work. It also addresses the sibling-tool landscape and the strict-matching pitfall, making it complete enough for an agent to invoke correctly.

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?

Although schema coverage is 100%, the description adds essential conditional semantics: empty browserName plus platformName ANDROID/IOS and a device UDID for mobile sessions. It also cautions against literal 'any' or 'latest' values for platformName/browserVersion, which is non-obvious and not present in the schema.

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?

The description opens with a specific verb and resource: "Open a W3C WebDriver session on the testing grid." It clearly distinguishes browser sessions (Selenium) from mobile sessions (Appium) and positions this tool as the automation-protocol surface versus the web_* and webpage_* siblings. An agent can immediately tell what this tool does and how it differs from related tools.

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?

Usage guidance is explicit: "reach for it when the work needs element handles or mirrors existing Selenium/Appium code," and it names concrete alternatives for non-WebDriver cases (web_* tools for desktop pages, webpage_* tools for real phones). It also gives a strong conditional instruction to omit platformName and browserVersion unless pinning is required, explaining the strict-matching failure mode.

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