Skip to main content
Glama

create_test_case

Create a test case with steps in TCM. Validate with dry_run, then commit after human approval.

Instructions

Create a test case with steps. REQUIRED: call with dry_run: true first. Review the summary with a human. Only call with dry_run: false (or omit dry_run) after explicit human approval. Steps are required. display_id is assigned by TCM on commit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoFree-form tags (each ≤50 chars).
stepsYesTest steps (required; step_number assigned by order, 1-based).
titleYesTest case title (1–500 chars).
dry_runNotrue → validate + return summary to caller, no write. false/omit → commit (only after human approval of a dry-run).
priorityNoPriority (v1: low/medium/high only; critical deferred to v2).
suite_idYesSuite UUID (from search_suite).
descriptionNoDescription text (optional).
preconditionNoPrecondition text (optional).
platform_tagsNoPlatform tags (constrained enum: desktop/tablet/mobile only).
automation_statusNoDefault: not_automated.
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by disclosing the dry-run validation vs. commit behavior, the requirement for human approval, and that display_id is assigned by TCM on commit. It stops short of describing validation failures or side effects, but the key behaviors are 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 three sentences and front-loaded with the primary verb and resource. The REQUIRED dry-run workflow is stated in a deliberate, direct manner without any extraneous content. Every sentence contributes essential operational guidance.

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?

For a 10-parameter tool with 3 required parameters and no output schema, the description covers the critical workflow and key constraints (steps required, dry_run first, display_id on commit). It doesn't explain the return value or failure modes, but the rich schema and concise workflow guidance make the tool usable; a small gap remains regarding what the dry-run summary contains and follow-up actions on validation failure.

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?

Schema description coverage is 100%, so the input schema fully documents all 10 parameters. The description adds no new parameter details beyond reinforcing that steps are required (already in schema) and noting that display_id is assigned on commit (a behavioral outcome, not a parameter semantic). Baseline 3 is appropriate given complete schema coverage.

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 opens with 'Create a test case with steps,' which uses a specific verb and resource, clearly distinguishing this creation tool from sibling tools like update_test_case, get_test_case, and search_suite. The added step requirement and commit workflow reinforce its unique 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 instructions on when to use dry_run true (first), when to get human approval, and when to commit with dry_run false/omitted. However, it does not explicitly compare against sibling tools or state when not to use this tool at all, so it falls short of a 5.

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/JoinFullStackDev/tcm-mcp'

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