Skip to main content
Glama

List Test Cases

list_test_cases
Read-only

Retrieve test cases from a suite in execution order, with pagination options. Pass a test case ID to return the full case, including request config, assertions, and response extractions.

Instructions

List the test cases of a suite in execution order. Pass testCaseId to get one case in full instead — with its request config, assertions and response extractions — and then testSuiteId is not needed. Requires project context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNoNumber of test cases to skip (for pagination, default 0)
takeNoNumber of test cases to return (default 100, max 100)
testCaseIdNoPublic Id (Guid) of a single test case. When given, returns that case in full.
testSuiteIdNoPublic Id (Guid) of the test suite. Required unless testCaseId is given.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.1

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes that this is a safe read operation. The description adds useful behavioral context beyond that: results are returned in execution order, testCaseId returns a full case with request config, assertions, and response extractions, and project context is required. This gives the agent a meaningful picture of tool behavior.

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 tightly written sentences cover the main use case, the alternate single-case mode, the dependency between the two identifiers, and the project-context prerequisite. Every clause earns its place, and the most important information is front-loaded.

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?

The description is complete enough for a read-only listing tool: it explains both modes, the required context, and what the detailed mode returns. There is no output schema, so a bit more detail about the list response shape could be helpful, but the description combined with the thorough input schema covers the essential invocation decisions.

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?

The input schema already has 100% parameter description coverage, including defaults and the relationship between testCaseId and testSuiteId. The description reinforces that relationship and adds the execution-order nuance, but it does not substantially deepen parameter meaning beyond what the schema already provides. A baseline 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 clearly states a specific action and resource: listing the test cases of a suite in execution order. It also distinguishes the two modes of the tool (list vs. single test case in full), making it easy to differentiate from the many sibling list_* tools such as list_test_suites or list_test_results.

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 clear guidance on when to use the testCaseId mode versus the testSuiteId mode, including that testSuiteId is unnecessary when testCaseId is provided. It also notes that project context is required. It does not explicitly name alternative sibling tools or state when not to use the tool, but the usage conditions are clear enough.

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/routebase-dev/routebase-mcp'

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