Skip to main content
Glama

import_testng_results

Import TestNG XML test results into Xray for Jira Cloud to track automated test outcomes and associate them with a Jira project. Requires Xray credentials.

Instructions

Import TestNG 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_testng_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_keyNoJira project key to associate results with
xml_contentYesTestNG XML results string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.2/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 discloses only one useful fact: that Xray credentials are required. It says nothing about what the import creates (new test executions vs. updates), how duplicates or re-imports are handled, whether the operation is idempotent, or what a failure 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?

A single front-loaded sentence with no filler; the credential prerequisite is appended compactly. It is efficient, though its brevity edges toward under-specification rather than pure concision.

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 simple two-parameter import with a fully documented schema and no output schema, the description covers what the tool does and its auth prerequisite. However, for a mutation-style bulk import it omits the outcome of the call and the duplicate/re-import semantics an agent would need to use it safely.

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% with only two simple parameters, so the schema already explains project_key and xml_content. The description adds no further meaning about the parameters, which is acceptable at this coverage baseline but not additive.

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 TestNG XML test results'), and the format qualifier distinguishes it from the sibling importers such as import_junit_results and import_cucumber_results. It stops short of explicitly stating what it is not, but the format specificity carries the differentiation.

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?

Usage is only implied by the TestNG format name: an agent can infer this is the tool for TestNG XML rather than JUnit/NUnit/Robot results, but nothing states prerequisites beyond credentials, nor when an alternative importer would be correct. No exclusions or alternative routing are given.

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