Skip to main content
Glama

List recent runs

list_runs
Read-onlyIdempotent

Recent workflow, agent and pipeline runs, newest first, optionally for one workflow, agent, pipeline or status, with cost.

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
kindNoOnly one kind of run. Default all.
limitNoHow many to return (default 10).
statusNo
agent_idNoOnly this agent's runs.
share_idNoOnly runs of this share page.
pipeline_idNoOnly this pipeline's runs.
workflow_idNoOnly this workflow's runs (including its share pages' runs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Only workflow runs or only agent runs. Default both."New value: +"Only one kind of run. Default all."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "workflow",
      -  "agent"
      -]New value: +[
      +  "workflow",
      +  "agent",
      +  "pipeline"
      +]
    • addedInput schema / properties / pipeline_id
      Added value: +{
      +  "description": "Only this pipeline's runs.",
      +  "type": "string"
      +}
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "queued",
      -  "running",
      -  "paused",
      -  "awaiting_approval",
      -  "completed",
      -  "failed",
      -  "cancelled"
      -]New value: +[
      +  "pending",
      +  "queued",
      +  "running",
      +  "paused",
      +  "awaiting_approval",
      +  "waiting",
      +  "completed",
      +  "failed",
      +  "cancelled"
      +]
  2. First observed

TDQS

B3.4/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 openWorldHint=false, so safety is covered without the description. The description adds ordering (newest first) and the fact that cost comes back with each run, but says nothing about pagination, result caps, or scope of 'recent'.

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?

A single front-loaded sentence with no filler; the duplicate enumeration of workflow/agent/pipeline in the filter clause is mildly redundant but costs little. Information density is high for its length.

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?

For a 7-parameter list tool with no output schema, the definition never conveys what a run record contains beyond cost, nor the default page size behavior. Rich annotations and a well-described schema carry most of the load, leaving the description adequate but thin.

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 coverage is 86%, so the schema already documents kind, limit, status and the id filters. The description echoes the workflow/agent/pipeline/status filters but adds no syntax or precedence detail, and omits mention of kind, limit and share_id entirely.

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 (runs), the covered run kinds (workflow, agent, pipeline), the ordering (newest first) and the filterable dimensions plus cost. That is specific enough to separate it from siblings like list_test_runs, though it never explicitly excludes test runs.

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?

Usage is only implied: 'recent runs' tells an agent this is the browsing entry point, and the optional filters hint at narrowing. There is no explicit when-to-use or when-to-prefer-an-alternative guidance (e.g. versus list_test_runs or list_run_files).

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