Skip to main content
Glama
mcp-chatwoot

mcp-chatwoot

by serversmx

filter_conversations

Retrieve conversations matching advanced AND/OR query conditions on attributes, operators, and values to narrow large inboxes to relevant results.

Instructions

Filter conversations using advanced query conditions. Each filter has attribute_key, filter_operator, values, and optional query_operator (AND/OR).

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": {
      "filters": "<filters>"
    },
    "name": "filter_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
filtersYesArray of filter objects (e.g., [{"attribute_key":"status","filter_operator":"equal_to","values":["open"],"query_operator":"AND"}])
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

C2.9/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 does very little with it. It never says the call is read-only, whether results are paginated or capped, whether unsupported attribute_key values error out, or what authentication/account scope applies.

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 sentences, front-loaded with the action and followed by the payload structure; nothing is padded. It loses a point only because the second sentence duplicates detail already present in the schema's example.

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 definition should say more about what comes back (a conversation list?), how paging interacts with filters, and whether filter_operator supports arbitrary values. It covers the input shape adequately but leaves the response and failure behavior unstated.

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 schema already documents page, account_id, and the filters array with a worked example. The description restates the filter object's fields (attribute_key, filter_operator, values, query_operator) but adds no new semantics such as valid attribute_key names or supported operator values, so baseline 3 applies.

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 ('Filter conversations') and names the mechanism ('advanced query conditions'). It does not, however, differentiate itself from nearby siblings like list_conversations or get_contact_conversations, so an agent must infer when filtering wins over plain listing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusion, and no mention of alternatives such as list_conversations for unfiltered retrieval. The only implied usage cue is the word 'filter' itself, which the agent must interpret on its own.

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