Skip to main content
Glama

List test runs

list_test_runs
Read-onlyIdempotent

List recent runs for a test (test_id) or a whole project (project_id), newest first, with result, status, metrics, target version/commit and timing.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 20, max 100)
test_idNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety needs no restating. The description adds genuine value by enumerating the returned fields (result, status, metrics, target version/commit, timing) and the newest-first ordering, but says nothing about pagination beyond limit or what scope applies when neither id is supplied.

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 dense sentence, front-loaded with the verb and the two scope options, then the ordering and returned fields. No filler or redundant restatement of the title.

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?

Three optional parameters, no output schema, so the description correctly spends its words on the returned fields. However, with zero required parameters the default behavior when both ids are omitted is a material gap, as is pagination beyond the limit cap.

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 33%: only limit is documented in the schema. The description compensates partially by explaining that test_id scopes to a single test and project_id to a whole project, which is real semantic value. It does not resolve the important ambiguity of what happens when both or neither are passed.

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?

States a specific verb (list) and resource (test runs) plus the two scoping modes (test_id or project_id) and the ordering (newest first). An agent can distinguish this from get_test_run by the plural list framing and the project-wide option, though the sibling is never 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?

Implied usage is clear: use it to enumerate runs for a test or a project. There is no explicit when-not-to-use guidance and no named alternative (e.g. get_test_run for a single run), 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