Skip to main content
Glama

Change a flow's scenario

workbench_flows_scenarios_update
Destructive

Renames a scenario or changes its values. values MERGES into what's saved: pass only the variables that change, and null to clear one. Get the scenarioId from workbench_flows_scenarios_list. May return needs_confirmation.

Input Schema

NameRequiredDescriptionDefault
flowIdYesFlow id.
valuesNoValues by variable name, e.g. { member_first_name: "Lexi", plan_type: "Platinum" }. Names come from workbench_flows_scenarios_list's `variables`; a name the flow doesn't have is left out and reported back.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNoApproval id from a prior needs_confirmation response. Omit on the first call.
scenarioIdYesScenario id, from workbench_flows_scenarios_list.
scenarioNameNoNew name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the safety profile (destructiveHint=true, readOnlyHint=false). The description goes well beyond that with the critical merge semantics ('pass only the variables that change'), the null-clears-a-variable rule, and the fact that the call may return needs_confirmation, which explains why an approvalId parameter exists.

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?

Three short sentences, each carrying a distinct fact (what it does, how `values` behaves, where the id comes from, and the confirmation possibility). Zero padding and the key mutation semantics are front-loaded.

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?

With 6 parameters covered 100% by the schema and no output schema, the description supplies the missing behavioral pieces (merge/clear semantics, confirmation flow) for a destructive mutation tool. It stops short of detailing what the response payload looks like on success, but nothing required to call it is absent.

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 the baseline is 3, but the description adds meaning the schema does not: that `values` merges rather than replaces and that a null value clears a variable. That materially changes how an agent should populate the nested object.

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 states a specific verb pair ('Renames ... or changes its values') against a clearly identified resource (a scenario), which cleanly separates it from the sibling create/delete/list scenario tools. An agent can identify exactly what this call mutates without opening the schema.

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?

It gives one concrete prerequisite ('Get the scenarioId from workbench_flows_scenarios_list'), which is genuinely useful routing information. However, it never states when to prefer this over scenarios_create, or when a rename is inappropriate, so usage is implied rather than guided.

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