Skip to main content
Glama

list_tests

Lists all executable tests using native collection mechanisms for pytest, Jest, Cypress, Go, and Maestro. Outputs a nodeid or filename list to verify test coverage before running or generating new tests.

Instructions

用 runner 的原生 collection 機制列出受測專案內所有可執行測試:pytest 走 pytest --collect-only、Jest 走 npx jest --listTests、Cypress 走 cypress/e2e/*.cy.* glob、Go 走 go test -list .*、Maestro 走 *.yaml 遞迴掃。回傳一份逐行 nodeid / 檔名清單。用法:run_tests 前確認 collection 沒漏、generate_test 前避免跟既有 case 重複。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description fully carries the burden. It details the underlying commands per framework (e.g., pytest --collect-only) and the return format (list of nodeid/filename). It could mention that the tool is read-only and safe to run, but overall it is transparent.

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 concise and well-structured: first sentence lists mechanisms for each framework, second sentence describes the return format, and third provides usage guidance. No extraneous information.

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?

Given no output schema, the description explains the return format (list of nodeid/filename). It is complete enough for a listing tool, though it could mention potential performance impacts for large projects. Overall, it provides sufficient context.

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?

There are zero parameters, and schema coverage is 100% (trivially). The description adds no parameter-level details because none are needed, but it does explain the tool's behavior without relying on params. Baseline 4 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 clearly states it lists all executable tests using native collection mechanisms for multiple frameworks (pytest, Jest, Cypress, Go, Maestro). It distinguishes itself from sibling tools like run_tests (execution) and generate_test (creation) by specifying its purpose.

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 provides explicit usage scenarios: before run_tests to confirm coverage and before generate_test to avoid duplicates. It gives clear context but does not explicitly mention when not to use the tool.

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/kao273183/mk-qa-master'

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