Skip to main content
Glama

search_tests

Read-onlyIdempotent

Search tests by title, path, or tags to get recent execution status and reliability metrics, helping identify tests for a specific feature or area.

Instructions

Search for tests by title, file path, or tags. Returns matching tests with their most recent execution status and reliability metrics. Use this to find tests related to a specific feature or area.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLookback period for recent executions
limitNoMaximum number of tests to return
queryYesSearch query (case-insensitive substring of the title-path array or the file path). Pass ONE title segment, e.g. "should validate credentials"; a " > "-joined path matches nothing.
statusNoFilter by recent execution statusall
projectIdYesProject UUID
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds useful context that results include most recent execution status and reliability metrics, but it does not disclose pagination, default limits, or any query semantics beyond what the schema already provides.

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 focused: two sentences, the first stating the core action and the second giving practical guidance. There is no filler or redundant restating of schema-property 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?

For a search tool with a well-documented schema and strong annotations, the description is largely complete. It names the search criteria, result content, and a use case. The main gap is that it does not explicitly discuss output format or suggest any sibling alternative for non-searching workflows, which would slightly strengthen completeness.

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 parameters are already well-documented. The description adds general vocabulary like 'title, file path, or tags' that maps to the query parameter, but it does not add substantive meaning beyond the input schema, so the baseline score of 3 is appropriate.

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 verb ('search'), a resource ('tests'), the supported search dimensions ('title, file path, or tags'), and what is returned (execution status and reliability metrics). This allows an agent to distinguish it from sibling tools like list_test_cases or get_case_execution_history.

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?

The description gives clear usage context ('Use this to find tests related to a specific feature or area'). However, it does not explicitly state when NOT to use it, such as when listing all tests without a search query or when retrieving full detail for a single test.

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/m00nreport/mcp-server'

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