Skip to main content
Glama

List Workflow Runs

workflow_runs
Read-onlyIdempotent

Run history for one workflow, newest first, in runs. Each run includes its ID, workflow version, status, start and finish times, headline, error, counts of new leads, contacts and research-list people, and reported step outcomes with notes and review-card links. Use the run ID with leads_list.workflowRunId to inspect the leads it touched. An empty list means no runs are recorded; queued or running runs are unfinished. Read-only.

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": {
      "id": "<id>"
    },
    "name": "workflow_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe workflow's workflowId, from workflows_list or the result of workflow_create or workflow_update.
limitNoHow many of the most recent runs to return; default 10. The API returns at most 50 even when asked for more.

Output Schema

NameRequiredDescriptionDefault
runsYesRun history for the requested workflow, newest first. Empty means no runs are recorded. Queued or running is unfinished; inspect error and stepResults on failed or abandoned runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / properties / runs / items / properties / error / description
      Added value: +"Reported failure or abandonment reason, or null when none is recorded."
    • changedOutput schema / properties / runs / items / properties / finishedAt / description
      Previous value: -"Unix epoch milliseconds."New value: +"Completion time as Unix epoch milliseconds, or null while unfinished."
    • addedOutput schema / properties / runs / items / properties / found / description
      Added value: +"New records attributed to this run. Use its id in leads_list.workflowRunId to inspect them."
    • changedOutput schema / properties / runs / items / properties / found / required
      Previous value: -[
      -  "leads",
      -  "contacts"
      -]New value: +[
      +  "leads",
      +  "contacts",
      +  "people"
      +]
    • addedOutput schema / properties / runs / items / properties / headline / description
      Added value: +"Agent's summary of the run, or null before one is reported."
    • changedOutput schema / properties / runs / items / properties / startedAt / description
      Previous value: -"Unix epoch milliseconds."New value: +"Run start or queue time as Unix epoch milliseconds."
    • addedOutput schema / properties / runs / items / properties / stepResults / description
      Added value: +"Reported steps with their latest outcomes, notes and review-card links; empty before any step reports."
    • changedOutput schema / properties / runs / items / required
      Previous value: -[
      -  "id",
      -  "status",
      -  "startedAt",
      -  "finishedAt",
      -  "headline",
      -  "error",
      -  "found",
      -  "stepResults"
      -]New value: +[
      +  "id",
      +  "status",
      +  "workflowVersion",
      +  "startedAt",
      +  "finishedAt",
      +  "headline",
      +  "error",
      +  "found",
      +  "stepResults"
      +]
  2. Changed9 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"workflowId returned by workflows_list or a workflow write."New value: +"The workflow's workflowId, from workflows_list or the result of workflow_create or workflow_update."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum recent runs; default 10. The API caps at 50 even when a larger value is supplied."New value: +"How many of the most recent runs to return; default 10. The API returns at most 50 even when asked for more."
    • removedOutput schema / properties / runs / items / properties / error / description
      Removed value: -"Reported failure or abandonment reason, or null when none is recorded."
    • changedOutput schema / properties / runs / items / properties / finishedAt / description
      Previous value: -"Completion time as Unix epoch milliseconds, or null while unfinished."New value: +"Unix epoch milliseconds."
    • removedOutput schema / properties / runs / items / properties / found / description
      Removed value: -"New records attributed to this run. Use its id in leads_list.workflowRunId to inspect them."
    • removedOutput schema / properties / runs / items / properties / headline / description
      Removed value: -"Agent's summary of the run, or null before one is reported."
    • changedOutput schema / properties / runs / items / properties / startedAt / description
      Previous value: -"Run start or queue time as Unix epoch milliseconds."New value: +"Unix epoch milliseconds."
    • removedOutput schema / properties / runs / items / properties / stepResults / description
      Removed value: -"Reported steps with their latest outcomes, notes and review-card links; empty before any step reports."
    • changedOutput schema / properties / runs / items / required
      Previous value: -[
      -  "id",
      -  "status"
      -]New value: +[
      +  "id",
      +  "status",
      +  "startedAt",
      +  "finishedAt",
      +  "headline",
      +  "error",
      +  "found",
      +  "stepResults"
      +]
  3. Changed2 schema fields changed
    • changedOutput schema / properties / runs / items / properties / found / properties / contacts / description
      Previous value: -"People first saved by this run."New value: +"Contacts first saved by this run."
    • addedOutput schema / properties / runs / items / properties / found / properties / people
      Added value: +{
      +  "description": "People this run added to a company's research list but not as contacts.",
      +  "type": "number"
      +}
  4. Changed17 schema fields changed
    • changedOutput schema / properties / runs / description
      Previous value: -"Newest runs first."New value: +"Run history for the requested workflow, newest first. Empty means no runs are recorded. Queued or running is unfinished; inspect error and stepResults on failed or abandoned runs."
    • addedOutput schema / properties / runs / items / properties / error / description
      Added value: +"Reported failure or abandonment reason, or null when none is recorded."
    • changedOutput schema / properties / runs / items / properties / finishedAt / description
      Previous value: -"Unix epoch milliseconds."New value: +"Completion time as Unix epoch milliseconds, or null while unfinished."
    • addedOutput schema / properties / runs / items / properties / found / description
      Added value: +"New records attributed to this run. Use its id in leads_list.workflowRunId to inspect them."
    • addedOutput schema / properties / runs / items / properties / found / properties / contacts / description
      Added value: +"People first saved by this run."
    • addedOutput schema / properties / runs / items / properties / found / properties / leads / description
      Added value: +"Companies first saved by this run."
    • addedOutput schema / properties / runs / items / properties / headline / description
      Added value: +"Agent's summary of the run, or null before one is reported."
    • changedOutput schema / properties / runs / items / properties / startedAt / description
      Previous value: -"Unix epoch milliseconds."New value: +"Run start or queue time as Unix epoch milliseconds."
    • changedOutput schema / properties / runs / items / properties / stepResults / description
      Previous value: -"Per-step outcomes and linked review cards."New value: +"Reported steps with their latest outcomes, notes and review-card links; empty before any step reports."
    • addedOutput schema / properties / runs / items / properties / stepResults / items / properties / at
      Added value: +{
      +  "description": "When this step reported, as Unix epoch milliseconds.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / runs / items / properties / stepResults / items / properties / gateUnmet
      Added value: +{
      +  "description": "True when a required approval step reported without a valid approval card as evidence.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / runs / items / properties / stepResults / items / properties / note
      Added value: +{
      +  "description": "Additional explanation, or null when omitted.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / runs / items / properties / stepResults / items / properties / outcome
      Added value: +{
      +  "description": "Agent-reported outcome text; this is not a fixed status enum.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / runs / items / properties / stepResults / items / properties / reviewItemId
      Added value: +{
      +  "description": "Linked review card ID for review_get, or null when none was created.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / runs / items / properties / stepResults / items / properties / stepId
      Added value: +{
      +  "description": "ID of the workflow step that reported this outcome.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / runs / items / properties / stepResults / items / required
      Added value: +[
      +  "stepId",
      +  "outcome",
      +  "note",
      +  "at",
      +  "reviewItemId",
      +  "gateUnmet"
      +]
    • addedOutput schema / properties / runs / items / properties / workflowVersion
      Added value: +{
      +  "description": "Workflow revision captured for this run; it may differ from the current workflow version.",
      +  "type": "number"
      +}
  5. Changed3 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"workflowId returned by workflows_list or a workflow write."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum recent runs; default 10. The API caps at 50 even when a larger value is supplied."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "runs": {
      +      "description": "Newest runs first.",
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "error": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "finishedAt": {
      +            "description": "Unix epoch milliseconds.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "found": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "contacts": {
      +                "type": "number"
      +              },
      +              "leads": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "leads",
      +              "contacts"
      +            ],
      +            "type": "object"
      +          },
      +          "headline": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Run ID for leads_list.workflowRunId.",
      +            "type": "string"
      +          },
      +          "startedAt": {
      +            "description": "Unix epoch milliseconds.",
      +            "type": "number"
      +          },
      +          "status": {
      +            "description": "Run state, such as queued, running, done, failed or abandoned.",
      +            "type": "string"
      +          },
      +          "stepResults": {
      +            "description": "Per-step outcomes and linked review cards.",
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {},
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "runs"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, it discloses newest-first ordering, the `runs` container, the meaning of an empty list, and that queued or running runs are unfinished. "Read-only" merely repeats the annotations, and much of the field inventory describes return shape rather than additional operational behavior.

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?

The description is front-loaded and dense, covering purpose, result interpretation, and a concrete cross-tool workflow in a short paragraph. The exhaustive second-sentence field catalog and final "Read-only" are somewhat redundant given the output schema and annotations, preventing maximum economy.

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?

Together with the fully documented input schema, output schema, and safety annotations, it supplies the scope, ordering, important run fields, empty-result semantics, active-run interpretation, and a path to related leads. No essential selection or invocation information appears to be missing.

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 coverage is 100%, and the schema already documents the workflow ID source and pattern plus the default and effective cap for `limit`. The description's "one workflow" and "newest first" reinforce those inputs but add no substantive parameter syntax or constraints, so the high-coverage baseline 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?

The opening line identifies the resource and scope precisely: run history for one workflow, ordered newest first and returned in `runs`. That scope separates it from workflow listing and lead inspection, and the later `leads_list` reference reinforces the boundary.

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 an explicit related-tool route: use a run ID with `leads_list.workflowRunId` when the goal is to inspect leads touched by that run. Combined with "Run history for one workflow," this clarifies both the tool's use case and when another resource is appropriate.

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.

Resources