Skip to main content
Glama
Allure TestOps MCP

Allure TestOps MCP

create_test_case

Create a new test case in Allure TestOps with a default project ID and custom field values, enabling project-aware test management.

Instructions

Create a new test case. payload.projectId defaults to ALLURE_PROJECT_ID env when omitted. payload.customFields supports values like { customField: { id }, id, name }.

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": {
      "payload": "<payload>"
    },
    "name": "create_test_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutation tool. It never says whether creation requires auth/permissions, what is returned (e.g. the new test case id), whether the case is scoped to a project/launch, or what happens on duplicate names.

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

Conciseness4/5

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

Front-loaded with the action, then two short conditional statements about payload fields. No filler sentences, though the third sentence is terse enough that its syntax is slightly ambiguous.

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

Completeness2/5

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

A nested, additionalProperties-true payload with no schema descriptions and no output schema means the description should explain far more of the payload contract. Two hints about projectId and customFields leave the agent guessing at required fields and the return value.

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 coverage is 0% and payload is a free-form object, so the description must compensate. It does add genuinely useful meaning: projectId falls back to ALLURE_PROJECT_ID, and customFields entries take the shape { customField: { id }, id, name }. That is valuable but covers only two of many possible payload fields.

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?

Uses a specific verb and resource ('Create a new test case'), which distinguishes it from update_test_case, delete_test_case and the bulk field/tag siblings. It does not, however, contrast itself with create_test_plan or create_test_result beyond the noun.

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?

There is no statement of when to use this versus update_test_case or the bulk variant, and no prerequisites such as required permissions or which custom fields must already exist. The only conditional information given is an environment-variable fallback, which is parameter behavior rather than usage routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.