Skip to main content
Glama
saucelabs

Sauce Labs MCP Server

Official
by saucelabs

get_job_details

Retrieve execution details for Sauce Labs test jobs to identify platform type and access appropriate assets for analysis.

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?

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it works for both VDC and RDC platforms, return data structure varies between platforms, and it provides guidance on interpreting results to determine job type. However, it doesn't mention error handling, rate limits, or authentication requirements.

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 efficiently structured with zero waste: purpose statement first, platform compatibility second, usage guidance third, and parameter/return documentation last. Every sentence earns its place by adding distinct value.

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?

Given the tool's moderate complexity (platform variations), no annotations, but presence of an output schema, the description is mostly complete. It explains platform differences and usage flow but could benefit from mentioning authentication or error scenarios. The output schema existence reduces need to detail return values.

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?

The description adds meaningful context beyond the input schema: it specifies that job_id is a 'Sauce Labs Job ID' and clarifies it 'works for both VDC and RDC jobs.' With 0% schema description coverage and only one parameter, this provides valuable semantic information that compensates for the schema gap.

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?

The description clearly states the tool's purpose with specific verb ('retrieves') and resource ('execution details of a particular job, by ID'), distinguishing it from sibling tools like get_recent_jobs (list) or get_specific_real_device_job (platform-specific). The first sentence provides unambiguous functionality.

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?

The description explicitly provides when-to-use guidance: 'Use this method first to understand what type of job you're working with' and specifies platform-specific alternatives (get_specific_real_device_job_asset for RDC, get_test_assets for VDC). This gives clear context for tool selection versus siblings.

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