Skip to main content
Glama

MCP Server By TestMu AI

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as TestMu AI (formerly LambdaTest). If you published it, claim ownership there.

Get Automation Test Command Logs

automation_get_command_logs
Read-onlyIdempotent

Gets the command log of a TestMu AI automation test, one page of 100 commands at a time. Web: each Selenium command with its HTTP method, path, request and response, or each Playwright and Puppeteer command with its method, heading, arguments (requestBody) and duration in ms. App: the Appium commands of the app session (needs sessionId). Strings longer than 2,000 characters (such as base64 screenshots) are cut, and about 40,000 characters are returned per call: the result gives next_offset when more of the page remains.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "testId": "<testId>",
      "platform": "<platform>"
    },
    "name": "automation_get_command_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoEntry to start from within the page (default 0); pass next_offset from the previous result
testIdYesTest ID, from automation_list_sessions
platformYes"web" for browser automation, "app" for app automation
sessionIdNoRequired for app platform: the session_id of the app session, a UUID that app_list_sessions and automation_get_test return (not the test ID)
pageNumberNoPage of 100 commands to read (default 1); totalPageCount in automation_get_test gives the number of pages

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavioral context beyond them: strings over 2,000 characters such as base64 screenshots are truncated, roughly 40,000 characters come back per call, and next_offset is returned when a page is not exhausted. Those are exactly the constraints an agent needs to avoid misreading a truncated response or looping on pagination.

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, then platform-specific payload detail, then truncation and pagination limits; every sentence carries information. The telegraphed 'Web: ... App: ...' clauses are dense but readable, and nothing is redundant filler.

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 effectively documents the return shape itself (Selenium method/path/request/response, Playwright and Puppeteer method/heading/arguments/duration, Appium commands), plus truncation and pagination tokens. For a 5-parameter read tool with full schema coverage, an agent has everything needed to call and consume it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already explains all five parameters, but the description adds cross-parameter meaning: the page/offset split within a 100-command page, the next_offset handoff, and the platform-dependent role of sessionId for app sessions. This goes beyond restating the schema, though it does not cover edge cases such as offsets past the final page.

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?

States a specific verb and resource ('Gets the command log of a ... automation test') and scopes the unit of retrieval ('one page of 100 commands'). It further distinguishes what is returned for web versus app platforms, which differentiates it in substance from console/network/selenium log siblings, though it never names those alternatives to make the boundary explicit.

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 conditions are implied rather than stated: the description notes app retrievals need sessionId, and the schema notes where testId and page counts come from. It does not say when to choose this over automation_get_selenium_logs, automation_get_console_logs, or automation_get_network_logs, so an agent must infer the selection from the returned-content descriptions.

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