Skip to main content
Glama

gluecron_get_workflow_logs

Read-only

Return a workflow run's logs plus a failure summary. Always includes run metadata (number, workflow, event, ref, sha), per-job and per-step status / exit code / duration, failedSteps (job / step) and testFailures (failing test names parsed from the failed steps, or the reason they cannot all be named; null when no job failed). step (a step name or 1-based position within its job) returns only that step's stdout/stderr; tail_lines keeps the last N lines. The full per-job logs are included only when neither is given. JSON-friendly companion to the ZIP-download endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
stepNoOnly this step's logs: its name (exact, else substring, case-insensitive) or its 1-based position within its job
ownerYes
run_idYesThe run's id, or a unique leading part of it (8+ hex characters)
tail_linesNoKeep only the last N lines of each returned log (max 5000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / step
      Added value: +{
      +  "description": "Only this step's logs: its name (exact, else substring, case-insensitive) or its 1-based position within its job",
      +  "type": "string"
      +}
    • addedInput schema / properties / tail_lines
      Added value: +{
      +  "description": "Keep only the last N lines of each returned log (max 5000)",
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / run_id / description
      Added value: +"The run's id, or a unique leading part of it (8+ hex characters)"
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources