Skip to main content
Glama

Create Test Case

create_test_case

Create a test case in a project. If no steps are provided, detailed steps are auto-generated from the title/description (disable with auto_generate_steps=false).

Input Schema

NameRequiredDescriptionDefault
tagsNo
stepsNoExplicit test steps; when omitted, steps are auto-generated
titleYes
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
categoryNofunctional
priorityNoPriority: 1-5 (integer) or critical/high/medium/low (string)
project_idYes
descriptionNo
auto_generate_stepsNoAuto-generate Detailed Steps via AI when no steps are provided
detailed_instructionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so safety is covered structurally. The description adds genuinely valuable behavior beyond that: that omitted steps trigger AI auto-generation and how to disable it. It still omits returned payload structure and any project-permission requirements, so it is not a 5.

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 sentences, zero filler, with the primary action stated first and the conditional side-effect immediately after. The opt-out flag is placed where the agent will act on it.

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

Completeness3/5

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

For a 10-parameter mutation tool with no output schema and 40% coverage, the description is thin. It does not state what the call returns (a created case ID would be essential for chaining), and it leaves most optional parameters unexplained. The auto-generation note is the one substantive addition.

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?

With only 40% schema description coverage across 10 parameters, the description carries a real compensation burden, and it only explains the steps/auto_generate_steps interaction. Parameters like category, tags, context, and detailed_instructions remain undocumented in both places. The auto-gen clarification is meaningful, but the coverage gap keeps this at a baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a test case in a project'), which is instantly distinguishable from update_test_case and delete_test_case. It does not, however, explicitly contrast itself with sibling creation paths like generate_tests or import_test_cases_from_document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied through the auto-generation clause: it tells the agent what happens when steps are omitted and how to opt out with auto_generate_steps=false. There is no guidance on when to choose this tool over the numerous sibling generators (generate_tests, enhance_test_case, k6_generate_from_test_case), which matters given how crowded that namespace is.

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