Skip to main content
Glama

Change a test

update_test
Destructive

Change a saved test: its name, or its whole definition (the steps you send replace the saved ones, so send all of them; read them with get_test first and keep each step's id). Try the changed steps with try_test_steps and its testUuid before saving. A secret you leave as value null keeps its stored value.

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": {
      "uuid": "<uuid>"
    },
    "name": "update_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA new name for the test
uuidYesThe test's uuid
definitionNoThe test's definition: { startUrl, steps[], variables?, settings? }. Read get_test_steps_guide first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds the specific destructiveness mechanism: the definition supplied replaces all saved steps, so omitting steps loses them. It also discloses a non-obvious storage rule (a secret left as value null retains its stored value), which is real behavioral context not present in annotations.

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?

Three sentences, front-loaded with the core action and no filler. The heavy nesting of parentheses ('the steps you send replace the saved ones, so send all of them; read them with get_test first and keep each step's id') is dense, though every clause carries operational meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation of a nested definition object, the description covers the prerequisites, the replace semantics, and the secret-null edge case, and it points at get_test_steps_guide for the full shape. It does not describe the response or error behavior, which is a minor but real gap given there is no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds meaning beyond the schema: the replace-don't-merge semantics of 'definition', the need to preserve step ids, and the null-secret retention rule, none of which appear in the JSON schema. It does not spell out variables/settings handling, so not a full 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Change a saved test') and enumerates exactly what is mutable: the name or the whole definition. It is clearly distinguishable from read-oriented siblings like get_test by the explicit mutation framing and the 'replace the saved ones' note.

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

Usage Guidelines5/5

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

It gives an explicit ordered workflow: read the current definition with get_test and keep each step's id, then try the changed steps with try_test_steps and its testUuid before saving. The 'send all of them' instruction tells the agent exactly what a correct call looks like versus an incorrect one.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources