Skip to main content
Glama

List Workflow runs

list_workflow_runs
Read-only

A Workflow’s runs, newest first, each as get_workflow_run reports it. Cursor-paginated. Pass pullRequest to find a pull request’s runs, or branch for the push and manual runs on a watched branch — not both (VALIDATION_ERROR). A pull-request run’s trigger.branch is its base branch, so branch never finds a feature branch’s pull-request run: pass its pullRequest number. A "completed" run has finished translating; it does not mean the translations were delivered. Its Outputs deliver after it completes: check each Output’s outcome (null until it has run, then delivered, failed or skipped) before telling the user the translations are in place. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.

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": {
      "workflowId": "<workflowId>"
    },
    "name": "list_workflow_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 50)
branchNoOnly the push and manual runs on this watched branch
cursorNoPagination cursor from a previous call
workflowIdYesWorkflow id, from list_workflows or set_up_workflow
pullRequestNoOnly the runs this pull request (its number) triggered

Output Schema

NameRequiredDescriptionDefault
dataYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / data / items / properties / outputs / items / properties / outcome / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "status": {
      -        "description": "delivered, failed or skipped",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "status": {
      +        "description": "delivered, failed or skipped; a GitHub Output’s failed or skipped one says why in `reason`",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / items / properties / outputs / items / properties / type / description
      Previous value: -"'github' or 'contentful'"New value: +"'github', 'gitlab' or 'contentful'"
    • changedOutput schema / properties / data / items / properties / trigger / properties / kind / description
      Previous value: -"manual, push, pull_request, contentful_change, sidebar_request or portal_poll"New value: +"manual, push, pull_request, merge_request, contentful_change, sidebar_request or portal_poll"
    • addedOutput schema / properties / data / items / properties / trigger / properties / mergeRequest
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The GitLab merge request a merge_request run was triggered by",
      +  "properties": {
      +    "headBranch": {
      +      "type": "string"
      +    },
      +    "iid": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "iid",
      +    "headBranch"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed3 schema fields changed
    • addedOutput schema / properties / data / items / properties / qaIssues
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {
      +        "autoFixCount": {
      +          "description": "Strings QA fixed itself",
      +          "type": "number"
      +        },
      +        "criticalCount": {
      +          "description": "Of those, the strings with a critical one",
      +          "type": "number"
      +        },
      +        "failCount": {
      +          "description": "Strings, per language, with a QA failure no one dismissed",
      +          "type": "number"
      +        },
      +        "totalKeys": {
      +          "description": "Strings QA checked, across every language",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "failCount",
      +        "criticalCount",
      +        "autoFixCount",
      +        "totalKeys"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What the run’s QA found, across its languages: list_run_qa_failures reads one language’s QA failures. null until the run is finalised, and for a Workflow version without QA"
      +}
    • changedOutput schema / properties / data / items / properties / trigger / properties / kind / description
      Previous value: -"manual, push, pull_request, contentful_change or sidebar_request"New value: +"manual, push, pull_request, contentful_change, sidebar_request or portal_poll"
    • changedOutput schema / properties / data / items / required
      Previous value: -[
      -  "id",
      -  "workflowId",
      -  "number",
      -  "status",
      -  "versionNumber",
      -  "trigger",
      -  "failure",
      -  "findings",
      -  "reconciliation",
      -  "translates",
      -  "sourceSteps",
      -  "languages",
      -  "outputs",
      -  "pullRequestUrl",
      -  "namespaceClashes",
      -  "runPageUrl",
      -  "createdAt",
      -  "updatedAt"
      -]New value: +[
      +  "id",
      +  "workflowId",
      +  "number",
      +  "status",
      +  "versionNumber",
      +  "trigger",
      +  "failure",
      +  "findings",
      +  "qaIssues",
      +  "reconciliation",
      +  "translates",
      +  "sourceSteps",
      +  "languages",
      +  "outputs",
      +  "pullRequestUrl",
      +  "namespaceClashes",
      +  "runPageUrl",
      +  "createdAt",
      +  "updatedAt"
      +]
  4. Changed4 schema fields changed
    • changedOutput schema / properties / data / items / properties / languages / description
      Previous value: -"One per target language, once the run has split into languages; empty before"New value: +"One per target language, once the run has split into languages; empty before, and always for a run that doesn’t translate"
    • addedOutput schema / properties / data / items / properties / sourceSteps
      Added value: +{
      +  "description": "The Steps before translation — every Step of a Workflow that doesn’t translate — run once on the source strings: their Gates and Checks rolled up",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "index": {
      +        "description": "The Step’s position in the pinned version, from 0",
      +        "type": "number"
      +      },
      +      "name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "description": "pending, processing, held, completed or failed; halted when the run failed or was superseded before the Step finished",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "index",
      +      "name",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / items / properties / translates
      Added value: +{
      +  "description": "false for a run of a Workflow that doesn’t translate: it has no languages, and `sourceSteps` is all its progress",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / data / items / required
      Previous value: -[
      -  "id",
      -  "workflowId",
      -  "number",
      -  "status",
      -  "versionNumber",
      -  "trigger",
      -  "failure",
      -  "findings",
      -  "reconciliation",
      -  "languages",
      -  "outputs",
      -  "pullRequestUrl",
      -  "namespaceClashes",
      -  "runPageUrl",
      -  "createdAt",
      -  "updatedAt"
      -]New value: +[
      +  "id",
      +  "workflowId",
      +  "number",
      +  "status",
      +  "versionNumber",
      +  "trigger",
      +  "failure",
      +  "findings",
      +  "reconciliation",
      +  "translates",
      +  "sourceSteps",
      +  "languages",
      +  "outputs",
      +  "pullRequestUrl",
      +  "namespaceClashes",
      +  "runPageUrl",
      +  "createdAt",
      +  "updatedAt"
      +]
  5. Changed2 schema fields changed
    • addedOutput schema / properties / data / items / properties / namespaceClashes
      Added value: +{
      +  "description": "File patterns whose wildcard matched several source folders that all got the same namespace name. Advisory: the run is unaffected and each folder is still its own namespace. Offer the user suggestedPattern (it changes the Workflow, so never apply it silently). Empty when none",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "folders": {
      +        "description": "The folders it gives one namespace name",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pattern": {
      +        "description": "The GitHub Input file pattern",
      +        "type": "string"
      +      },
      +      "suggestedPattern": {
      +        "description": "The pattern with {namespace} in place of the varying wildcard: matches the same files, so accepting it only renames namespaces. null when there is none",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "pattern",
      +      "folders",
      +      "suggestedPattern"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / data / items / required
      Previous value: -[
      -  "id",
      -  "workflowId",
      -  "number",
      -  "status",
      -  "versionNumber",
      -  "trigger",
      -  "failure",
      -  "findings",
      -  "reconciliation",
      -  "languages",
      -  "outputs",
      -  "pullRequestUrl",
      -  "runPageUrl",
      -  "createdAt",
      -  "updatedAt"
      -]New value: +[
      +  "id",
      +  "workflowId",
      +  "number",
      +  "status",
      +  "versionNumber",
      +  "trigger",
      +  "failure",
      +  "findings",
      +  "reconciliation",
      +  "languages",
      +  "outputs",
      +  "pullRequestUrl",
      +  "namespaceClashes",
      +  "runPageUrl",
      +  "createdAt",
      +  "updatedAt"
      +]
  6. Changed7 schema fields changed
    • addedInput schema / properties / branch
      Added value: +{
      +  "description": "Only the push and manual runs on this watched branch",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / pullRequest
      Added value: +{
      +  "description": "Only the runs this pull request (its number) triggered",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / data / items / properties / findings
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "What the run’s Source checks found, as its Findings report shows it",
      +  "properties": {
      +    "openBlocking": {
      +      "description": "Open Findings of blocking Checks: what holds the run",
      +      "type": "number"
      +    },
      +    "state": {
      +      "description": "held: a blocking Source check holds the run — its open Findings must be resolved, or a Check that could not run retried or skipped; polling alone will not move it on. findings: Findings are open, none holding. passed: nothing open. superseded: a newer run replaced it",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "openBlocking"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / data / items / properties / reconciliation
      Added value: +{
      +  "description": "The status of the latest Reconciliation — what applying the Edit set (apply_edit_set) started: processing while the edited strings are carried through the run; completed once they were (its Outputs then deliver again: read `outputs`); held while an approval Gate it reopened holds it; failed (its edits went back to the Edit set, to be applied again); superseded. null when the Edit set was never applied",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data / items / properties / trigger / properties / branch / description
      Added value: +"The watched branch the Trigger matched: a pull-request run’s base branch"
    • addedOutput schema / properties / data / items / properties / trigger / properties / pullRequest
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The pull request a pull_request run was triggered by; absent on any other run",
      +  "properties": {
      +    "headBranch": {
      +      "type": "string"
      +    },
      +    "number": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "number",
      +    "headBranch"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / data / items / required
      Previous value: -[
      -  "id",
      -  "workflowId",
      -  "number",
      -  "status",
      -  "versionNumber",
      -  "trigger",
      -  "failure",
      -  "languages",
      -  "outputs",
      -  "pullRequestUrl",
      -  "runPageUrl",
      -  "createdAt",
      -  "updatedAt"
      -]New value: +[
      +  "id",
      +  "workflowId",
      +  "number",
      +  "status",
      +  "versionNumber",
      +  "trigger",
      +  "failure",
      +  "findings",
      +  "reconciliation",
      +  "languages",
      +  "outputs",
      +  "pullRequestUrl",
      +  "runPageUrl",
      +  "createdAt",
      +  "updatedAt"
      +]
  7. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive), and the description adds substantial context on top: cursor pagination, newest-first ordering, the mutual-exclusion validation failure, the base-branch quirk of pull-request runs, and the critical caveat that a completed run has only finished translating, not delivered. That last point materially changes how an agent interprets results.

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?

It is dense but front-loaded: resource and ordering come first, then filtering rules, then the status caveat. The closing instruction about using names and locales instead of UUIDs is genuinely useful but is a general response-formatting rule rather than something specific to listing runs, which slightly dilutes focus.

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?

An output schema exists so return values need not be documented, yet the description still explains the one Output field (`outcome`) an agent must interpret before answering. Pagination, filtering, mutual exclusion, and status semantics are all covered for a five-parameter read tool.

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 baseline is 3, but the description genuinely adds meaning the schema cannot: pullRequest takes a PR number and is the only way to find a feature branch's pull-request run, while branch is scoped to push and manual runs on a watched branch. Cursor's origin is only lightly restated from the schema, which keeps this just below a 5.

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?

The description names the resource precisely (a Workflow's runs), its ordering (newest first), and its projection (each as get_workflow_run reports it), which implicitly separates it from the single-run sibling. It never explicitly contrasts itself with list_workflows or get_workflow_run, so it stops short of the sibling-differentiation a 5 requires.

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 states exactly when to use pullRequest versus branch, declares them mutually exclusive with the resulting VALIDATION_ERROR, and warns that branch will never surface a feature branch's pull-request run — directing the agent to the pullRequest number instead. It also tells the agent when the 'completed' status is insufficient and that Output `outcome` must be checked before reporting translations as delivered.

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.