Skip to main content
Glama

xray_add_tests_to_execution

Add one or more tests to an existing test execution using execution and test issue keys, so you can update coverage for that run.

Instructions

Add one or more tests to an existing test execution.

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": {
      "issueId": "<issueId>",
      "testIssueIds": "<testIssueIds>"
    },
    "name": "xray_add_tests_to_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesTest execution issue key, e.g. PROJ-456
testIssueIdsYesIssue keys of tests to add, e.g. ['PROJ-1', 'PROJ-2']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden, and it discloses almost nothing beyond the mutation itself. It does not say what happens when a test is already in the execution (duplicate handling), whether the operation is idempotent, what permissions are required, or what a partial 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 wasted words or redundant restatement of the title. It is efficient, though its brevity is more a product of under-specification than of disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated mutation tool with no output schema, the definition is too thin: it omits duplicate-handling behavior, permission requirements, and any indication of what the call returns. The only thing it establishes is that the target execution must pre-exist.

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 issueId, testIssueIds and format all documented in-schema, so the schema already does this work. The description's phrase "one or more" loosely echoes the minItems:1 constraint on testIssueIds but adds no format or key-syntax detail beyond what the schema supplies.

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?

"Add one or more tests to an existing test execution" gives a specific verb (add), resource (tests) and target container (test execution), which separates it from siblings like xray_add_tests_to_plan or xray_add_tests_to_set. It stops short of explicitly naming those alternatives, but the target resource is unambiguous.

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: the word "existing" signals the execution must already exist, but there is no explicit when-to-use guidance, no exclusions, and no pointer to the plan/folder/set variants. An agent must infer the choice from sibling names alone.

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