Skip to main content
Glama

MCP Server By TestMu AI

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as TestMu AI (formerly LambdaTest). If you published it, claim ownership there.

Generate Test Cases with AI

tm_generate_test_cases
Destructive

Start an AI generation of test cases from a requirement prompt, optionally grounded by Jira issue keys and attached files, using the project's and organization's instructions. The prompt and any attached files are sent to Google Gemini, the AI model behind the generator. Volume is test_scenario_limit x per_scenario_test_cases_limit, at most 50 per call. The project, folder and limits are checked before anything is billed. Each call spends AI generation credits, which are not refunded, and a retry starts and bills a new generation. Returns a request_id and a browser progress URL within about 15 seconds; generation takes about 30 to 90 seconds. Nothing is saved: check it with tm_get_test_case_generation and file it with tm_save_generated_test_cases.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "folder_id": "<folder_id>",
      "prompt": "<prompt>"
    },
    "name": "tm_generate_test_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoOptional reference files (requirement docs, specs, data sheets, screenshots), each with its name and its bytes base64-encoded in content_base64. Supported: .pdf, .docx, .txt, .csv, .xlsx, .json, .xml, .jpg, .jpeg, .png, .gif, .bmp, .webp; at most 5 files of 10 MB each. They are sent to Google Gemini.
promptYesThe requirement or instructions to generate test cases from
jira_idsNoOptional Jira issue keys to use as requirement context
folder_idYesTest Cases folder the cases are saved into later (one sub-folder per scenario)
project_idYesProject ID (ULID)
test_scenario_limitNoMost scenarios to generate (default 3)
per_scenario_test_cases_limitNoMost test cases per scenario (default 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • removedInput schema / properties / auto_save
      Removed value: -{
      -  "description": "Save all generated cases into the folder automatically (default true for a NEW generation). Set false to review first — that choice persists across request_id polls (a bare poll never saves it); to save after review, call again with request_id AND auto_save=true.",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / files / description
      Previous value: -"Optional reference files to ground the generation (requirement docs, specs, data sheets, screenshots). Each item carries the file name and its raw bytes base64-encoded in content_base64. Supported: .pdf, .docx, .txt, .csv, .xlsx, .json, .xml, .jpg, .jpeg, .png, .gif, .bmp, .webp; max 5 files, 10 MB each. Large files are better uploaded in the Test Manager UI, since the base64 content travels in the request. Only used when starting a new generation."New value: +"Optional reference files (requirement docs, specs, data sheets, screenshots), each with its name and its bytes base64-encoded in content_base64. Supported: .pdf, .docx, .txt, .csv, .xlsx, .json, .xml, .jpg, .jpeg, .png, .gif, .bmp, .webp; at most 5 files of 10 MB each. They are sent to Google Gemini."
    • changedInput schema / properties / files / items / properties / name / description
      Previous value: -"File name with extension, e.g. requirements.pdf"New value: +"File name with extension, for example requirements.pdf"
    • changedInput schema / properties / folder_id / description
      Previous value: -"Folder to file generated cases into. Required when starting a new generation."New value: +"Test Cases folder the cases are saved into later (one sub-folder per scenario)"
    • addedInput schema / properties / folder_id / pattern
      Added value: +"^(lt:\\/\\/)?[A-Za-z0-9][A-Za-z0-9._:-]*$"
    • addedInput schema / properties / jira_ids / items / pattern
      Added value: +"^(lt:\\/\\/)?[A-Za-z0-9][A-Za-z0-9._:-]*$"
    • changedInput schema / properties / per_scenario_test_cases_limit / description
      Previous value: -"Max test cases per scenario (default 3)"New value: +"Most test cases per scenario (default 3)"
    • addedInput schema / properties / per_scenario_test_cases_limit / maximum
      Added value: +50
    • addedInput schema / properties / per_scenario_test_cases_limit / minimum
      Added value: +1
    • changedInput schema / properties / per_scenario_test_cases_limit / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / project_id / description
      Previous value: -"Project ID (ULID). Required when starting a new generation."New value: +"Project ID (ULID)"
    • addedInput schema / properties / project_id / pattern
      Added value: +"^(lt:\\/\\/)?[A-Za-z0-9][A-Za-z0-9._:-]*$"
    • changedInput schema / properties / prompt / description
      Previous value: -"The requirement / instructions to generate test cases from. Required when starting a new generation."New value: +"The requirement or instructions to generate test cases from"
    • removedInput schema / properties / request_id
      Removed value: -{
      -  "description": "Resume/act on an earlier generation: check progress, fetch results, or save them.",
      -  "type": "number"
      -}
    • changedInput schema / properties / test_scenario_limit / description
      Previous value: -"Max scenarios to generate (default 3)"New value: +"Most scenarios to generate (default 3)"
    • addedInput schema / properties / test_scenario_limit / maximum
      Added value: +50
    • addedInput schema / properties / test_scenario_limit / minimum
      Added value: +1
    • changedInput schema / properties / test_scenario_limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / required
      Added value: +[
      +  "project_id",
      +  "folder_id",
      +  "prompt"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / files / description
      Previous value: -"Optional reference files to ground the generation (requirement docs, specs, data sheets, screenshots). Supported: .pdf, .docx, .txt, .csv, .xlsx, .json, .xml, .jpg, .jpeg, .png, .gif, .bmp, .webp — max 5 files, 10 MB each. Read the file yourself and base64-encode its raw bytes (shell: base64 -i <file>). Prefer small files (up to a few hundred KB) — base64 content passes through your context, so upload larger files via the Test Manager UI instead. Only used when starting a new generation."New value: +"Optional reference files to ground the generation (requirement docs, specs, data sheets, screenshots). Each item carries the file name and its raw bytes base64-encoded in content_base64. Supported: .pdf, .docx, .txt, .csv, .xlsx, .json, .xml, .jpg, .jpeg, .png, .gif, .bmp, .webp; max 5 files, 10 MB each. Large files are better uploaded in the Test Manager UI, since the base64 content travels in the request. Only used when starting a new generation."
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=true) by disclosing credit spend, that credits are non-refundable, that validation of project/folder/limits happens before billing, and that inputs are sent to Google Gemini. It also states the timing contract: a request_id and progress URL in ~15s, with generation taking 30-90s.

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?

Front-loaded with the core action, then volume, then billing, then timing and next steps. Every sentence carries operational information; nothing is redundant with the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an async, billed, external-AI mutation with no output schema, the description covers cost, latency, non-persistence, downstream tools, and the shape of the immediate response. An agent could decide and call correctly from this alone.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine cross-parameter meaning the schema cannot express: volume is test_scenario_limit x per_scenario_test_cases_limit, capped at 50 per call. It also clarifies the deferred role of folder_id (cases saved there later, one sub-folder per scenario).

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?

States a specific verb (start an AI generation), resource (test cases), and input source (a requirement prompt, optionally grounded by Jira keys and files). It also implicitly distinguishes itself from the persistence siblings by declaring that nothing is saved.

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?

Explicitly routes the agent to the follow-up tools: 'check it with tm_get_test_case_generation and file it with tm_save_generated_test_cases'. It also warns that a retry starts and bills a new generation, which is the key decision point before re-invoking.

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