Skip to main content
Glama

xray_import_feature_files

Import Cucumber .feature files into Xray Cloud to create or update test cases in a specified Jira project. Pass the full file content as a string with a required project key.

Instructions

Import Cucumber .feature files into Xray Cloud to create or update test cases. Read the .feature file via your Read tool and pass the full content as a string. The projectKey parameter is required to specify which Jira project to import tests into. Note: If text/plain content type fails, the fallback is multipart/form-data wrapping.

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>",
      "projectKey": "<projectKey>"
    },
    "name": "xray_import_feature_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
contentYesCucumber .feature file content as a string
projectKeyYesJira project key (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden and does disclose key behavior: this is a mutating upsert ('create or update'), it needs full file content rather than a path, and there is a transport fallback to multipart/form-data. It omits important context for a write tool — authentication/cloud-instance requirements, how duplicates are matched (tags? test key?), whether updates overwrite existing steps, and what the result looks like.

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?

Three short, front-loaded sentences with the core action first and implementation notes after — nothing is padded. The trailing content-type fallback sentence is slightly cryptic ('text/plain content type fails') and is the weakest use of space, but it is short enough not to hurt.

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 mutation tool with no annotations and no output schema, the description covers the action, the input workflow, and the required project. It is not complete enough to call confidently, since the agent gets no information about the import result (created vs updated counts, validation errors on malformed Gherkin) or how repeated imports reconcile with existing tests.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, and the description adds genuinely useful meaning beyond the schema by specifying how 'content' is obtained (read the file with your Read tool, pass the full string) and reinforcing that projectKey is mandatory. The 'format' enum parameter is left entirely to the schema, which is acceptable.

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 ('Import Cucumber .feature files into Xray Cloud') plus the outcome ('create or update test cases'), which tells an agent exactly what it does. It does not differentiate itself from the very similar sibling 'xray_import_cucumber', leaving the closest naming collision unresolved.

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?

It provides operational guidance for invoking the tool ('Read the .feature file via your Read tool and pass the full content as a string') and flags projectKey as required, which is real usage help. However, it never states when to choose this over xray_import_cucumber, xray_import_behave, or the other import siblings, so the selection decision is left implicit.

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