Skip to main content
Glama
Allure TestOps MCP

Allure TestOps MCP

search_test_cases

Search test cases by RQL query to filter by custom fields, tags, names, and combined conditions, with pagination for large result sets.

Instructions

Search test cases by RQL query. RQL examples: cf["Feature"] = "Auth" — match custom field value; cf["Feature"] is empty — field not set; not cf["Feature"] = "Auth" — negation; cf["Suite"] = "API" and cf["Feature"] is empty — combined conditions; name ~ "login" — name contains substring; tag = "smoke" — filter by tag. Use page/size for pagination; the API may truncate large result sets.

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": {
      "rql": "<rql>"
    },
    "name": "search_test_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
rqlYesRQL query string. Operators: = (equals), ~ (contains), is empty (field not set), not (negation), and/or (combinators). Custom field syntax: cf["FieldName"]. Example: cf["Feature"] = "Auth"
pageNoPage number (0-based).
sizeNoPage size (default varies by server).
sortNo
projectIdNo
projectNameNoProject name (alternative to projectId).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It does disclose real behavior beyond the schema—pagination via page/size and the warning that "the API may truncate large result sets"—but it says nothing about result shape, the default page size actually used, or authorization requirements. "Search" implies a safe read operation, but that is inferred rather than stated.

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?

Dense and front-loaded: the purpose comes first, then the examples, then pagination caveats. However, the RQL example list partially duplicates the operator documentation in the schema, and the `sort` parameter is never mentioned.

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?

With six parameters, no annotations, no output schema, and only 67% schema coverage, the definition should account for the undisclosed parameters (`sort`) and the shape of the results. The truncation warning is valuable, but the definition does not mention the result fields or identifiers needed to chain calls, leaving notable gaps for a query tool.

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 coverage is 67%, and the description genuinely adds value for the most important parameter by providing worked RQL examples covering negation and combined conditions that the schema only summarizes abstractly. It adds nothing for `sort`, `projectId`, or `projectName`, which are undocumented in both places.

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?

"Search test cases by RQL query" names a specific verb and resource, and the RQL query-language framing separates it from simple listing tools such as list_test_cases. It does not name the closest sibling (search_test_cases_by_missing_field), even though that tool's purpose overlaps with the "is empty" operator documented here.

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 examples implicitly show when each RQL form applies (equality, emptiness, negation, combination, substring, tag). However, there is no explicit statement of when to use this tool instead of search_test_cases_by_missing_field, whose missing-field search overlaps with the "is empty" operator documented here; the reader must infer the correct choice.

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