Skip to main content
Glama

Set live chat staff online or offline

set_live_chat_agent_status

Set live chat staff online or offline

Online staff get new chats that a chatbot hands over.

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": {
      "agentId": "<agentId>",
      "body": "<body>"
    },
    "name": "set_live_chat_agent_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe request fields as one JSON object.
agentIdYesagentId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare that this is a non-read-only, non-destructive mutation, and the description adds real behavioral context — that being online causes chatbot handovers to be routed to the staff member. It does not say what happens to chats already assigned when the agent is set offline, nor what permissions are required. No contradiction with annotations.

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?

Two short sentences, none wasted, with the core action front-loaded and the consequence of the online state following. Nothing redundant against the title.

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

Completeness3/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 no output schema, the description covers the action and its routing effect, which is the main thing an agent needs. It leaves open the offline case (what happens to in-flight chats) and the call's response shape, so it is adequate but not complete.

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 description coverage is 100%, so the schema already documents agentId and the nested body.isOnline flag; the description's 'online or offline' merely restates the boolean. Baseline 3 applies since the description adds no format or constraint detail beyond the schema.

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?

The description states a specific verb and resource ('Set live chat staff online or offline') and adds the effect ('Online staff get new chats that a chatbot hands over'), so an agent can tell this toggles presence rather than editing an agent record like update_live_chat_agent. It does not explicitly name a distinguishing sibling, which keeps it at 4.

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?

Usage is implied by the stated effect: use it when a staff member should start or stop receiving chatbot handovers. There is no explicit when-not, no mention of prerequisites such as the staff member existing, and no alternative considered (e.g. presence listing via list_presence_live).

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.