Skip to main content
Glama
qa-triage-mcp
by mnawaz6935

List runs

list_runs
Read-only

Retrieve recent test runs, newest first, with pass/fail counts, filtering by Git branch and limiting results to review CI outcomes.

Instructions

Recent test runs, newest first, with pass/fail counts.

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
limitNo
branchNoGit branch, e.g. main

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds ordering (newest first) and result content (pass/fail counts), which is useful context, but says nothing about how many runs are returned by default or how to page beyond them.

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 tight sentence with the sort order and payload highlighted up front; nothing is wasted. It is perhaps too terse for the guidance it omits, but structurally clean.

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?

An output schema exists, so return-shape explanation is unnecessary, and the description correctly implies this is a read-only listing. However, for a paginated list tool with a default limit of 10, the absence of paging/volume guidance and any tie-in to the two parameters leaves a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: branch carries its own description, while limit has just a default/min/max constraint and no prose. The description mentions neither the limit nor the branch filter, so it adds no meaning beyond the schema and leaves the default-of-10 behavior undocumented.

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?

Names the specific resource (test runs) and adds scope detail — 'recent', 'newest first', 'with pass/fail counts' — so an agent knows it is a list of recent runs rather than a single run fetch. It does not, however, distinguish itself from siblings like test_history or compare_runs, leaving the agent to infer which listing tool to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says when to pick this over test_history, compare_runs, or get_run_failures. The 'recent' qualifier hints at a recency window, but no exclusion or alternative is stated.

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