Skip to main content
Glama

MCP Server By TestMu AI

Get Automation Test Selenium Logs

getAutomationTestSeleniumLogs
Read-only

Fetches Selenium logs (web), Appium logs (mobile/Appium), or instrumentation logs (mobile/XCUI/Espresso) for a specific automation test. Automatically detects XCUI and Espresso tests and fetches the correct log type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
testIdYesThe ID of the automation test to fetch logs for
platformYesThe platform type: "web" for Selenium logs, "app" for Appium/instrumentation logs
sessionIdNoRequired for app platform: the session_id of the app session, a UUID that listMobileSessions and getAutomationTestDetails return (not the test ID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sessionId / description
      Previous value: -"Required for app platform: the session ID of the app test"New value: +"Required for app platform: the session_id of the app session, a UUID that listMobileSessions and getAutomationTestDetails return (not the test ID)"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the safe read-only profile (readOnlyHint=true, destructiveHint=false). The description adds useful behavior — the three log categories and the fact that XCUI/Espresso are auto-detected — but says nothing about log size, truncation, or availability windows for a log-retrieval tool.

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 compact sentences with no filler, and the log-type mapping is front-loaded. Efficient, though the second sentence could be folded in without loss.

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?

With no output schema, the description carries the return-value burden and does identify what comes back (web/Appium/instrumentation logs). It is adequate for a three-parameter read tool, missing only edge details like empty-log or unavailable-session behavior.

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%, including the important sessionId constraint (required for app platform, not the test ID) and the platform enum. The description adds no parameter guidance beyond the schema, so the baseline of 3 applies.

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?

Clear verb ("Fetches") plus a specific resource (Selenium/Appium/instrumentation logs) scoped to "a specific automation test". However, it does not distinguish itself from close siblings like getAutomationTestBrowserConsoleLogs, getAutomationTestCommandLogs, or getAutomationTestNetworkLogs, so the agent must infer which log family each tool returns.

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?

Usage is implied (use it to get logs for one test), and the note about auto-detecting XCUI/Espresso gives some routing help. But there is no explicit when-to-use/when-not or named alternative versus the other getAutomationTest*Logs siblings.

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