Skip to main content
Glama

xray_import_behave

Imports Behave JSON test results into Xray Cloud, letting teams push Python BDD execution results and embedded metadata for tracking.

Instructions

Import Behave JSON test results. Read the Behave JSON output file and pass the full content here. Note: Behave import does not support multipart mode — execution metadata is embedded in the Behave JSON format. Use this tool to push Python Behave 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_behave"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/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 disclosure burden. It does contribute real behavioral context: that the tool is a push/import mutation and that multipart mode is unsupported because execution metadata is embedded in the JSON. It omits auth/permission requirements, duplicate-import behavior, and any indication of what the call returns.

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 sentences, front-loaded with the action and format, followed by the input instruction and the multipart caveat. There is mild redundancy between the opening line and the closing 'Use this tool to push...' sentence, which restates the same purpose.

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 3-parameter import tool with no output schema, the definition covers the input side adequately and adds the useful multipart caveat. It leaves the agent without any notion of the post-import outcome (e.g., created test execution identifier) or failure/duplicate conditions, which matters for a mutation with no annotations.

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 description coverage is 100%, so all three parameters are already documented in structured form, and the description adds little beyond reinforcing that 'content' is the full file content. It does not touch 'projectKey' or the 'format' response-format enum, so it contributes no meaning the schema lacks.

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 ('Import Behave JSON test results') and names the source format and ecosystem ('Python Behave BDD test results into Xray Cloud'), which implicitly separates it from the cucumber/junit/nunit/robot/testng/xray_json siblings. It never explicitly names an alternative importer, so the differentiation is by format label rather than by routing instruction.

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?

Gives a clear use condition: 'Use this tool to push Python Behave BDD test results into Xray Cloud', and an operational precondition in 'Read the Behave JSON output file and pass the full content here.' No explicit when-not guidance or named alternative importer, so not a 5.

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