Skip to main content
Glama

import_junit_results

Import JUnit XML test results into Xray under a Jira project or existing test execution, using Xray credentials to record outcomes.

Instructions

Import JUnit XML test results (requires Xray credentials).

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": {
      "xml_content": "<xml_content>"
    },
    "name": "import_junit_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_keyNoJira project key to associate results with
xml_contentYesJUnit XML results string
execution_keyNoExisting test execution key to add results to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it only discloses that Xray credentials are required. It does not say whether a new test execution is created when execution_key is omitted, whether repeated imports duplicate results, or whether the operation is write/destructive — all critical for a mutation tool.

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?

A single short sentence with the resource front-loaded and the credential prerequisite attached as a parenthetical. Nothing is wasted, though the terse form leaves little room for the behavioral context a mutation tool warrants.

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?

The tool is simple (3 flat parameters, one required, no nested objects, no output schema), and the description names the format and the auth prerequisite. The main gap is return-value and duplicate-handling behavior, which matters but is a modest omission for a simple import operation.

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 project_key, xml_content, and execution_key are already documented in the schema. The description adds no syntax, format, or precedence details beyond that, which meets the baseline for a fully covered 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 JUnit XML test results), which distinguishes it from the format-specific siblings like import_behave_results and import_cucumber_results by naming the accepted format. It stops short of naming a sibling explicitly, but an agent can identify the right tool from the format alone.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance, no mention of how it relates to the other import_* siblings, and no explanation of when to supply execution_key versus project_key. The only implicit routing signal is the format name in the tool name itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.