Skip to main content
Glama

add_tests_to_test_set

Adds one or more test issues to an existing Xray test set using its Jira issue key and the test keys, helping keep test coverage organized.

Instructions

Add tests to an existing test set via Xray GraphQL (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": {
      "set_key": "<set_key>",
      "test_keys": "<test_keys>"
    },
    "name": "add_tests_to_test_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
set_keyYesJira issue key of the test set (e.g. "PROJ-200")
test_keysYesTest issue keys to add (e.g. ["PROJ-1", "PROJ-2"])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does disclose two important behavioral facts: the operation uses Xray GraphQL and requires Xray credentials. However, it omits mutation semantics such as duplicate handling, whether the operation is additive or idempotent, and what happens on failure.

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?

The definition is a single front-loaded sentence with no wasted words, and it includes the critical credential prerequisite up front.

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 mutation, the definition covers the core action and auth requirement, but with no output schema and no annotations it should ideally describe the return value or duplicate-handling behavior. It is minimally adequate rather than fully complete.

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 both parameters are already well documented with examples. The description adds no additional parameter meaning beyond what the schema provides.

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 states a specific verb and resource: adding tests to an existing test set. It is clear enough to distinguish from creation tools like create_test_set, though it does not explicitly name alternatives such as add_tests_to_test_plan.

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 implied by the tool name and description: use it to append existing tests to an existing test set. There is no explicit when-to-use versus alternatives guidance, nor any stated exclusion such as when a test already belongs to the set.

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