Skip to main content
Glama

Sergio by Serviche

Tick, skip, add or reschedule a step on a running flow

edit_conversation_flow_steps
Idempotent

Changes a running flow's steps on a conversation, as the steps on its flow chip do. Each is SET to a state, never toggled, so a replayed call cannot undo itself: setStepDone ticks a step (done true) or unticks it (done false); setStepSkipped marks a step not needed (skipped true) or restores it (false); updateStepDeadline sets a step's deadline_minutes, or clears it with null; addStep appends a step, its title read like the one-line add box ("call back wednesday around 2" carries its own deadline). Change one step state per call (one of setStepDone, setStepSkipped). Ticking the last step closes the flow, as it does for a person. conversation_id is the thread; conversationFlowId names the run when the thread carries more than one active flow (its id comes back from start_conversation_flow or assign_flow). Pass the same idempotency_key when retrying; a repeat changes nothing more.

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": {
      "conversation_id": "<conversation_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "edit_conversation_flow_steps"
  }
}

Input Schema

NameRequiredDescriptionDefault
addStepNoAppend a step to this run, its title parsed for a deadline like the add box.
setStepDoneNoTick one step done (true) or undo it (false). Step indices are zero-based, in the order the flow shows them.
setStepSkippedNoMark one step not needed (true) or restore it (false). Never counted as done.
conversation_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.
conversationFlowIdNoThe run to change, when the thread has more than one active flow.
updateStepDeadlineNoMove one step's deadline to deadline_minutes from the flow's anchor, or clear it with null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: operations are SET, not toggles, so a replayed call cannot undo itself; ticking the last step closes the flow as a side effect; reused idempotency_key changes nothing further. The last-step-closes-flow side effect is exactly the kind of consequence annotations cannot convey.

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?

Front-loaded with the core purpose and then per-operation semantics, with no filler sentences. It is dense and uses semicolon-chained clauses that take effort to parse, but nearly every clause carries operational information.

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 seven-parameter mutation tool with no output schema, the description covers state semantics, side effects, idempotency, and run identification. It does not describe what the response contains or how errors (e.g., out-of-range stepIndex) surface, which leaves a small gap.

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 86%, so the baseline is 3; the description goes further by explaining that addStep's title is parsed for a deadline just like the add box, with a concrete example ('call back wednesday around 2' carries its own deadline). It also disambiguates conversation_id vs conversationFlowId as thread vs run.

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 a specific verb and resource scoped to a conversation's running flow ('Changes a running flow's steps on a conversation, as the steps on its flow chip do'), and immediately enumerates the four operations it performs. This distinguishes it from flow-definition editing siblings without needing to name them.

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?

Gives clear operational guidance: one step state change per call (setStepDone or setStepSkipped), and when conversationFlowId is required (thread carries more than one active flow) versus when conversation_id suffices. It does not explicitly say when to prefer this over siblings like edit_flow_steps or edit_lead_step, so it stops short of full alternatives coverage.

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