Skip to main content
Glama

List Batch Runs

listBatchRuns
Read-onlyIdempotent

List the batch runs in your workspace across every batch, newest first: each has an id, batchId, status (pending, running, completed, failed or partial), a summary (total, pending, running, passed, failed, error), the test run ids it started, times, and triggeredBy (manual, schedule with its scheduleId, or rerun). Takes no parameters. Use when: the user asks how batches have been doing. Name a batch with getBatch. For which tests passed or failed in one run use getBatchRun. Read-only. Needs testing:read.

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": "listBatchRuns"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
runsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the description does not need to argue safety, yet it still adds the auth requirement ('Needs testing:read') and the ordering guarantee ('newest first'). The remaining behavioral detail it supplies is mostly a restatement of the result fields, which the output schema already carries, so it stops short of the top score.

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 scope, then parameters, then the routing guidance, so an agent can stop reading early and still act correctly. It is dense but slightly over-specified where it enumerates every status value and summary counter, which the output schema already documents.

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?

For a zero-parameter read tool with annotations and an output schema, everything an agent needs before calling is present: scope, ordering, auth scope, and how to drill down. The extra field listing is redundant rather than a missing piece, so completeness is not harmed.

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?

The tool takes no parameters, so there is nothing to disambiguate; the description still confirms 'Takes no parameters,' which prevents an agent from hunting for a required workspace or filter argument. With zero parameters this lands at the baseline expectation.

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 ('List the batch runs') plus scope ('in your workspace across every batch, newest first'), which immediately separates it from single-batch and single-run siblings. The enumerated return fields (id, batchId, status, summary, triggeredBy) further pin down exactly what the list contains.

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

Usage Guidelines5/5

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

Explicit when-to-use is given ('the user asks how batches have been doing') along with two named alternatives and the conditions that select them: getBatch to name a batch, getBatchRun for pass/fail detail in one run. Nothing 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.