Skip to main content
Glama
mcp-chatwoot

mcp-chatwoot

by serversmx

get_outgoing_messages_report

Retrieves outgoing message counts grouped by agent, team, inbox, or label for a specified time range, helping analyze message volume and reporting.

Instructions

Get outgoing messages count grouped by entity (via API v2). Shows message volume per agent, team, inbox, or label.

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": {
      "group_by": "<group_by>"
    },
    "name": "get_outgoing_messages_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoStart timestamp (Unix timestamp)
untilNoEnd timestamp (Unix timestamp)
group_byYesEntity to group messages by
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

B3.2/5.0
Behavior2/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, and it discloses very little: no permission requirements, no rate limits, no statement of what counts as "outgoing" versus incoming, and no indication of date-range defaults when since/until are omitted. "(via API v2)" is the only extra context offered and does not help the agent reason about behavior.

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?

Two short sentences, front-loaded with the core action and immediately followed by the grouping options. The parenthetical "(via API v2)" is low-value noise, but otherwise there is no wasted wording.

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?

With no annotations and no output schema, the description should describe the returned structure and the behavior of optional date parameters, and it does so only partially — "messages count grouped by entity" hints at the shape. For a reporting tool with optional time bounds, the missing default-range semantics are a real gap.

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 every parameter is already documented, including the group_by enum values that the description restates. The description adds marginal meaning by framing the result as "message volume per agent, team, inbox, or label," but adds nothing about how since/until interact or what happens when account_id is omitted beyond what the schema says.

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 names a specific verb and resource ("Get outgoing messages count") plus the grouping dimension, and clarifies it is a volume report rather than a message listing. It does not name a sibling report (e.g. get_report_summary or get_first_response_time_report) to sharpen the distinction, so it stops short of a 5.

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 by the word "report" and the example groupings; there is no explicit statement of when to choose this over list_messages or the other report tools, nor any exclusions. An agent can infer this is for aggregate volume analysis, but must guess at the boundaries.

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