Skip to main content
Glama

Get Test Manager Test Cases by Folder ID

tm.get_testCasesByFolderId

Retrieve test cases directly assigned to a specific folder (excluding subfolders) in a TestMu project. Requires project ID and folder ID; supports pagination.

Instructions

Retrieves the test cases assigned DIRECTLY to a specific folder of a LambdaTest Test Manager project - it does not include test cases in that folder's subfolders. Each result has the test case's title, ID, description, priority, type, status, automation status, preconditions, estimated time, and tags. Requires both the project ID and the folder ID (use tm.get_foldersByProjectId first to find a folder's ID - it also shows each folder's direct vs. total test case count, so you can tell if subfolders hold more). Supports optional page, per_page, and sort parameters for folders with many test cases. Do not use this to fetch a single test case by its own ID, and do not expect it to include subfolder contents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
sortNo
per_pageNo
folder_idYes
project_idYes
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses that only direct test cases are returned, lists the fields in each result, and mentions pagination support. However, it does not specify error behavior or empty results, which is a minor gap.

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?

The description is a single paragraph that front-loads the key purpose and exclusions. It is slightly lengthy but efficient. There is minor redundancy in mentioning the prerequisite twice, but overall it earns its sentences.

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 partially explains return fields. It includes critical context about subfolder exclusion and prerequisite. However, it does not cover error handling or pagination response format, which would be beneficial for completeness.

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?

The schema has 0% description coverage, so the description provides the only explanation. It clarifies that project_id and folder_id are required, and page, per_page, and sort are optional. It does not detail the sort parameter format, but the context of pagination is well covered.

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 explicitly states the verb (retrieves), resource (test cases in a folder), and scope (directly assigned, not subfolders). It also lists the fields returned, which distinguishes it from siblings like get_testCaseById or get_testCasesByProjectId.

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 provides clear when-to-use guidance (retrieving test cases in a folder) and when-not-to-use (not for a single test case, not for subfolder contents). It also gives a prerequisite: use get_foldersByProjectId first to get the folder ID. Pagination options are mentioned for large folders.

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/prakhar-gahlot/TestMu-AI-Test-Manager-MCP'

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