Skip to main content
Glama

xray_export_cucumber_features

Exports Cucumber feature files for given Xray test issue keys, returning Gherkin content inline so tests can be read or copied without manual downloads.

Instructions

Export Cucumber feature files for the given test issue keys. Returns the feature file content inline. For multiple tests, feature files are separated by '--- FILE: {key}.feature ---' headers.

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": {
      "issueKeys": "<issueKeys>"
    },
    "name": "xray_export_cucumber_features"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueKeysYesTest issue keys to export, e.g. ['PROJ-1', 'PROJ-2']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

Because no annotations are supplied, the description carries the full behavioral burden. It does well to disclose what the call returns: the feature file content comes back inline, and when there are multiple tests the files are separated by '--- FILE: {key}.feature ---' headers. It still leaves out anything about permissions, whether the operation has side effects, and how failures are handled, such as what happens when a key is missing or not a Cucumber test.

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

Conciseness5/5

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

The description is three short sentences that are front-loaded: first the export action, then the return behavior, then the multi-file delimiter detail. No sentence is wasted, and the separator format, the hardest part to infer, comes early enough to be found.

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

Completeness4/5

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

There is no output schema, so the description must explain the return value, and it does so by describing inline content and the multi-file separator convention. The only gap that remains is edge-case behavior, such as missing keys or keys that are not Cucumber tests, which the description passes over.

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%, and both parameters, issueKeys and format, are fully documented in the schema, including the enum options. The description adds no meaning beyond the schema; it only restates that keys are supplied. A baseline 3 is correct here.

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 gives a specific verb and resource: 'Export Cucumber feature files for the given test issue keys.' That already separates it from the sibling tool 'xray_import_cucumber', whose direction is the opposite. It never names a sibling explicitly, though, so it falls short of the top score.

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?

The scope is implied by 'for the given test issue keys', which tells an agent which tests it can export. The description never says when to use this tool instead of another, such as xray_get_expanded_test or xray_import_cucumber. It also gives no prerequisites, such as whether the keys must point to Cucumber-type tests.

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