Skip to main content
Glama

Start test run

start_test_run

Start a test run in a project. By default includes all of the project's test cases. Optionally scope the run to specific folders (folderIds, includes descendant folders) and/or specific cases (caseIds) — either one overrides includeAllCases. Optionally set a title, cycle and environment.

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": {
      "project": "<project>"
    },
    "name": "start_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional run title.
caseIdsNoOptional: scope the run to exactly these test case ids. Overrides includeAllCases.
cycleIdNoOptional cycle id (from get_cycles).
projectYesProject id to start the run in. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted.
folderIdsNoOptional: scope the run to these folder ids (descendant folders included). Overrides includeAllCases.
environmentIdNoOptional environment id (from get_environments).
includeAllCasesNoInclude all project cases (default true). Ignored when folderIds or caseIds is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Project id to start the run in. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id to start the run in. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-readOnly, non-destructive, non-idempotent, closed-world, so the safety profile is covered. The description adds genuinely useful behavior: the run defaults to all project cases, and either scoping list silently overrides includeAllCases, with descendant folders pulled in. It stops short of noting that retries may create duplicate runs or what is returned.

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?

Three front-loaded sentences that lead with the action and default, then scope, then optional metadata. Minor redundancy with the schema's own parameter descriptions keeps it from being maximally tight.

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 creation tool with no output schema, the description covers scope but omits what the call yields (a run id or run object) and whether repeating the call duplicates a run given idempotentHint=false. Adequate to invoke, incomplete for chaining follow-up calls.

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 description coverage is 100%, so every parameter, including the project-id-vs-name constraint and the cycle/environment source tools, is already documented structurally. The description's override and descendant-folder notes largely restate those schema descriptions rather than adding new meaning, so the baseline 3 applies.

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 ('Start a test run in a project') and immediately clarifies the default scope (all project cases). The creation semantics are distinct from the sibling tools that close, update, or list runs, so an agent can select it without opening the schema.

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?

The description explains intra-tool selection (includeAllCases vs folderIds vs caseIds) but never states when to prefer this over siblings like update_test_run, close_test_run, or create_cycle, nor any prerequisites. Usage is implied by the default-behavior sentence rather than explicitly guided.

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.