Skip to main content
Glama

get_workflow_artifacts

Lists page artifact references for a workflow run and linked child runs, including availability and owner status, so you can inspect registered outputs without reading files.

Instructions

Page artifact references registered by the attempts of a workflow run and its linked child runs.

References are metadata only (path, kind, note, a stat observation); nothing is read, copied or validated. Each item carries workflow (run, node, execution, role, attribution) and current availability. execution_id selects one node execution; a native subagent has no channel of its own, so references its controller registered appear under that execution with attribution: native_transport. owners lists only owners whose references could not be read (unavailable, record_removed, run_unavailable). state: unavailable with reason catalog_preparing or catalog_stale means retry; tree_bound_exceeded (over 64 runs) is final. Page with next_cursor (positional, so owners appended behind it appear only on a new pass). Authority: a verified human reads any run; a delegation orchestrator reads its own run and linked descendants; workers, native transports, builders and standalone task callers are refused (a worker reads its own task with get_task_artifacts).

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_artifacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
task_idNo
execution_idNo
workflow_run_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A4.7/5.0
Behavior5/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 so: it discloses that references are metadata only and nothing is read, copied or validated, explains the availability/owners states, and describes the positional cursor caveat that owners appended behind a cursor only appear on a new pass. It also spells out the authority model that determines whether a caller gets data at all.

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 content is front-loaded — purpose first, then semantics, then paging, then authority — with no filler sentences. The parenthetical shorthand (e.g. '(run, node, execution, role, attribution)', '(a worker reads its own task with get_task_artifacts)') is dense but readable, though the paragraph runs long for a single block.

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

Completeness4/5

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

Return values need not be described because an output schema exists, and the description covers the remaining high-risk areas: permissions/authority, retryable vs terminal states, and cursor behavior. The only meaningful gap is the undocumented task_id parameter and any limits on page size.

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 most parameters: execution_id is explained as selecting one node execution (including the native_transport attribution case) and the cursor/next_cursor paging behavior is described. However, task_id is never mentioned and limit's bounds/default are not characterized, leaving one of five parameters unexplained.

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 first sentence gives a specific verb (page), a specific resource (artifact references registered by attempts), and a precise scope (a workflow run plus its linked child runs). It is clearly distinguishable from the sibling get_task_artifacts, which is named as the task-scoped counterpart.

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?

The definition states explicit exclusions and alternatives: workers, native transports, builders and standalone task callers are refused, and 'a worker reads its own task with get_task_artifacts' names the substitute. It also gives actionable retry guidance (catalog_preparing/catalog_stale means retry; tree_bound_exceeded over 64 runs is final).

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