Skip to main content
Glama

xray_create_test

Creates a new Xray test—Manual, Cucumber, or Generic—from Jira fields, steps, or Gherkin and returns the new test issue ID.

Instructions

Create a new Xray test (Manual, Cucumber, or Generic). Returns a confirmation with the new test issue ID.

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": {
      "jira": "<jira>"
    },
    "name": "xray_create_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
jiraYesJira issue fields as JSON (e.g. { "fields": { "project": { "key": "PROJ" }, "summary": "Test name" } })
stepsNoInitial steps for Manual tests
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
gherkinNoFull Gherkin scenario text (for Cucumber tests)
testTypeNoTest type (e.g. { "name": "Manual" })
folderPathNoFolder path to place the test in (e.g. /Regression)
preconditionIssueIdsNoPrecondition issue IDs to associate with this test

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.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. It only discloses that a confirmation with the new test issue ID is returned; it says nothing about required permissions, validation behavior, failure modes, or that format defaults to 'toon' in the response. That is thin for a mutation tool with zero annotation coverage.

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?

Two short sentences with zero waste, and the purpose is front-loaded before the return-value detail. The brevity is achieved partly by omitting important guidance, but as a structural matter it is clean and appropriately sized.

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 7-parameter mutation tool with nested objects, no annotations, and no output schema, the description is only minimally sufficient. The return value is covered, but the type-dependent parameter relationships (Jira fields required, steps for Manual, gherkin for Cucumber, folderPath and preconditionIssueIds) are never addressed, leaving real gaps.

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 100%, so the schema already documents all seven parameters, making 3 the baseline. The description adds marginal meaning by naming the three test types, but it does not connect them to the parameters that matter (gherkin for Cucumber, steps for Manual) or explain why jira is required.

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 new Xray test') and enumerates the three supported subtypes (Manual, Cucumber, Generic), plus the return value. It is distinguishable from the sibling create tools (test plan, test execution, test set) by the resource name alone, though it never explicitly contrasts with them.

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 when-to-use guidance: nothing says when a Manual vs Cucumber vs Generic test is appropriate, no prerequisite information, and no mention of the sibling creation tools. The agent must infer all routing from the resource name.

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

Deploy Server

Other Tools