Skip to main content
Glama

xray_update_test_step

Update an existing step in a Manual Xray test by revising its action, test data, or expected result so test instructions stay accurate.

Instructions

Update an existing step in 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": {
      "stepId": "<stepId>",
      "step": "<step>"
    },
    "name": "xray_update_test_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepYesStep fields to update
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
stepIdYesThe ID of the step to update

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 provided, so the description carries the full behavioral burden. It says only that this is an update and does not disclose whether the operation replaces or merges unspecified step fields, what permissions are required, whether the change is reversible, or what the response contains for this 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?

The description is a single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity leaves important behavioral gaps that are not compensated for elsewhere.

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?

This is a mutation tool with a nested step object and no annotations or output schema, yet the description does not explain partial-update semantics, required versus optional behavior, permissions, or return behavior. The format parameter and its enum options are also unmentioned in the description.

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%, including explicit descriptions for stepId and the nested step fields action, data, and result. The description adds no syntax, formatting, or field-level meaning beyond what the schema already documents, so the baseline of 3 is appropriate.

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: "Update an existing step in a Manual Xray test." This is enough for an agent to distinguish it from sibling update tools like xray_update_step_status or xray_update_step_comment, but it does not explicitly contrast itself with xray_add_test_step or xray_remove_test_step beyond the word "update."

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?

The definition gives no when-to-use guidance, no conditions for selecting this over sibling tools such as xray_add_test_step, and no prerequisites like required permissions or test-state constraints. It simply states the operation without telling an agent when it is appropriate.

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