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

get_repeat_customer_contacts

get_repeat_customer_contacts

Identify repeat customers by returning contact names that have multiple cached resolved conversations within a specified number of days, with optional result limit and account filtering.

Instructions

Find customers/contact names with multiple cached resolved conversations.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_repeat_customer_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It does not state what 'multiple' means numerically, whether results come from a stale cache (only implied by 'cached'), whether unresolved conversations are excluded, or what happens when the cache is unsynced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is efficient and front-loaded with the core intent, but its brevity comes at the cost of under-specification rather than genuine precision.

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 three-parameter analytical query with no annotations and no output schema, the description is too thin. It should at least explain the time-window parameter, the ranking/limiting behavior, and the shape of the returned customer list.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters (days, limit, account_id), and the description mentions none of them. The schema supplies bare types with two defaults but no meaning, so the agent cannot tell what window 'days' controls or whether 'limit' caps customers or conversations.

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: finding customers/contact names that have multiple cached resolved conversations. The 'multiple' qualifier gives it a distinct scope that separates it from sibling history lookups like get_customer_resolved_history, though no sibling is named explicitly.

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 use this tool versus get_customer_resolved_history, get_customer_resolved_history_by_identity, or search_chatwoot_contacts_live. The agent must infer the repeat-customer use case from the name alone.

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