Skip to main content
Glama

xray_import_cucumber

Import Cucumber JSON test results into Xray Cloud to create or update BDD test executions. Pass the full Cucumber JSON content to push results without multipart metadata.

Instructions

Import Cucumber JSON test results. Read the Cucumber JSON output file and pass the full content here. Note: Cucumber import does not support multipart mode — execution metadata is embedded in the Cucumber JSON format. Use this tool to push Cucumber BDD test results into Xray Cloud.

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": {
      "content": "<content>"
    },
    "name": "xray_import_cucumber"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
contentYesCucumber JSON results as a string
projectKeyNoJira project key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that content must be the full Cucumber JSON file body and that multipart upload is unsupported because execution metadata is embedded in the payload. It omits authentication requirements, what entity gets created (e.g. a Test Execution), duplicate handling, and the return shape.

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?

It is front-loaded with the purpose and the key operational note. However, the first and last sentences are largely redundant ('Import Cucumber JSON test results' vs 'push Cucumber BDD test results into Xray Cloud'), so one sentence does not earn its place.

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 an import tool with no annotations and no output schema, the description covers the input mechanics and the multipart constraint, which is the essential part. It leaves out what the call produces and whether an existing execution is updated or a new one created, which an agent would want before invoking it.

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 three parameters including the format enum and projectKey. The description only reinforces that content is the full Cucumber JSON file content; it says nothing about projectKey's role or when to choose a non-default response format, so baseline 3 is appropriate.

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?

The description names a specific verb and resource ('Import Cucumber JSON test results') and repeats the destination ('push Cucumber BDD test results into Xray Cloud'), so the agent can tell this apart from format-specific siblings like xray_import_junit or xray_import_behave by the data format alone. It stops short of explicitly naming which sibling to use for other formats, which keeps it from a 5.

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

Usage Guidelines3/5

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

Usage is implied by format ('Cucumber BDD test results'), and the multipart-mode note acts as a precondition. However, there is no explicit when-not guidance and no pointer to the sibling import tools for other result formats, so routing decisions are left to inference.

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