Skip to main content
Glama
mcp-chatwoot

mcp-chatwoot

by serversmx

get_conversation_metrics

Retrieve open, unattended, and unassigned conversation counts for an account or specific agent to monitor workload and identify conversations needing attention.

Instructions

Get conversation metrics for the account or a specific agent (via API v2). Returns open, unattended, and unassigned conversation counts.

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": {
      "type": "<type>"
    },
    "name": "get_conversation_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesMetric scope
user_idNoAgent user ID (required when type is "agent")
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

A3.5/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 discloses that this is a read operation against API v2 and summarizes the return payload (open/unattended/unassigned counts), but says nothing about permissions, rate limits, or whether counts include resolved conversations.

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, scope first and return values second, with no filler. Everything present is load-bearing and front-loaded.

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 3-parameter read tool with no output schema and no annotations, the description is adequate but thin: it explains the output shape yet gives no disambiguation from adjacent metrics/counts tools or any behavioral caveats. An agent can invoke it, but may pick the wrong sibling.

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 100%, so the enum for type, the user_id dependency on type='agent', and the account_id env-var fallback are already documented. The description adds only the framing 'for the account or a specific agent', which marginally reinforces the schema 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?

The description states a concrete verb and resource ('Get conversation metrics') and narrows scope to account-level or agent-level, plus names the three returned counts (open, unattended, unassigned). It does not distinguish itself from sibling tools like get_conversation_counts or get_conversation_statistics, which read as near-synonyms to an agent choosing between them.

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 only implied: the phrase 'for the account or a specific agent' tells the agent which scope to pick via the type parameter, but there is no guidance on when this tool is preferable to get_conversation_counts or get_conversation_statistics, and no stated prerequisites.

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