Skip to main content
Glama

xray_create_test_execution

Create a new Xray test execution, optionally link tests and test environments, and return the new execution key.

Instructions

Create a new test execution, optionally linking tests and environments. Returns the new execution key.

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": {
      "jira": "<jira>"
    },
    "name": "xray_create_test_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
jiraYesJira fields JSON object, e.g. { "fields": { "summary": "...", "project": { "key": "PROJ" } } }
testsNoTests with version info to add to this execution
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
testIssueIdsNoIssue keys of tests to add to this execution
testEnvironmentsNoTest environment names, e.g. ['Chrome', 'Firefox']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/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 burden. It does disclose the return value ('Returns the new execution key'), which is genuinely useful with no output schema, but it says nothing about required Jira permissions, whether execution keys are project-scoped, what happens on duplicate creation, or whether the linked tests are validated before creation. For a mutation tool with zero annotation coverage, this is a real gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and following with the return value. Nothing redundant and nothing buried.

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?

For a 5-parameter create tool with a required nested jira object and no output schema, the description covers the action and the return value, and the schema fully documents the parameters. It falls short only on creation-time behavior (permissions, side effects, duplicate handling), which an agent would want before invoking a write.

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 every parameter is already documented, which sets the baseline at 3. The description adds only that tests and environments are optional; it adds nothing about the required nested 'jira' fields object or the toon/json/summary format parameter, so no credit above baseline.

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 ('Create a new test execution') and scopes in optional linkage of tests and environments. It does not explicitly distinguish itself from siblings like xray_add_tests_to_execution or xray_add_environments_to_execution, so an agent must infer that this tool creates the container while those mutate an existing one.

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?

The phrase 'optionally linking tests and environments' implies you can create-and-populate in one call, but there is no explicit when-to-use versus when to create empty and then call the add_tests/add_environments siblings. Guidance is implied rather than stated.

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