Skip to main content
Glama
Mautic MCP Connector

Mautic MCP Connector

by si-essence

mautic_search_contacts

Read-only

Search Mautic contacts by email, tag, segment, or custom query with pagination and sorting controls to locate records and retrieve only needed fields.

Instructions

Search contacts. GET /api/contacts with search, start, limit, orderBy, orderByDir, minimal. Mautic search syntax includes email:*@example.com, tag:vip, and segment:alias.

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": "mautic_search_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Defaults to 30. Capped by MAUTIC_MAX_LIMIT.
startNoRow offset. Defaults to 0.
searchNoMautic search string or search command.
minimalNo
orderByNo
orderByDirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds that results are driven by Mautic search syntax and names the paging/ordering knobs, but it says nothing about result shape, ordering defaults, or what `minimal` changes in the response.

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?

Three short sentences, front-loaded with purpose, then the endpoint and parameters, then the search syntax cheat sheet. The parameter enumeration largely duplicates the schema, but the rest earns its space and nothing is padded.

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?

There is no output schema, so the description could reasonably say what a contact record contains, but it does not. The largest gap is `minimal`, an undocumented flag whose effect on the payload an agent cannot infer; for a 6-parameter search tool with half its schema undocumented, this is adequate but not complete.

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?

With 50% schema description coverage, the schema documents limit, start and search (partially), while orderBy, orderByDir and minimal have no field-level descriptions. The description compensates for `search` with concrete syntax examples (email:*@example.com, tag:vip, segment:alias), which is real added value, but it simply restates the other parameter names without explaining them.

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?

"Search contacts" is a clear verb+resource, and the mention of the underlying GET /api/contacts confirms it is a read/filter operation over the contacts collection. It does not, however, distinguish itself from mautic_get_contact or explain whether this is the general list-all endpoint, so sibling differentiation is left to the caller.

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

Usage Guidelines3/5

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

Usage is implied by the name and the endpoint: use this to find contacts by criteria. There is no explicit statement of when to prefer mautic_get_contact (single contact by ID) over this search, nor any guidance on what happens when `search` is omitted (presumably returns all contacts).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.