Skip to main content
Glama

Sergio by Serviche

Remove a flow from a conversation

remove_conversation_flow
Idempotent

Takes one flow off a conversation, as the flow chip's Remove does; its open step tasks are removed. conversationFlowId names the flow. reason is optional. Pass the same idempotency_key when retrying.

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>",
      "conversationFlowId": "<conversationFlowId>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "remove_conversation_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
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.
conversationFlowIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the mutation/idempotency profile, and the description adds real context beyond them: the side effect that the flow's open step tasks are removed, plus the rule to reuse the same idempotency_key on retry. There is a mild tension with destructiveHint=false given that step tasks are deleted, but this reads as disclosing expected derived-data cleanup rather than contradicting the annotation; reversibility and permission needs remain unstated.

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 short sentences, front-loaded with the core action and side effect before the retry instruction. "reason is optional" restates what the required-array already shows, a small amount of filler in an otherwise tight description.

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 mutation tool with no output schema, the description covers the essential action, the cascading task removal, and idempotent retry, which is enough to call it correctly. It is slightly thin on what the caller gets back and on whether the removal can be undone, but nothing critical is missing.

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 only 25%, so the description carries real burden. It identifies conversationFlowId as naming the flow and flags reason as optional, but never says why a reason is worth supplying or what conversation_id refers to; the idempotency_key explanation duplicates the schema text rather than extending it.

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?

"Takes one flow off a conversation" names a specific verb and resource with explicit scope (one flow, not all flows), which is far more precise than the title alone. It does not, however, differentiate itself from the nearby sibling close_conversation_flow, leaving the boundary between "remove" and "close" for the agent to guess.

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?

The analogy "as the flow chip's Remove does" gives a concrete when-to-use anchor, and the retry note implies repeated-invocation semantics. But there is no explicit when-not guidance and no mention of the close_conversation_flow alternative, so an agent choosing between the two flow-teardown tools gets only indirect help.

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