Skip to main content
Glama

test_cases_create

Create test cases for meloQA projects, specifying steps, expected results, and custom fields.

Instructions

Create test case

Tag: Test Cases

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
typeYesTest case type ID — use GET /v1/test-case-types
orderNo
stepsNoTest case steps. The required shape depends on the test case type — list the available types and their IDs via `GET /v1/test-case-types` and pass the chosen `id` as `type` in the body. The four built-in types behave as follows: - **BDD**: at least 1 step required. Each step has `description` (required), `gherkinKeyword` (optional, defaults to `given`), and `data` (optional). `expectedResult` on the step is rejected — the BDD outcome is expressed by the `then` keyword. - **EXPECTED_RESULT_PER_STEP**: at least 1 step required. Each step has `description` and `expectedResult` (both required); `data` is optional. `gherkinKeyword` is rejected. - **GENERAL_EXEPECTED_RESULT**: steps are optional. When provided, each step has `description` (required) and `data` (optional). `expectedResult` on the test case (top-level) is required. - **NO_STEP**: steps are rejected. `expectedResult` on the test case is required. On `POST` the steps are created with the new test case. On `PATCH` sending `steps` replaces the existing list (soft-deletes old steps and creates new ones). Omit `steps` from the body to leave them untouched.
folderIdNo
scenarioNo
statusIdYesTest case status ID — use GET /v1/test-case-statuses
automatedNoEstado de automatização exibido na UI. Se omitido, é derivado de `automation` (AUTOMATED→YES, senão NO).
projectIdYes
automationNo
bddRawTextNo
descriptionNo
customFieldsNoValues for the project's custom fields. Discover the available fields and their `id`s via `GET /v1/projects/{projectId}/test-case-custom-fields`. Each item targets one custom field by `projectCustomFieldId`. Send **`value`** for free-form fields (text, number, …) or **`selectId`** for select-type fields (must reference one of `selects[].id` returned by the listing endpoint). Exactly one of `value`/`selectId` must be provided per item. On `POST` the items create the values for the new test case. On `PATCH` each item is upserted by `(testCaseId, projectCustomFieldId)`: existing values are replaced, missing fields are created, and fields not mentioned in the array are left untouched. **Required fields rule:** every project custom field with `isRequired: true` and `isEnabled: true` must end up with a value. On `POST` they must be present in this array; on `PATCH` they must be either present here or already filled on the test case (otherwise the request is rejected with 400). **Disabled fields:** entries that target a custom field with `isEnabled: false` are silently ignored — the field is no longer in use, so the value is neither persisted nor counted toward the required-field rule.
expectedResultNo
preRequirementsNo
specificationTimeNo
automatizationTimeNo
Behavior2/5

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

No annotations provided; description gives zero behavioral traits beyond 'create'. No mention of side effects, permissions, idempotency, or schema-derived details like PATCH vs POST behavior for steps/customFields. The description adds no value beyond the tool name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short (two lines) but includes an irrelevant 'Tag: Test Cases' that adds no value. It is concise in length but not effectively so, as it omits essential information.

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

Completeness1/5

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

Given the complexity of 17 parameters, many with type-dependent behavior (steps, customFields), the description is wholly inadequate. It does not summarize the tool's capabilities, required fields, or usage context, making it nearly useless for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is low (29%), and the description does not explain any parameters or their semantics. It relies entirely on the schema, which itself has gaps. The description should compensate but does not.

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?

Description clearly states 'Create test case', which is a specific verb+resource. However, it does not distinguish from sibling tools like 'test_cases_update' or other create tools, relying on the tool name for differentiation.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives, no prerequisites or context provided. The description lacks any information about when to choose create over update or other actions.

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/swl-informatica/meloQA-MCP'

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