Skip to main content
Glama

Search Test Cases

search_test_cases
Read-only

Search for test cases by title, description, or tags. Better than listing all test cases when looking for something specific.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results
queryYesSearch query (searches in title, description, and tags)
statusNoFilter by status (optional)
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
categoryNoFilter by category (optional)
project_idYesProject ID to search in

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/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 the safety profile is covered. Beyond that the description adds nothing: no matching semantics (substring vs fuzzy vs full-text), no result ordering, no truncation behavior for the 50-result default, and no mention of the required analytics-style 'context' parameter.

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?

Two sentences, zero waste, and the core capability is front-loaded ahead of the comparative guidance. Nothing is repeated or padded.

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?

For a read-only, project-scoped search with full schema coverage and annotations covering side effects, the description is sufficient to call it correctly. The main residual gap is that it doesn't note the interaction between query and the optional status/category filters or what happens at the default limit.

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%, so all six parameters (including the filter options status and category and the limit default) are already documented in the schema. The description's field list duplicates the query parameter's own description, adding no interpretation, defaults, or interaction rules beyond the schema. Baseline 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?

States a specific verb and resource ("Search for test cases") and names the matchable fields (title, description, tags), which distinguishes it from mutation siblings like create_test_case or update_test_case. It also implicitly contrasts with listing-style siblings ("Better than listing all test cases"), though it never names list_test_cases directly.

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?

Gives a clear selection rule: use this instead of listing everything when looking for something specific. That is a real when-to-use statement against an identifiable alternative, but there are no exclusions (e.g., when to prefer list_test_cases with status/category filters, or when to fetch a known case via get_test_case).

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