Skip to main content
Glama
chatwoot-mcp
by md-riaz

Get recent resolved conversation summaries by inbox

get_recent_resolved_conversation_summaries_by_inbox

Retrieve cached resolved conversations from the last N days, grouped by account and inbox, with Chatwoot conversation IDs and compact transcript summaries for recent audit and reporting.

Instructions

Return cached resolved conversations from the last N days grouped by account and inbox, including each Chatwoot conversation ID and a compact transcript-based summary. Use this for prompts like 'last 7 days all conversations summary per inbox', 'summarize conversations with IDs by inbox', or recent resolved chat audit. This uses cached resolved conversations; do not use for currently open/live backlog unless user explicitly asks for live/open data. If user mentions account, brand, inbox, product, or channel, call list_available_chatwoot_scope first, then pass selected account_id and/or inbox_ids.

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": {
      "days": "<days>"
    },
    "name": "get_recent_resolved_conversation_summaries_by_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesNumber of days back from now to include. Required because this tool is specifically for last N days requests.
inbox_idsNoOptional inbox IDs selected after list_available_chatwoot_scope. For a brand, include all matching inboxes such as Messenger, WhatsApp, and Live Chat.
account_idNoOptional Chatwoot account ID selected after list_available_chatwoot_scope.
include_transcript_excerptNoInclude compact transcript excerpt used for summary. Default false.
max_conversations_per_inboxNoMaximum conversations returned per inbox. Default 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does disclose the key trait: results come from cached resolved conversations rather than live data, which affects freshness and completeness. It also describes the return shape (grouped by account and inbox, each with a Chatwoot conversation ID and a compact transcript summary) and notes the transcript excerpt is optional. It does not mention rate limits, pagination, or permission requirements, which keeps it short of a 5.

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?

The core purpose and scope come first, followed by usage examples, the live-data exclusion, and the prerequisite step, so the structure is front-loaded and logical. The quoted example prompts are somewhat verbose, but each maps to a distinct real invocation pattern and earns its space.

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 five-parameter read tool with no output schema, the description covers what it returns (grouped summaries with conversation IDs), where the data comes from (cache), what it excludes (live backlog), and the dependent-tool workflow needed to supply account_id and inbox_ids. Nothing an agent needs in order to call it correctly is missing.

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 all five parameters are already documented, including the days range, inbox_ids selection after the scope tool, and the max_conversations_per_inbox default. The description reinforces the days semantics and the account_id/inbox_ids selection workflow but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 (return cached resolved conversation summaries) and pins down the scope: last N days, grouped by account and inbox, with conversation IDs and a transcript-based summary. It also explicitly separates itself from live/open backlog data, so an agent can distinguish it from the volume, context, and search siblings without opening a schema.

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 concrete trigger prompts ('last 7 days all conversations summary per inbox', 'summarize conversations with IDs by inbox'), states an explicit exclusion (do not use for open/live backlog unless the user asks for live data), and prescribes a prerequisite workflow: call list_available_chatwoot_scope first when the user mentions account, brand, inbox, product, or channel, then pass the selected IDs.

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