Skip to main content
Glama

xray_add_tests_to_set

Add tests to an existing test set by Jira issue ID, letting you group related test cases for planning, tracking, and execution.

Instructions

Add tests to an existing test set. Tests are referenced by their Jira issue IDs.

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_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesJira issue ID of the test set (e.g. '10042')
testIssueIdsYesArray of test issue IDs to add to the set

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 behavioral burden. It does not say whether the operation is additive only or idempotent, how duplicates or invalid test IDs are handled, whether permissions on both the set and the tests are required, or what the response looks like — significant omissions 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?

Two compact sentences with the core action front-loaded and zero filler. The second sentence is short and earns its place by clarifying the identifier type, though it slightly repeats the schema's wording.

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 small three-parameter tool with a fully documented schema and no output schema, the description covers the essentials. It stops short on mutation-specific behavior — partial success, duplicate handling, and whether the existing set contents are preserved — which an agent would want before calling.

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 coverage is 100% and all three parameters are documented in the schema, so the baseline is 3. The sentence 'Tests are referenced by their Jira issue IDs' reinforces the expected identifier format for testIssueIds but adds no format, constraint, or ordering detail beyond 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: 'Add tests to an existing test set.' The phrase 'existing test set' implicitly separates it from the sibling tools that add tests to executions, folders, plans, and preconditions, though it never names those alternatives explicitly.

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?

The word 'existing' establishes a precondition that the target set must already exist, which implicitly routes creation to xray_create_test_set. There is no explicit when-not guidance or statement about what happens if a test is already in the set.

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