Skip to main content
Glama

Get a Depot CI workflow

depot_get_ci_workflow
Read-onlyIdempotent

Retrieve a CI workflow's status, timing, rerun history, and job attempt tree using its workflow ID.

Instructions

Show one Depot CI workflow: its status and timing, its parent run, its execution history (every rerun or retry, oldest first), and its job -> attempt tree with the ids needed to drill in.

Use this when you have a workflowId (from depot_list_ci_workflows, depot_get_ci_run, or a diagnosis) and want to see how the workflow has been rerun and which of its jobs and attempts failed. It is the workflow-level counterpart of depot_get_ci_run.

It does not explain failures or return logs. For root cause, call depot_diagnose_ci_failure with the same id and targetType "workflow"; for one job across its attempts, depot_get_ci_job; for a whole run with several workflows, depot_get_ci_run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdYesThe workflow id, as returned by depot_list_ci_workflows or depot_get_ci_run.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
runYes
jobsYes
jobCountYes
workflowYesThe workflow as it stands now. startedAt, finishedAt and durationSeconds are those of the latest execution when Depot lists executions; the top-level timing Depot returns spans from the first start to the last finish and is not the time anything ran.
executionsYesRerun and retry lineage in the order Depot reports it, oldest first.
executionCountYes
failedJobCountYes
latestExecutionNoThe execution with the highest number: the one whose timing the summary reports.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds valuable behavioral details beyond annotations: execution history is ordered oldest first, the response includes IDs for drilling in, and the tool explicitly does not explain failures or return 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?

The description is structured with a clear front-loaded summary of what is returned, followed by when to use it, then what it does not do and which alternatives to choose. Every sentence earns its place and there is no redundant restatement of the title or annotations.

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 one parameter, rich annotations, and an output schema present, the description is complete for an agent to select and invoke the tool correctly. It covers what the tool returns, where the input comes from, its limitations, and how it relates to sibling tools.

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 single required parameter workflowId is already documented in the schema. The description reinforces that the ID comes from depot_list_ci_workflows or depot_get_ci_run, but adds no new format or syntax detail, which matches the baseline for full schema coverage.

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 states a specific verb ('Show') and resource ('one Depot CI workflow') and enumerates exactly what is returned: status/timing, parent run, execution history, and job→attempt tree with IDs. It also distinguishes itself from siblings by calling itself the 'workflow-level counterpart of depot_get_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 Guidelines5/5

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

It gives explicit when-to-use guidance: use when you have a workflowId and want to see reruns and failed jobs/attempts. It also names alternatives and exclusion conditions: for root cause use depot_diagnose_ci_failure, for one job use depot_get_ci_job, for a whole run use depot_get_ci_run, and it clarifies it does not explain failures or return logs.

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