Skip to main content
Glama

xray_move_folder

Move a folder to a new parent path within an Xray project hierarchy by specifying the project ID, current folder path, and destination path.

Instructions

Move a folder to a new location in the Xray repository hierarchy.

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": {
      "projectId": "<projectId>",
      "path": "<path>",
      "destinationPath": "<destinationPath>"
    },
    "name": "xray_move_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesCurrent folder path, e.g. '/Regression/Login'
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
projectIdYesJira project ID, e.g. '10000'
destinationPathYesDestination parent path, e.g. '/Smoke' to move folder under Smoke

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/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 of behavioral disclosure and does not meet it. It says nothing about whether child folders/tests move along with the folder, what happens if a folder of the same name already exists at the destination (merge vs. error vs. overwrite), or what permissions are required for a mutating operation.

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?

A single front-loaded sentence with the verb and target stated first and no filler. Every word earns its place; the brevity problem lies in missing content, which is scored under other dimensions.

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 destructive-capable move with no annotations and no output schema, the definition omits the facts an agent most needs: recursive behavior for subfolders, collision handling at the destination, and whether the move is reversible. With structured fields providing no behavioral safety net, the description should do substantially more.

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 the schema already gives examples for path, projectId and destinationPath plus an enum with defaults for format, so the baseline is 3. The description adds no meaning beyond the schema — it does not clarify path semantics such as leading-slash handling or whether destinationPath is the new parent or the full new path.

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 uses a specific verb ('Move') and resource ('a folder') and adds the scope 'in the Xray repository hierarchy', so the operation is unambiguous. It does not explicitly contrast with near siblings such as xray_rename_folder or xray_create_folder, so an agent must infer that 'move' means relocating under a new parent rather than renaming in place.

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 by the verb: an agent can reasonably infer it should call this when a folder must be relocated. There is no explicit when-to-use condition, no exclusion of alternatives (e.g. rename in place via xray_rename_folder), and no stated prerequisite such as the destination parent already existing.

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