Skip to main content
Glama
mcp-chatwoot

mcp-chatwoot

by serversmx

create_custom_filter

Create a custom filter for conversations, contacts, or reports by specifying a name, target type, and query conditions.

Instructions

Create a new custom filter for conversations, contacts, or reports.

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": {
      "name": "<name>",
      "filter_type": "<filter_type>",
      "query": "<query>"
    },
    "name": "create_custom_filter"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFilter name
queryYesFilter query object with conditions (e.g., {"attribute_key":"status","filter_operator":"equal_to","values":["open"]})
account_idNoChatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var.
filter_typeYesFilter type

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?

With no annotations supplied, the description carries the full burden of behavioral disclosure and provides almost none: it does not state whether names must be unique, whether the filter is immediately active, what the response contains, or what permissions/account context are required. For a creation tool with a nested query object, this is a substantial gap.

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?

One sentence, front-loaded with the action, with no filler or repetition. It is arguably too terse rather than verbose, but there is no wasted wording to penalize.

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?

The schema covers all four parameters well and there is no output schema to explain, but the nested query object's shape likely varies by filter_type (conversation/contact/report), and the description offers no guidance on that difference. Adequate for the happy path, incomplete for correct invocation of the nested payload.

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%, including an inline example for the query object and an account_id fallback explanation, so the baseline is 3. The description itself adds nothing beyond restating the three filter types already enumerated in the enum.

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 uses a specific verb (create) and resource (custom filter) and names the three supported targets, which match the filter_type enum in the schema. It does not explicitly contrast with update_custom_filter, get_custom_filter, or list_custom_filters, so an agent infers the distinction from naming alone.

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 guidance on when to create a filter versus using filter_contacts/filter_conversations, nor any mention of prerequisites, duplicate-name behavior, or when to prefer update_custom_filter. Usage must be inferred entirely from the verb.

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