Skip to main content
Glama

List runs

list_runs
Read-only

Lists workflow runs (last 30 days and every run still waiting, newest first), optionally for one workflow and one of the console's Executions filters: in_progress (running or waiting), failed, waiting, interrupted, or by source (api, webhook, event for automations, test for Studio tests). Each run has its status, source, version, credits, duration, and failure (code, step, and Kovca's own message). Metadata only.

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
limitNoAt most this many runs (default 20).
filterNoOne of the Executions filters (default all).
workflow_idNoA workflow ID, like wf_…

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "description": "One of the Executions filters (default all).",
      +  "enum": [
      +    "all",
      +    "in_progress",
      +    "failed",
      +    "waiting",
      +    "interrupted",
      +    "api",
      +    "webhook",
      +    "event",
      +    "test"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / maximum
      Previous value: -100New value: +200
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the non-obvious traits: a 30-day retention window, inclusion of all still-waiting runs regardless of age, newest-first ordering, and "Metadata only" (no payloads returned). The one gap is that it does not say what happens when more than limit runs match or how to page past the 200 cap.

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?

Front-loaded with the core scope in the first clause, then filters, then return shape, then the "Metadata only" caveat — a sensible order. It is dense and the parentheticals stack up, but each clause carries distinct information rather than restating 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 no output schema, the description usefully enumerates the per-run fields (status, source, version, credits, duration, failure detail including the error message) so the agent knows what it can rely on. For a simple read-only list tool this is close to complete; only pagination behavior beyond limit is unaddressed.

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 100%, so baseline is 3, but the description genuinely enriches the enum: it decodes in_progress as "running or waiting" and explains that event means automations and test means Studio tests, which the bare enum values do not convey. It also frames filter as mirroring the console's Executions filters, giving the agent a mental model for the values.

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?

Opens with a specific verb+resource ("Lists workflow runs") and immediately bounds the scope to the last 30 days plus every still-waiting run, newest first. That scope statement is what separates it from a general history dump, and "Metadata only" hints it is the shallow counterpart to get_run, but no sibling is named explicitly.

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?

The description explains what each Executions filter means and that workflow_id narrows to a single workflow, which implies when each option applies. It never states when to reach for get_run, list_waits, or list_workflows instead, so the routing decision is left to inference.

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