Skip to main content
Glama

list_workflow_run_page

Retrieve a paginated, newest-first page of workflow run headers, filtered by workflow, repo, status, title, or date range, with cursors for continued browsing.

Instructions

Stable newest-first run headers, with bounded ancestor/session-owner lookups.

Deferred explicit run_ids and ancestor reads report preparation; preserve loaded headers and retry the read. Oversized or unsupported metadata reports blocked diagnostics with incomplete counts, without publishing unknown placeholder outcomes. A header's optional resumed_at (Unix seconds) is the caller's last continuation; it is absent if never resumed, unlike updated_at, which changes on every write.

Optional filters narrow the page: workflow_id (stable workflow identity), repo (exact recorded repo path), status (list of run statuses: pending, starting, building, running, pausing, paused, needs_input, needs_attention, cancelling, completed, failed, cancelled; the indexed status shown on each item), since (inclusive) and before (exclusive) ISO8601 created_at bounds with timezone, title_contains (case-insensitive run name text) and scope (all, the default; root; nested child runs). Runs have no group, so there is no group filter. Filters cannot be combined with run_ids or related_run_id. A filtered page examines at most 2000 catalog rows after its cursor and never computes a filtered total (total_active_count is null). When that window ends before the page fills, the reply has scan_incomplete true, any matches so far, and a next_cursor after the last examined row: keep calling with it until has_more is false. A cursor is bound to the filters that produced it. fields selects item keys (workflow_run_id, status, created_at and updated_at are always included; while a run needs_input its question fields stay); values equal the unprojected reply.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_workflow_run_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNo
limitNo
scopeNo
sinceNo
beforeNo
cursorNo
fieldsNo
statusNo
run_idsNo
active_onlyNo
workflow_idNo
related_run_idNo
title_containsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A4/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so: it discloses newest-first ordering, preparation/deferred states, blocked diagnostics with incomplete counts, scan_incomplete/next_cursor semantics, the 2000-row window, and cursor-to-filter binding. It also explains resumed_at vs updated_at. It doesn't mention permissions or side-effect profile, but as a list operation the read-only nature is implied.

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 text is dense but front-loads the core purpose and avoids repetition; length is justified by 13 parameters and many edge cases. It would read better as structured bullets, but the information density is appropriate.

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?

For a 13-parameter paginated read with no annotations and an output schema, the description covers most behavioral states and filter interactions. It is still missing explicit documentation for limit/active_only and does not route to sibling list tools, so completeness is strong but not exhaustive.

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 coverage is 0%, so the description must supply parameter meaning; it documents repo, workflow_id, status values, since/before ISO8601 bounds, title_contains, scope, fields projection, and cursor binding. It leaves limit and active_only undocumented and gives only partial semantics for run_ids and related_run_id, so it does not fully compensate for 13 undocumented parameters.

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 states the resource and ordering ('Stable newest-first run headers') and the page/filter model, so an agent can identify it as a paginated workflow-run listing. It does not explicitly contrast with sibling list_workflow_runs or get_workflow_run_detail, so sibling differentiation is absent.

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

Usage Guidelines3/5

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

It gives explicit pagination behavior ('keep calling with it until has_more is false'), filter constraints ('Filters cannot be combined with run_ids or related_run_id'), and retry guidance for deferred reads. But it never states when to choose this page tool over list_workflow_runs or when to use detail endpoints, leaving alternative routing implicit.

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