Skip to main content
Glama

get_workflow_status

Read a workflow run's execution state, task associations, and child run links to check progress, pending approvals, and whether input is needed.

Instructions

Read a workflow run's execution state and task associations.

Child runs of Run workflow nodes report their parent and root links, orchestrator mode and session owner, input source, tree settling state and per-execution child invocation status. Public controls on a child id are refused with the root run id. Resolved attention reasons are omitted on active runs. Workflow approval read failures appear as bounded approval_summary.read_errors, separately from known pending or uncertain approvals. interaction_state reports qualified caller liveness, advisory human Monitor availability and any persisted handover audit. Unknown caller identity never authorizes handover; server death alone is insufficient. resumed_at (Unix seconds) appears once the caller has resumed or answered the run. fields selects reply keys (workflow_run_id, status, created_at and updated_at are always included; while the run needs_input its question fields stay). Values equal the unprojected reply, which is read first, so derived status and managed-caller summaries are unchanged.

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": {
      "workflow_run_id": "<workflow_run_id>"
    },
    "name": "get_workflow_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNo
workflow_run_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose substantive behavior: public controls on a child id are refused with the root run id, resolved attention reasons are omitted on active runs, approval read failures surface as bounded approval_summary.read_errors, and unknown caller identity never authorizes handover. These are genuine operational traits beyond the schema. It stops short of stating the tool is strictly read-only or how large responses can get.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded, but the remainder is a dense block of undefined internal jargon ('tree settling state', 'advisory human Monitor availability', 'persisted handover audit') with no grouping or bullet structure. Length is not the issue so much as parseability; several clauses could be trimmed or organized by return-field group.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, so most of the text explaining return fields is partly redundant with structured data, while the missing piece is guidance on selection among the many workflow/task read siblings. It is complete on edge-case semantics but incomplete on invocation context.

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 description coverage is 0%, so the description must compensate, and it does for 'fields': it names the always-included keys (workflow_run_id, status, created_at, updated_at), explains that question fields persist while needs_input, and notes values equal the unprojected reply. The required 'workflow_run_id' is only implicitly characterized via the child/root link discussion, leaving one gap.

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 opening sentence gives a specific verb and resource: 'Read a workflow run's execution state and task associations.' That is a clear purpose. However, it never distinguishes itself from close siblings such as get_workflow_run_detail or get_task_status, so the agent must infer which read tool to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance, no preconditions, and no named alternative. The body discusses edge-case semantics (child runs, refusals, approvals) but never tells the agent what situation should lead it to call this tool rather than a sibling.

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