Skip to main content
Glama

List Test Cases

list_test_cases

Retrieve test cases from a QA Sphere project with pagination, sorting, and filters by folder, tag, priority, and more.

Instructions

List test cases from a project in QA Sphere. Supports pagination and various filtering options. Usually it makes sense to call get_project tool first to get the project context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination
tagsNoFilter by tag IDs
draftNoFilter draft vs published test cases
limitNoNumber of items per page
typesNoFilter by test case type
searchNoSearch term to filter test cases
foldersNoFilter by folder IDs
includeNoRelated data to include in the response (not present by default)
sortFieldNoField to sort results by
sortOrderNoSort direction (ascending or descending). Requires sortField.
prioritiesNoFilter by priority levels
projectCodeYesProject code identifier (e.g., BDI)
customFieldsNoFilter by custom field values. Keys are custom field system names (without the `cf_` prefix); values are arrays of allowed values.
requirementIdsNoFilter by requirement IDs
templateTCaseIdsNoFilter filled test cases by their parent template test case IDs

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesList of test cases
pageYesCurrent page number
limitYesNumber of test cases per page
totalYesTotal number of filtered test cases
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It mentions pagination and filtering support but does not disclose default pagination behavior, response structure (though output schema exists), or any side effects. It also does not address authentication, rate limits, or data modification. The description is adequate but not thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise: two sentences with no redundant information. The first sentence states the core function, and the second provides a helpful usage hint. Every sentence is purposeful.

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?

Given the tool's complexity (15 parameters) and the presence of an output schema, the description provides minimal additional context beyond the usage hint. It could mention related tools like list_folders or list_requirements for filtering, or explain typical workflows. The absence of annotations also reduces completeness. Rating 3 reflects adequate but not comprehensive context.

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?

All 15 parameters have descriptions in the input schema (100% coverage), so the description does not need to add much detail. It only mentions 'pagination and various filtering options,' which is a minimal addition. The schema already handles parameter semantics, so the description adds marginal value.

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?

The description clearly states the action ('List') and the resource ('test cases from a project in QA Sphere'). It is distinct from sibling tools like get_test_case (single case) or create_test_case, but does not explicitly differentiate from list_requirements or list_shared_preconditions. The resource is well-defined.

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 provides a usage hint: 'Usually it makes sense to call get_project tool first to get the project context.' This indicates a prerequisite but does not explain when to use this tool versus alternatives like get_test_case for a single case, or when not to use it. No explicit exclusions or alternative comparisons are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hypersequent/qasphere-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server