Skip to main content
Glama

Update a chat conversation

update_conversation

Update a chat conversation

Changes the status, the archive flag or the assigned human agent of a chat conversation. Chat threads only: an id belonging to a voice call is rejected with 400, and a body with no updatable field is rejected with 400 as well. Assigning an agent also stamps the assignment time and, unless the same request sets a status, moves the thread to active, mirroring what the dashboard does. Setting the status to closed runs the same finalisation as the close endpoint, recomputing the conversation analytics. The updated conversation is returned in data.

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": {
      "id": "<id>",
      "body": "<body>"
    },
    "name": "update_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the chat conversation.
bodyYesThe fields to change. `status` moves the thread between `waiting`, `active` and `closed`, `isArchived` moves it in and out of the inbox, and `assignedAgentId` names the human agent to hand it to, or null to unassign. At least one field must be present.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 (readOnly=false, destructive=false, idempotent=false); the description goes well beyond it. It discloses the two 400 conditions, the side effect that assigning an agent stamps the assignment time and auto-moves the thread to `active` unless a status is supplied, and that closing recomputes conversation analytics — exactly the non-obvious consequences an agent needs before mutating.

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 action, then constraints, side effects, and the return note in a logical order; almost every clause carries information. The opening restatement of the title ("Update a chat conversation") is the only inert sentence, and the parenthetical dashboard reference is decorative rather than actionable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with a nested body and no output schema, the description covers the gaps that matter: rejection conditions, implicit status changes, analytics recomputation on close, and where the result appears ("returned in `data`"). Nothing an agent needs in order to call it correctly is missing.

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, and the description clears that bar by adding cross-field semantics the schema does not capture: assigning an agent implicitly changes status to `active` unless `status` is in the same request. It does not add format or edge-case detail for the individual fields, which is acceptable given the rich schema text.

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 and enumerates exactly what is mutable: status, archive flag, assigned human agent. It also scopes the resource precisely ("Chat threads only: an id belonging to a voice call is rejected with 400"), so an agent knows this is not the voice-call updater without opening any 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?

The description gives strong context (chat-only scope, at least one field required) but never explicitly routes between this tool and siblings like close_conversation or update_live_chat_agent. The note that setting status to `closed` runs "the same finalisation as the close endpoint" hints the two paths are equivalent, but leaves the agent to infer which to prefer.

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.