Skip to main content
Glama

list_runs

Read-onlyIdempotent

List the account's task runs, newest first — delegated jobs and scheduled tasks alike. Filter by status or task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoDefault 20.
statusNoOnly runs in this state.
task_idNoOnly runs of this task (task_...).
ending_beforeNoReturn the page before this id — the first id from the previous page.
starting_afterNoReturn the page after this id — the last id from the previous page.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
objectYes
has_moreYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / data / items / properties / next_step
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / items / properties / wait_timed_out
      Added value: +{
      +  "description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "running",
      -  "completed",
      -  "failed",
      -  "needs_input",
      -  "timed_out",
      -  "unknown"
      -]New value: +[
      +  "pending",
      +  "running",
      +  "completed",
      +  "failed",
      +  "needs_input",
      +  "timed_out",
      +  "unknown",
      +  "skipped"
      +]
    • changedOutput schema / properties / data / items / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "running",
      -  "completed",
      -  "failed",
      -  "needs_input",
      -  "timed_out",
      -  "unknown"
      -]New value: +[
      +  "pending",
      +  "running",
      +  "completed",
      +  "failed",
      +  "needs_input",
      +  "timed_out",
      +  "unknown",
      +  "skipped"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "running",
      -  "completed",
      -  "failed",
      -  "needs_input",
      -  "timed_out"
      -]New value: +[
      +  "pending",
      +  "running",
      +  "completed",
      +  "failed",
      +  "needs_input",
      +  "timed_out",
      +  "unknown"
      +]
    • changedOutput schema / properties / data / items / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "running",
      -  "completed",
      -  "failed",
      -  "needs_input",
      -  "timed_out"
      -]New value: +[
      +  "pending",
      +  "running",
      +  "completed",
      +  "failed",
      +  "needs_input",
      +  "timed_out",
      +  "unknown"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "running",
      -  "completed",
      -  "failed",
      -  "needs_input"
      -]New value: +[
      +  "pending",
      +  "running",
      +  "completed",
      +  "failed",
      +  "needs_input",
      +  "timed_out"
      +]
    • changedOutput schema / properties / data / items / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "running",
      -  "completed",
      -  "failed",
      -  "needs_input"
      -]New value: +[
      +  "pending",
      +  "running",
      +  "completed",
      +  "failed",
      +  "needs_input",
      +  "timed_out"
      +]
  5. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real behavior beyond them: the result ordering (newest first) and the fact that both delegated jobs and scheduled tasks are included. It does not discuss pagination semantics, though the cursor parameters are documented in the schema.

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?

A single compact sentence with the resource, ordering, scope, and filters front-loaded; every clause carries information and nothing is repeated from the schema.

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?

With an output schema present, return values need no explanation, and all five parameters are documented in the schema. The only minor gap is that pagination behavior is left entirely to the schema descriptions rather than being surfaced in the tool description.

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?

Schema description coverage is 100%, so limit, status, task_id, and both cursors are fully documented structurally, making 3 the baseline. The description names the status and task filters but adds no format, enum, or default detail beyond the schema.

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?

Specific verb (List) plus resource (the account's task runs) and it defines what counts as a run — 'delegated jobs and scheduled tasks alike' — which meaningfully separates it from get_run, get_script_run, and wait_for_run. The ordering guarantee ('newest first') is stated up front.

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 indicates the purpose of the two filter parameters, so usage is implied, but it never says when to prefer this over a single-run sibling (get_run) or when not to use it. No explicit alternatives or prerequisites are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources