Skip to main content
Glama

MCP Server By TestMu AI

Get Session V2 Command Logs

getSessionV2CommandLogs
Read-only

Retrieve v2 command execution logs for a test session. Returns structured JSON with enhanced detail compared to v1 logs. Web automation (Selenium, Playwright, Cypress) only: an app automation session returns not found; listMobileSessions carries the video and screenshot links of app sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesThe web automation test ID (e.g. DA-WIN-...) or session ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sessionId / description
      Previous value: -"The session ID"New value: +"The web automation test ID (e.g. DA-WIN-...) or session ID"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is low. The description adds genuinely useful behavior beyond them: the web-only constraint, the concrete failure mode (not found) for app sessions, and the return shape ('structured JSON'). It does not mention volume, pagination, or retention limits for logs.

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?

Three sentences, zero filler, and the core purpose is front-loaded before the scope constraint and the redirect to the alternative. Every sentence earns its place.

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 a single-parameter log retrieval tool with no output schema, the description covers purpose, scope, and a rough return shape, which is close to sufficient. Minor gaps remain around log volume/pagination expectations, but nothing blocks correct invocation.

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?

Only one parameter, and schema coverage is 100% – the schema already documents sessionId as a web automation test ID or session ID. The description adds no format nuance, examples, or validation rules beyond that, so the baseline 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 (retrieve v2 command execution logs for a test session) and explicitly positions itself against the v1 variant by promising 'enhanced detail compared to v1 logs'. It also carves out a hard scope boundary (web automation only) that separates it from log-retrieval siblings like getAutomationTestCommandLogs.

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

Usage Guidelines4/5

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

Gives an explicit when-not ('an app automation session returns not found') and routes the agent to the alternative for that case ('listMobileSessions carries the video and screenshot links of app sessions'). It does not, however, clarify when to prefer this over getAutomationTestCommandLogs or the other log endpoints for web sessions.

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