Skip to main content
Glama

List runs

list_runs
Read-onlyIdempotent

Retrieve recorded worker runs newest first, filtered by status, origin, task key or automation, to inspect delegated coding outcomes such as PR links and verification notes.

Instructions

Recorded worker runs, newest first, with optional filters. Same data as devintern worker runs --json.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 50)
offsetNo
originNo
statusNo
taskKeyNoOnly runs of this task key
automationNoOnly runs of this automation id

Output Schema

NameRequiredDescriptionDefault
runsNo
totalNo
messageNo
errorCodeNoSet on failure: stable error code
nextStepsNoSet on failure: steps to run next (`command` runs on the worker host)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds two useful facts beyond that: results are ordered newest first and the payload matches `devintern worker runs --json`. It says nothing about pagination behavior or how filters combine, which would be the remaining behavioral gaps.

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?

Two short sentences with the resource and ordering front-loaded and no filler. The CLI-equivalence sentence is compact and potentially useful, though it is only meaningful to agents already familiar with that command.

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?

An output schema exists, so return values need not be described, and the tool is a simple filtered list. Still, for a six-parameter list tool the definition omits filter-combination semantics and any hint about paging through results, which are the details an agent most needs before invoking it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50% (offset, origin, and status carry no schema descriptions), and the description compensates with nothing more than the phrase 'optional filters'. It does not explain whether filters are ANDed, how origin/status interact, or what the enum values mean in practice, leaving the agent to infer from enum literals alone.

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 description names the resource (recorded worker runs) and states the ordering (newest first) plus that filters are optional, which is enough to distinguish a list operation from the singular get_run sibling. It never explicitly contrasts with get_run or list_automations, so differentiation is inferred rather than stated.

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 or when-not-to-use guidance; the description never says to prefer get_run for a single run or list_automations for automation definitions. The only usage hint is the CLI equivalence note, which presumes the agent knows that command's semantics.

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