Skip to main content
Glama

Search test cases

search_test_cases
Read-only

Keyword/filter search of test cases in a project (matches title/number), cursor-paginated. Not semantic search. 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": "search_test_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-250, default 100).
queryNoKeyword to match in case title/number.
cursorNoOpaque pagination cursor from a prior response.
folderNoOptional folder id to restrict the search.
projectYesProject id to search within. 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 search within. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id to search within. 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.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety needs no restating. The description goes well beyond them: cursor pagination, the displayValue-versus-value distinction, the fact that displayValue cannot be round-tripped into update_test_case, and the specific FIELD_IMAGES_WOULD_REMOVED failure on plain text sent to an image-bearing field. That is concrete behavioral disclosure an agent would otherwise only discover by failing.

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?

Two sentences, no filler, and the highest-value constraint (keyword vs. semantic search) is front-loaded. The second sentence is dense with several clauses stacked together, but each clause carries non-redundant information about the value/displayValue contract.

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?

With no output schema, the description compensates by explaining the meaning of the displayValue and value fields, how images surface, and what the write-side update_test_case will accept. Search behavior, pagination and the key error path are all covered, so an agent has what it needs to call and interpret results correctly.

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%, including the important clarification that project must be a numeric id from get_projects rather than a name. The description only adds 'matches title/number' for query and 'cursor-paginated' for cursor, which largely restates the schema, so the baseline of 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?

The description opens with a specific verb-plus-resource ('Keyword/filter search of test cases in a project') and pins the matching scope to title/number. It explicitly rules out semantic search, which sharpens the boundary, but it never names or contrasts with the obvious sibling get_test_cases, so the differentiation is incomplete.

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 'Not semantic search' clause is a useful negative signal about when this tool is the wrong choice. However, there is no positive guidance on when to pick this over get_test_cases or get_cases_for_issue, and no prerequisites or exclusions are stated, leaving selection largely inferred from the tool name.

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.