Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Chatway: Omnichannel Customer Support. If you published it, claim ownership there.

Request Human Handoff

handoff-to-human

Request human-agent handoff for a Chatway conversation that is currently handled by a Chatway AI assistant. Returns an error if no AI assistant is assigned to the conversation; in that case, assign a teammate with assign-conversation or add a private note instead. This records a handoff request but does not guarantee that a human has joined or replied. If the conversation was not already waiting for a human, it also sends the conversation.human_handoff_requested webhook to the workspace's subscribed endpoints. Use it when the customer asks for a person or the request cannot be handled with the available tools; after handoff, do not reply with send-message.

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>"
    },
    "name": "handoff-to-human"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversation_idYesUUID of the conversation that needs a human agent.

Output Schema

NameRequiredDescriptionDefault
statusNo
conversation_idNoConversation UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / conversation_id / description
      Added value: +"UUID of the conversation that needs a human agent."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "conversation_id": {
      +      "description": "Conversation UUID.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "handoff_requested"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (which only say this is a non-readonly, non-destructive, non-idempotent mutation), the description discloses the failure mode (error when no AI assistant is assigned), the limited semantics of success ('records a handoff request but does not guarantee that a human has joined or replied'), and a concrete side effect (the `conversation.human_handoff_requested` webhook, sent only if the conversation was not already waiting). That is exactly the behavior an agent needs and cannot get from structured fields.

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 primary action and its precondition come first, followed by the failure fallback, the success caveat, the webhook side effect, and the follow-up rule. Every sentence carries distinct operational information with no restatement of the title or schema.

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 one-parameter mutation with an output schema (so return values need no explanation), the description covers preconditions, error path, alternatives, side effects, success semantics, and what to do afterward — nothing an agent needs to invoke 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% and the single parameter is fully described there, so the baseline applies; however, the description adds a genuine precondition on that conversation_id — it must be a conversation currently assigned to an AI assistant or the call errors — which the schema does not state.

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 names a specific verb and resource ('Request human-agent handoff for a Chatway conversation') and scopes it to conversations 'currently handled by a Chatway AI assistant,' which an agent cannot confuse with assign-conversation or send-message.

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

Usage Guidelines5/5

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

It gives explicit triggers ('when the customer asks for a person or the request cannot be handled with the available tools'), names fallbacks for the failure case ('assign a teammate with `assign-conversation` or add a private note'), and states a post-handoff exclusion ('do not reply with `send-message`').

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