Skip to main content
Glama
saucelabs

Sauce Labs MCP Server

Official
by saucelabs

get_job_details

Retrieve execution details of a test job by ID, including status, timing, and configuration. Identifies whether the job is from Virtual or Real Device Cloud.

Instructions

    Retrieves the execution details of a particular job, by ID.

    This method works for both Virtual Device Cloud (VDC) and Real Device Cloud (RDC) though
    the returned data structure may vary between platforms.

    Use this method first to understand what type of job you're working with:
        - If 'device_name' contains mobile devices → RDC job → use get_specific_real_device_job_asset for assets
        - If 'browser' field shows web browsers → VDC job → use get_test_assets for assets

    :param job_id: The Sauce Labs Job ID (works for both VDC and RDC jobs).
    :return: Detailed job information including status, timing, configuration, and platform-specific data.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses that the data structure may vary between platforms and that the returned fields ('device_name', 'browser') help determine job type. No annotations exist, so description carries full burden; it adequately covers the read-only nature and expected output.

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?

Well-structured with a summary line and bullet-style guidance, but slightly verbose with docstring formatting. Could be tightened without losing clarity.

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?

Given the tool's complexity (supports two platforms with varying data structures) and the presence of an output schema, the description fully covers purpose, parameter, return content, and usage context, including how to proceed with sibling tools.

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?

With 0% schema description coverage, the description fully explains the single parameter 'job_id' as 'The Sauce Labs Job ID (works for both VDC and RDC jobs)', adding significant meaning beyond the schema's title.

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?

Clearly states it retrieves execution details of a job by ID, works for both VDC and RDC, and distinguishes from siblings by positioning itself as a preliminary tool to determine job type before using more specific 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?

Explicitly says 'Use this method first to understand what type of job you're working with' and provides conditional logic to choose between get_specific_real_device_job_asset and get_test_assets based on returned fields, offering clear alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saucelabs/sauce-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server