Skip to main content
Glama

List Test Cases In A Run

list_run_test_cases
Read-only

Retrieve per-case execution records from a manual test run, including caseKey, assignee, and status. Filter by assignee or result to find rtcRefs before updating test cases.

Instructions

Get the per-case execution records inside a manual run — what the UI shows as rows in the run's test-case table. Each row carries the test case identity (caseKey like "TC-156", title), the current assignee, and the current result/status ("untested", "passed", "failed", etc.). Filter by assignee (email or User _id) or result/status. Use this before update_run_test_case so you have the rtcRef for each case you want to update.

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNoDefault 25
runIdYesInternal run _id or counter-style ID e.g. "RUN-12"
resultNoFilter by result/status. Display ("Passed") or canonical ("passed") form.
searchNoMatch by case title or caseKey
sortByNo
statusNoAlias for `result`. Same normalization rules.
assigneeNoFilter by assignee — User _id OR email (server resolves).
projectIdYesProject ID
sortOrderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv2.2.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / assignee / description
      Previous value: -"Filter by assignee — User _id OR email (server resolves email)."New value: +"Filter by assignee — User _id OR email (server resolves)."
    • changedInput schema / properties / limit / description
      Previous value: -"Default 25 (max 200)."New value: +"Default 25"
    • addedInput schema / properties / limit / maximum
      Added value: +200
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / page / minimum
      Added value: +1
    • changedInput schema / properties / page / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / projectId / description
      Previous value: -"Project ID (required)."New value: +"Project ID"
    • changedInput schema / properties / result / description
      Previous value: -"Filter by result/status. Display ('Passed') or canonical ('passed') form."New value: +"Filter by result/status. Display (\"Passed\") or canonical (\"passed\") form."
    • changedInput schema / properties / runId / description
      Previous value: -"Internal run _id or counter-style ID e.g. 'RUN-12' (required)."New value: +"Internal run _id or counter-style ID e.g. \"RUN-12\""
    • changedInput schema / properties / search / description
      Previous value: -"Match by case title or caseKey."New value: +"Match by case title or caseKey"
    • changedInput schema / properties / status / description
      Previous value: -"Alias for result."New value: +"Alias for `result`. Same normalization rules."
  2. Addedv1.0.10

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true already covers safety, but the description adds real value the annotation does not: the shape of each returned row (caseKey like "TC-156", title, current assignee, current result/status values such as "untested"/"passed"/"failed"). It does not mention pagination behavior or what a filtered-empty response looks like, so not a 5.

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 sentences, front-loaded with the core purpose before the return-shape detail and the workflow hint. Slightly dense with parenthetical asides, but no sentence is padding.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and 10 parameters, the description carries the burden of explaining the return payload, and it does so at the row level. It never explicitly states that the field consumed by update_run_test_case is named 'rtcRef' in the response or how paging totals are returned, leaving minor gaps for a tool of this size.

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 70%, which sets a baseline of 3. The description reinforces assignee ('email or User _id') and result/status filtering, matching what the schema already says, but adds nothing about page, limit, search, sortBy, or sortOrder — so no credit beyond the baseline.

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?

Specific verb+resource: 'per-case execution records inside a manual run', clarified with the concrete analogue 'rows in the run's test-case table'. That scope distinguishes it cleanly from list_manual_runs (runs) and get_manual_run (run metadata) without needing their schemas.

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?

Gives an explicit workflow rule: 'Use this before update_run_test_case so you have the rtcRef for each case you want to update', plus the filter conditions it supports. It names the follow-up tool rather than a competing alternative and states no when-not-to-use case, so it falls just short of a 5.

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