Skip to main content
Glama

list_runs

List workflow runs with filters for status, branch, workflow, actor, or pull request number to find specific runs.

Instructions

List workflow runs with filtering. Filter by status (success/failure/cancelled/skipped/in_progress), branch, workflow name, actor, or PR number. Example: list_runs(status="failure") to find failed runs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actorNoFilter by actor (GitHub username who triggered the run)
limitNoMaximum number of runs to return
branchNoFilter by branch name
statusNoFilter by run status: success, failure, cancelled, skipped, or in_progress
end_dateNoEnd date (YYYY-MM-DD)
pr_numberNoFilter by pull request number
start_dateNoStart date (YYYY-MM-DD)
workflow_nameNoFilter by workflow name
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the basic operation (listing and filtering) but omits behavioral details like pagination behavior, default ordering, or whether it returns only recent runs. The limit parameter hints at pagination but is not explained.

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

Conciseness5/5

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

The description is two sentences plus an example, all front-loaded and efficient. Every sentence serves a purpose without wasted words.

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?

Given the tool has 8 parameters and no output schema, the description covers the main functionality and filtering options. However, it misses details like result ordering or default limit, which would make it more complete for an agent.

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?

The schema description coverage is 100%, so baseline is 3. The description adds marginal value by listing filters inline and providing an example, but does not add significant meaning beyond what the schema already provides.

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 description clearly states the tool lists workflow runs with filtering, distinguishing it from sibling tools like get_run (single run) or list_jobs (jobs). The verb 'list' is specific and the resource 'workflow runs' is explicit.

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

Usage Guidelines4/5

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

The description provides filtering options and an example usage, giving practical context. However, it lacks explicit guidance on when to use this tool versus alternatives like get_run or compare_test_runs, or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/grahamnotgrant/blacksmith-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server