Skip to main content
Glama

Robot Actions — Remote Device Control

session_get_title

Return the title of what a WebDriver session is currently showing — the document title for a browser session, the foreground activity name for a mobile session. Cheap, and the usual way to confirm a navigation landed where you expected before reading the whole page with session_page_source. Addressed by sessionId; on a real device the same question is device_current_app or ios_active_app (by udid).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the read-only nature, cost ('cheap'), and the fact that it requires a sessionId. It doesn't cover error cases or return format, but for a simple getter this is adequate. No contradictions with annotations (none exist).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, with purpose front-loaded, followed by usage context and alternatives. Every sentence earns its place with no redundancy.

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 simple one-parameter getter with no output schema, the description is complete: it defines what it returns for both browser and mobile, explains when to use it, and points to related tools. Nothing an agent needs to call it correctly is missing.

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 schema has 100% coverage for the single parameter sessionId with a description 'Session ID'. The description mentions 'Addressed by sessionId' but adds no extra meaning beyond the schema, so baseline 3 is appropriate.

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 the specific verb 'Return' and resource 'title of what a WebDriver session is currently showing', and distinguishes between browser and mobile. It names sibling tools (session_page_source, device_current_app, ios_active_app) so an agent can immediately differentiate it from alternatives.

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 says when to use it ('confirm a navigation landed where you expected') and when not ('before reading the whole page with session_page_source'). It also names alternatives for real devices, giving clear context and exclusions.

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