Skip to main content
Glama

Get a Workflow run

get_workflow_run
Read-only

Poll a Workflow run: its status and failure reason, each Source Step’s status, translated and total strings per language (none when translates is false: the Workflow doesn’t translate and its Source Steps are the whole run), each Output’s delivery outcome, the pull request a GitHub Output opened, and the run’s page in the Globalize app. findings is what its Source checks found: while findings.state is held, Checks hold the run and polling alone will not move it on — its openBlocking Findings must be resolved, or a Check that could not run retried or skipped. reconciliation is the status of what the latest apply_edit_set started (null if the Edit set was never applied): poll until it is completed. qaIssues counts what QA found once the run is finalised; list_run_qa_failures reads one language’s. 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": {
      "runId": "<runId>"
    },
    "name": "get_workflow_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesRun id, from start_workflow_run or list_workflow_runs

Output Schema

NameRequiredDescriptionDefault
idYesPass to get_workflow_run
numberYes`run #n`, numbered per Workflow from 1
statusYespending, processing, held (at an approval Gate), completed, failed or superseded. completed means translated, not delivered: read `outputs`
failureYesWhy a failed run failed; null otherwise
outputsYesEach Output of the pinned version and its delivery outcome
triggerYes
findingsYesWhat the run’s Source checks found, as its Findings report shows it
qaIssuesYesWhat 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
createdAtYes
languagesYesOne per target language, once the run has split into languages; empty before, and always for a run that doesn’t translate
updatedAtYes
runPageUrlYesThe run’s page in the Globalize app
translatesYesfalse for a run of a Workflow that doesn’t translate: it has no languages, and `sourceSteps` is all its progress
workflowIdYes
sourceStepsYesThe Steps before translation — every Step of a Workflow that doesn’t translate — run once on the source strings: their Gates and Checks rolled up
versionNumberYesThe Workflow version the run pinned
pullRequestUrlYesThe pull request a GitHub Output opened or updated; null when none
reconciliationYesThe 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
namespaceClashesYesFile 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / 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 / outputs / items / properties / type / description
      Previous value: -"'github' or 'contentful'"New value: +"'github', 'gitlab' or 'contentful'"
    • changedOutput schema / 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 / 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 / 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 / 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 / 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 / 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 / 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 / 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 / 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 / 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 / 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. Changed5 schema fields changed
    • addedOutput schema / 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 / 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 / trigger / properties / branch / description
      Added value: +"The watched branch the Trigger matched: a pull-request run’s base branch"
    • addedOutput schema / 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 / 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.4/5.0
Behavior5/5

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

Annotations already declare this a safe read, so the description rightly spends its words on non-obvious behavior: polling alone will not advance a run held by openBlocking Findings, `reconciliation` is null when the Edit set was never applied, and Output `outcome` is null until delivery has run. The 'completed does not mean delivered' warning is exactly the kind of trap an agent would otherwise fall into.

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?

Purpose is front-loaded and nearly every sentence carries operational value, especially the delivery-status and findings-held guidance. The opening sentence is a long run-on list of return fields that could be broken up, and it partly restates what the output schema already covers.

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?

For a polling tool with an output schema, an agent has everything needed: what to poll, how to interpret 'completed' versus delivered, what blocks progress, and the presentation rule for names versus UUIDs. Nothing material about invoking or reading this tool is left out.

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?

There is a single `runId` parameter and schema coverage is 100%, with the schema already noting it comes from start_workflow_run or list_workflow_runs. The description adds no further meaning about the id beyond what the schema states, so the baseline 3 applies.

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?

Opens with a specific verb+resource ('Poll a Workflow run') and enumerates exactly what comes back: status and failure reason, Source Step statuses, per-language string counts, Output delivery outcomes, the GitHub PR, and the app page. It also distinguishes itself from list_run_qa_failures by scoping that tool to 'one language's' QA failures.

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?

Gives strong when-to-use context: poll this while a run is in progress, poll `reconciliation` until completed, and use list_run_qa_failures for a single language's QA failures. It does not explicitly say when to prefer list_workflow_runs or get_workflow instead, so the routing guidance is implied rather than complete.

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.