Full lead context (leads_context)
The Clickmax MCP tool leads_context returns, in a single call, everything the platform knows about a lead, organized in 16 sections. It is the recommended first call when the AI is attending or analysing a specific lead — no need to combine several tools to build the picture.
Prerequisite: an AI client connected to the Clickmax MCP. See how to connect your AI with OAuth.
Returned sections
Use the names below in the sections parameter to request only a subset.
Parameters
Truncation and pagination
The limitPerSection cap and the totalCount field apply to the temporal (windowed) lists: notes, activities, purchases (transactions and external sales), form submissions, conversations (most recent first), appointments (meetings and tasks), automations and the extras histories (webinars, temperature, calls). Each of those lists carries a totalCount with the real number of records; if a list came back with fewer items than its totalCount, it was truncated by limitPerSection.
The messages within each conversation are also limited by limitPerSection, but not counted — they carry no totalCount.
The state sections — tags, lists, custom fields, opportunities, loss reasons and companies — return in full, with no cap and no totalCount.
leads_context does not paginate. To walk through every record of a section, use the dedicated tool:
Merged leads
If the given leadId belongs to a lead that was merged into another one, the response carries the surviving lead's context and includes a resolvedFrom field indicating the original lead and when the merge happened.