Skip to main content
Glama

List test cases

get_test_cases
Read-only

List test cases in a project (optionally within a folder) for the authenticated workspace. Returns each case's id, title, status and key fields. displayValue is a TEXT field's plain text, with an image shown as [image: file name]. value is the stored value (plain text or a rich-text document) and is what update_test_case accepts; displayValue is not accepted back, and plain text sent to a field with images is refused (FIELD_IMAGES_WOULD_BE_REMOVED).

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

Input Schema

NameRequiredDescriptionDefault
folderNoOptional folder id to restrict the listing.
projectYesProject id to list test cases from. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Project id to list test cases from. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id to list test cases from. 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.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds genuinely new behavior: which fields come back, what displayValue versus value mean, and a concrete failure mode (FIELD_IMAGES_WOULD_REMOVED when plain text is sent to an image-bearing field). That is meaningful context beyond the annotations, though nothing is said about result limits, ordering, or pagination.

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?

Purpose and scope are front-loaded in the first sentence, and there is no filler. The third sentence is dense and reads like field documentation that partly belongs with update_test_case, but it is the only place the return-value contract is stated, so it earns its space.

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, the description correctly takes on the burden of describing return fields (id, title, status, key fields) and the value/displayValue round-trip contract, which is exactly what an agent needs before chaining into update_test_case. Gaps remain around pagination, total counts, and default ordering for a listing endpoint.

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%, and the schema already explains that project must be the numeric id from get_projects (not a name) and that folder restricts the listing. The description restates the folder option without adding syntax, defaults, or constraints beyond the schema, so the baseline 3 applies.

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 and resource with scope: 'List test cases in a project (optionally within a folder) for the authenticated workspace.' An agent can tell this is a filtered listing, not a single-case fetch. It never names its closest siblings (get_test_case, search_test_cases) to sharpen the distinction, so it falls short of a 5.

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?

Usage is only implied by the name and the word 'List'; there is no explicit statement of when to prefer this over search_test_cases (for querying) or get_test_case (for a single case). The folder parameter hints at narrowing scope but no exclusion or alternative routing is given.

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.