Skip to main content
Glama
mcp-chatwoot

mcp-chatwoot

by serversmx

filter_contacts

Filter contacts by field, operator, and value conditions to retrieve matching Chatwoot contacts, with optional pagination and account selection.

Instructions

Filter contacts using advanced query conditions. Each filter has field, operator, and value.

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_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
filtersYesArray of filter objects with field, filter_operator, and values (e.g., [{"attribute_key":"city","filter_operator":"equal_to","values":["Paris"]}])
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 disclosure burden. It never states that this is a read-only lookup, whether results are paginated or capped, whether the returned list is ordered, or how multiple filters combine (AND vs OR) — all material for a query tool with no annotation coverage.

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 with no filler, and the core purpose is front-loaded. It is efficient rather than padded, though the terseness leaves real questions unaddressed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter tool with a nested filter array, no annotations, and no output schema, the description is thin. It should say what a filter call returns and how filters compose, since nothing else in the definition covers those behaviors.

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, filters, and account_id, making 3 the baseline. The description adds only the loose triplet 'field, operator, and value', which is actually inconsistent with the schema's attribute_key / filter_operator / values naming, so it adds little and slightly risks confusing the agent.

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?

States a specific verb and resource ('Filter contacts') plus the general shape of the query mechanism ('advanced query conditions'). It does not, however, distinguish this from siblings like search_contacts or list_contacts, so an agent must guess which of the three to pick.

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 when-not-to-use, and no mention of alternatives such as search_contacts or list_contacts. The only implicit signal is the word 'filter', which is not enough to route reliably among several contact-reading tools.

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