Skip to main content
Glama
Apidog MCP Server

Apidog MCP Server

by ivanherula

update_test_scenario_steps

Set or replace all steps in a test scenario by providing its scenario ID and complete step array.

Instructions

Set or update the steps in a test scenario (replaces all steps)

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": {
      "scenarioId": "<scenarioId>",
      "steps": "<steps>"
    },
    "name": "update_test_scenario_steps"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesComplete array of steps to set on the scenario
scenarioIdYesTest scenario ID

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 carries the behavioral burden, and it does disclose the single most important trait: "(replaces all steps)", which warns the agent that existing steps are overwritten rather than appended. It does not address permissions, what happens if scenarioId is invalid, or whether the change is reversible, so meaningful gaps remain for a 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?

A single tight sentence with the destructive behavior front-loaded in parentheses where it is immediately visible. Nothing is wasted, though there is very little content to structure.

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 simple two-parameter write tool with full schema coverage and no output schema, the description covers purpose and the replace-all side effect, which is the key thing an agent needs. Additional detail on failure modes or prerequisites would push it higher.

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 coverage is 100%, so both parameters (scenarioId, steps) are already documented in the schema as a number ID and a complete step array. The description's "replaces all steps" reinforces the semantics of the steps array but adds no new syntax or format detail, so the baseline 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?

The description names a specific verb pair ("Set or update") and resource ("steps in a test scenario"), making clear it writes the step list of a scenario, which distinguishes it from the sibling get_test_scenario_steps. It stops short of naming siblings explicitly, so it lands just below the top score.

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 "Set or update" — an agent can infer this is the write counterpart to reading steps — but there is no explicit when-to-use or when-not-to-use guidance and no mention of alternative tools such as update_test_case. Adequate but leaves routing to inference.

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