Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Zephyr: Create Test Case

zephyr_create_test_case

Create a Zephyr test case in a specified Jira project, setting its objective, preconditions, priority, labels, component, folder, owner, and custom fields.

Instructions

Create a new Test Case in Zephyr specified project

Toolset: Test Cases

Parameters:

  • projectKey (string) required: Jira project key.

  • name (string) required

  • objective (string): A description of the objective.

  • precondition (string): Any conditions that need to be met.

  • estimatedTime (number): Estimated duration in milliseconds.

  • componentId (number): ID of a component from Jira.

  • priorityName (string): The priority name.

  • statusName (string): The status name.

  • folderId (number): ID of a folder to place the entity within.

  • ownerId (string): Atlassian Account ID of the Jira user.

  • labels (array): Array of labels associated to this entity.

  • customFields (record<string, any>): Multi-line text fields support HTML and should denote new lines with the <br> tag. Dates should be in the format 'yyyy-MM-dd'. Users should have values of Jira User Account IDs.

Examples:

  1. Create a Test Case in project SA to ensure that the axial pump can be enabled

{
  "projectKey": "SA",
  "name": "Check axial pump",
  "objective": "Ensure the axial pump can be enabled"
}

Expected Output: The newly created Test Case with its details and key

  1. Create a Test Case to ensure that the axial pump can be enabled. The test should be in project MM2, have labels 'automated' and 'mcp', and priority 'High'

{
  "projectKey": "MM2",
  "name": "Check axial pump",
  "objective": "Ensure the axial pump can be enabled",
  "labels": [
    "automated",
    "mcp"
  ],
  "priorityName": "High"
}

Expected Output: The newly created Test Case with its details and key

  1. Create a Test Case for verifying strength of the axial pump with custom field 'Axial pump strength' having value '5' in project SA

{
  "projectKey": "SA",
  "name": "Check axial pump strength",
  "objective": "Make sure the axial pump operates at the required strength",
  "customFields": {
    "Axial pump strength": 5
  }
}

Expected Output: The newly created Test Case with its details and key

  1. Create a Test Case in project MM2 to verify the performance of the axial pump with Jira component having ID 10001, Jira owner having ID 10057 in folder 'Pumps'

{
  "projectKey": "MM2",
  "name": "Check axial pump performance",
  "objective": "Ensure the axial pump performs within acceptable limits",
  "componentId": 10001,
  "ownerJiraUserId": 10057,
  "folderId": 18
}

Expected Output: The newly created Test Case with its details and key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
labelsNoArray of labels associated to this entity.
ownerIdNoAtlassian Account ID of the Jira user.
folderIdNoID of a folder to place the entity within.
objectiveNoA description of the objective.
projectKeyYesJira project key.
statusNameNoThe status name.
componentIdNoID of a component from Jira.
customFieldsNoMulti-line text fields support HTML and should denote new lines with the \<br\> tag. Dates should be in the format 'yyyy-MM-dd'. Users should have values of Jira User Account IDs.
preconditionNoAny conditions that need to be met.
priorityNameNoThe priority name.
estimatedTimeNoEstimated duration in milliseconds.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe ID of the entity
keyNo
selfNo
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already communicate that this is a mutating, non-idempotent action. The description adds some behavioral context, such as the expected output (newly created Test Case with details and key) and customFields formatting rules, but does not go further into auth needs, side effects, or error conditions. This is adequate but not rich.

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 first sentence is front-loaded and the examples are genuinely useful. However, the description repeats the full parameter list that the schema already documents, making it longer than necessary. The structure is organized, but the redundancy prevents it from being concise.

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 tool with 12 parameters and nested customFields, the examples cover several important usage patterns and the output schema covers return values. Still, the invalid ownerJiraUserId example and the estimatedTime type mismatch leave enough ambiguity that an agent could build a failing request. The description is mostly complete but not fully reliable.

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 high at 92%, so the parameter list in the description adds little beyond the schema; the examples do add useful mapping from natural-language requests to parameters. However, Example 4 uses 'ownerJiraUserId', which is not in the schema (and the schema sets additionalProperties to false), and gives a numeric value where ownerId expects a string. Also, estimatedTime is described as a number while the schema declares integer. These inconsistencies actively risk misleading an agent.

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 first sentence states a clear verb and resource: 'Create a new Test Case in Zephyr specified project.' This distinguishes it from the many sibling create/update test case tools by naming both the toolset and the product, and from zephyr_create_test_case_steps which is for adding steps rather than creating the test case itself.

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 clearly states what this tool is for: creating a test case in a Zephyr project, with projectKey and name as the required inputs. It does not explicitly say when not to use it or name alternatives, but the purpose is explicit enough that an agent can infer it should be chosen over update/delete/step-creation siblings.

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

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/SmartBear/smartbear-mcp'

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