Skip to main content
Glama
RubenGlez

devicecloud-mcp

by RubenGlez

diagnose_run

Triage a failing DeviceCloud run by resolving uploads, folding retries, and extracting failure evidence including screenshots and fail reasons for quick debugging.

Instructions

Triage one DeviceCloud run in a single call. Resolves the upload, folds retries per flow, and returns the failed flows with fail reasons, durations, and failure-screenshot paths (auto-downloaded from the HTML report), plus a passed/failed/flaky summary and suggested next steps. The highest-signal tool for debugging a red CI run — use this first, then read the screenshots and fix the flow or app code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoUpload name; most recent match wins. Provide this or uploadId.
uploadIdNoUpload UUID. Provide this or name.
outputDirNoParent directory for the extracted report. Defaults to /tmp.
includeReportNoDownload + unzip the HTML report to surface failure screenshots. Default true.
Behavior5/5

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

No annotations provided, but the description fully discloses the tool's behavior: resolves uploads, folds retries, returns failed flows with reasons/durations, auto-downloads screenshot paths from the HTML report, and gives a summary. No hidden side effects; the agent understands exactly what the tool does.

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?

Two sentences: the first densely packs the tool's actions and outputs, the second gives usage priority. No unnecessary words; information is front-loaded and well-structured.

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?

Despite no output schema, the description explains return values (failed flow details, screenshots, summary, next steps). It covers all 4 parameters (described in schema) and provides context for CI debugging. The tool's complexity is low (no enums, no nested objects), and the description is fully adequate.

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%, so the baseline is 3. The description does not add meaningful parameter-level information beyond what the schema already provides (e.g., defaults for outputDir and includeReport, or the 'most recent match wins' behavior for name). It integrates parameters into the workflow but does not enhance understanding of individual parameters.

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 it 'triages one DeviceCloud run' and enumerates specific actions: resolving uploads, folding retries, returning failed flows with details. It distinguishes itself from sibling tools like list_uploads or get_results by positioning as the highest-signal tool for debugging a red CI run.

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?

Explicitly advises 'use this first, then read the screenshots and fix the flow or app code', providing clear context for when to use (debugging a failed run). Does not explicitly list when not to use, but the guidance is sufficient for an agent.

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/RubenGlez/devicecloud-mcp'

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