Skip to main content
Glama
mcp-chatwoot

mcp-chatwoot

by serversmx

update_team_members

Replace a team's agent list by setting exactly the provided user IDs as members. Use it to update team membership in Chatwoot when agents need to be added, removed, or fully reassigned.

Instructions

Replace the agent list for a team. Sets exactly the provided user IDs as team members.

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": {
      "team_id": "<team_id>",
      "user_ids": "<user_ids>"
    },
    "name": "update_team_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
team_idYesThe team ID
user_idsYesArray of agent user IDs that should be in the team
account_idNoChatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the most consequential trait: that this is a full-list replacement, implying existing members not in the list are dropped. It does not mention permission requirements, error behavior for invalid user IDs, or whether changes are reversible.

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, front-loaded with the operation and followed by the one clause that matters most (exact-set semantics). No filler or restatement of the tool name.

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 simple three-parameter mutation with a fully documented schema and no output schema, the description covers the essential contract: it replaces rather than appends. Missing are permission/authorization notes and failure behavior on invalid IDs, which would matter for a destructive overwrite with no annotations.

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, but the description adds real meaning beyond the schema's 'Array of agent user IDs that should be in the team' by stating that the list is set exactly, making clear that omissions result in removal. It says nothing about account_id, though the schema already documents the env-var default.

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 (Replace) and resource (agent list for a team) and immediately clarifies the semantics: 'Sets exactly the provided user IDs as team members.' This distinguishes it from the sibling add_team_members/remove_team_members operations without naming them, because 'replace' and 'exactly' signal full overwrite rather than incremental change.

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 overwrite framing ('Replace the agent list', 'exactly the provided user IDs') implies when to prefer this over adding or removing members individually, but the definition never explicitly names the alternative tools or states when not to use it. An agent can infer the choice but must do the routing work itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools