Skip to main content
Glama

Robot Actions — Remote Device Control

testrail_find_cases

Search a TestRail project for cases whose title contains the given text (case-insensitive substring), walking ALL pages server-side. USE THIS — not testrail_list_cases — to check whether a case already exists before calling testrail_create_case, because it cannot be fooled by a truncated page. Returns only matching cases plus scanned/capReached so a "no matches" answer can be trusted. Narrow with sectionId/suiteId to scan less.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesText to look for inside case titles (case-insensitive substring)
compactNoReturn only id + title per match instead of all 7 fields
suiteIdNoOptional suite scope
projectIdYesTestRail project id
sectionIdNoOptional section scope

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It clearly states the full-pagination behavior, the return shape (matching cases plus scanned/capReached), and why a 'no matches' result can be trusted. It also surfaces performance implications by recommending narrower scopes.

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 compact and front-loaded, leading with the core behavior, then the decision guidance, then output and performance notes. Every sentence carries information and there is no filler or repetition.

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

Completeness5/5

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

For a tool with no output schema and no annotations, the description is unusually complete. It covers pagination, return fields, trustworthiness of results, when to use it, and how to narrow the scan. The only minor elaboration that could help is defining capReached more explicitly, but the field name and surrounding context make its meaning clear enough.

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 100%, so the baseline is 3, but the description adds meaning by explaining that sectionId and suiteId are not just optional scopes—they are useful for scanning less. It doesn't add much beyond that for query, projectId, or compact, but the schema already documents those adequately.

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 states a specific operation: searching a TestRail project for cases whose title contains a given case-insensitive substring, while walking all pages server-side. It also explicitly distinguishes itself from testrail_list_cases, so an agent can tell exactly what this tool does versus that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance: use this instead of testrail_list_cases when checking whether a case already exists before calling testrail_create_case. It even explains why it is the safer choice ('cannot be fooled by a truncated page') and recommends narrowing with sectionId/suiteId to reduce the scan.

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.

Resources