Skip to main content
Glama

xray_import_robot

Imports Robot Framework output.xml test results into Xray Cloud by reading the full XML content and optional execution metadata, so automated test runs are pushed to Jira test executions or test plans.

Instructions

Import Robot Framework XML test results. Read the Robot Framework output.xml file and pass the full content here. Optionally provide testExecInfo for execution-level metadata (summary, description, version). Use this tool to push Robot Framework 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_robot"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
contentYesRobot Framework XML content as a string
projectKeyNoJira project key
testExecKeyNoExisting test execution key to update
testPlanKeyNoTest plan key to associate results with
testExecInfoNoTest execution metadata for multipart mode. When provided, import uses multipart/form-data to include execution-level fields (summary, description, version, etc.) that are not available in simple mode.

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?

No annotations are supplied, so the description carries the full burden. It usefully distinguishes simple mode from multipart mode (triggered by testExecInfo) and clarifies that content is raw XML, but says nothing about permissions, duplicate-result handling, whether results are merged or overwritten, or response behavior.

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 with the core action front-loaded and no padding. The final sentence partially restates the first ('Import Robot Framework XML test results' vs 'push Robot Framework test results into Xray Cloud'), a small redundancy.

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 6-parameter tool with a nested object, no annotations, and no output schema, the description covers the essentials (required content, optional execution metadata) but leaves relationship questions open: when to pass testExecKey versus creating a new execution, how testPlanKey interacts, and what the import returns on failure.

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 description coverage is 100%, so the schema already documents every parameter including the format enum and nested testExecInfo fields. The description reinforces that content must be the full XML file and that testExecInfo supplies execution-level metadata, but adds no syntax or precedence detail beyond the schema (e.g., testExecInfo.projectKey overriding the top-level projectKey is only in the schema).

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 Robot Framework XML test results' and names the artifact ('Robot Framework output.xml'). The format-specific naming clearly distinguishes it from siblings like xray_import_junit or xray_import_cucumber, though the description never explicitly contrasts them.

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 clear context: use it to push Robot Framework results into Xray Cloud, and instructions to read output.xml and pass the full content (not a file path). No when-not-to-use guidance or explicit sibling comparisons are provided.

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