Skip to main content
Glama

Update Scenario

update_scenario
Destructive

Replace an existing scenario's name and Populations — the populations given become the whole scenario, so to change one, send the others alongside it, each with the id get_scenario reported, or they are dropped and the ones you send are new populations. The same save rules and summary as create_scenario apply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe new scenario name.
projectIdYes
scenarioIdYes
populationsYesThe Populations, in order. Each needs a name, the scriptId of a script in this project, and stages — { target, duration, ramp } segments that run for duration milliseconds and reach target bots by the end, each starting from where the previous stage left off. Optional per population: id (send back the id get_scenario reported to keep a population's identity), loadEngineId (an id from list_engines; defaults to the account's default region), iterations, iterationsPerUser, aggressionMultiplier, and playbackOptions with connectionBps (bits per second), hostnameOverrides, and variableOverrides. Read get_documentation topic 'load-test-scenarios' for what stages and ramps do; list_engines carries the account's stage bounds and bot caps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses exactly what gets destroyed: 'the populations given become the whole scenario... they are dropped and the ones you send are new populations.' This is a non-obvious, critical behavioral trait that prevents an agent from accidentally wiping out existing populations. References to shared save rules add further context, with no contradiction to annotations.

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?

The description is three sentences, front-loading the core action and then explaining the critical population-replacement semantics. It avoids restating schema details and uses the reference to create_scenario to avoid duplicating shared rules. No filler.

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 complex mutation tool with no output schema, the description covers the essential invocation context: what it replaces, how to preserve populations, and where to find the ids. It relies on create_scenario for save rules and summary rather than specifying them, and does not mention projectId/scenarioId semantics, though those are inferable. This is highly functional but not fully self-contained.

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 only 50%, but the description compensates for the most complex parameter by explaining that populations are a full replacement and that existing identities must be sent back via the id from get_scenario. projectId and scenarioId have no schema descriptions, but their roles are self-evident from names; the description does not add detail for them, but the key behavioral parameter is well covered.

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?

States the specific action 'Replace an existing scenario's name and Populations', identifying the resource (scenario) and what changes (name, populations). It clearly distinguishes from sibling create/delete/get operations by emphasizing replacement of an existing entity, and the whole-population caveat adds precision.

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

Usage Guidelines4/5

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

The description gives clear context for when to use this tool: to change an existing scenario's name or replace its populations. It references get_scenario for ids and create_scenario for save rules, but it does not explicitly state when not to use it or contrast with create_scenario/delete_scenario as alternatives.

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.