Skip to main content
Glama

xray_add_test_step

Add a new step with action, test data, and expected result to a Manual Xray test using its Jira issue ID.

Instructions

Add a new step to a Manual Xray test.

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>",
      "step": "<step>"
    },
    "name": "xray_add_test_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepYesStep data to add
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesThe Jira issue ID of the test (e.g. PROJ-123)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/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 not say whether the step is appended or inserted at a position, whether the test must not be part of an active run, what permissions are needed, or what the call returns – all material for a mutation on nested step data.

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. Its brevity is efficient rather than padded, though it tips into under-specification given the tool's complexity.

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 a mutation tool with a nested object parameter, no annotations, and no output schema, the definition omits ordering behavior, preconditions, and return information. An agent could invoke it but could not predict the effect on existing steps or step ordering.

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% and every property, including the nested action/data/result fields and the format enum, is documented in the schema. The description adds no further meaning, so the baseline of 3 applies.

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+resource ("Add a new step") and narrows scope to a "Manual Xray test", which separates it from the update/remove step siblings. It stops short of naming an alternative or clarifying where in the step order the new step lands.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use context, no exclusions, and no pointer to siblings such as xray_update_test_step or xray_remove_test_step. The only guidance is the implicit constraint that the target must be a Manual test, leaving the agent to infer the rest.

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