Skip to main content
Glama

search_test_cases

Search test cases in a QMetry project with optional filters (status, priority, labels, components, assignee, free text). Returns paginated results with ID, key, version, archived flag, or recursive folder counts when using folderId.

Instructions

Search test cases in a project with optional filters. Returns total count and paginated data with id, key, version info, archived flag. Use status/priority name strings (e.g. 'To Do', 'High') not IDs. projectId must be numeric (10011). Set recursive=true with a folderId to count across all subfolders (returns total only, no data).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesJira project numeric ID (e.g. 10011)
labelsNoFilter by labels
componentsNoFilter by components
recursiveNoIf true and folderId is set, counts test cases across all subfolders recursively. Returns { total, folderCount } only.
folderIdNoFilter by folder ID
statusNoFilter by status values
priorityNoFilter by priority values
assigneeNoFilter by assignee Jira account IDs
queryNoFree-text search query
startAtNoPage offset (default 0)
maxResultsNoItems per page (max 100, default 50)
sortNoSort e.g. "id:asc" or "updated:desc"
fieldsNoComma-separated fields to return
Behavior4/5

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

No annotations provided, but description discloses key behaviors: returns total count and paginated data with specific fields, recursive mode returns only total/folderCount, projectId must be numeric. Adequate for a search tool.

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?

Three concise sentences, each providing essential information without redundancy. Front-loaded with purpose, then critical usage details.

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?

Covers return structure (total, paginated data with fields) and behavior (recursive mode). No output schema, but description sufficiently sets expectations. Could mention default pagination, but schema covers that.

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?

Schema has 100% coverage, but description adds value by clarifying that status/priority are string names, projectId is numeric, and recursive mode behavior. This goes beyond the schema descriptions.

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?

The description clearly states the tool searches test cases in a project with optional filters and returns paginated data. It distinguishes from sibling tools (e.g., search_test_cycles, search_test_plans) by focusing on test cases.

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?

Provides specific guidance on using status/priority name strings instead of IDs, and explains the recursive mode behavior. Lacks explicit alternative tool mentions, but the context is sufficient for correct invocation.

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/salehrifai42/qmetrymcp'

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