Skip to main content
Glama

List a test's runs

list_test_runs
Read-only

The runs of one saved test, newest first: each with its runUuid, status (PASSED, FAILED, WARNING, ERROR, CANCELLED, or still QUEUED or RUNNING), what started it, when, how long it took, and the step that failed. Read one with get_test_run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uuid": "<uuid>"
    },
    "name": "list_test_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesThe test's uuid
limitNoHow many (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is known. The description adds real behavior beyond that: results are ordered newest first, and each item carries status values including in-flight states (QUEUED, RUNNING) alongside terminal ones, which tells the agent results can change between calls.

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?

One sentence carries the resource, ordering, and returned fields, followed by a single short routing sentence. It is front-loaded with the scoping fact and contains no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 takes on the burden of describing returns and does so thoroughly — field list, status enumeration, ordering — while the annotations cover safety. An agent can call this correctly without further information.

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 100%, with both uuid and limit fully documented, so the baseline is 3. The description reinforces that uuid scopes to a single saved test but adds no syntax, default, or cap details 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?

States a specific verb and resource with scope: 'The runs of one saved test, newest first.' It also enumerates the fields returned (runUuid, status, trigger, timing, failed step), so the agent knows exactly what it gets and can distinguish it from get_test_run, which it names.

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?

Explicitly routes single-run retrieval to get_test_run ('Read one with get_test_run'), giving a clear alternative and the condition that selects it. It stops short of stating exclusions (e.g., cross-test or dataset-level run listing), so it is clear context rather than a full when/when-not rule set.

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