Skip to main content
The Cometly MCP server exposes 50 read-only tools across 14 toolsets covering workspace context, analytics, journeys, ads-manager hierarchy, reports, segments, integrations, health, diagnostics, webhook debugging, and AI helpers. This page documents the public MCP surface — what Cursor, Claude Desktop, ChatGPT, and other external clients see after OAuth. The in-app Ask AI chat gets the same 50 tools plus additional internal-only capabilities (see below). Bulk extraction lives in the Public API V1 export endpoints and the in-app CSV export buttons — not in the MCP. Hand the dashboard URL to the user, or call the V1 export endpoints directly, instead of routing 50k rows through an LLM.

At a glance

Workspace

Analytics

Events

Contacts

Companies

Ads Manager

Reports

Segments

Integrations

Health

Diagnostics

Webhooks

AI helpers

The in-app Ask AI chat also gets tools that are not on the public MCP transport: These are marked internal-only (external: false) or live only in the in-app agent registry. External MCP clients (Cursor, Claude Desktop, ChatGPT) won’t see them in tools/list.

Tool naming convention

Output format

Most tools accept format: "csv" | "json" | "yaml". CSV is the default for tools added in v2.0 because it’s ~50% cheaper in tokens for tabular results. The legacy tools (list_events, list_contacts, query_ad_metrics, etc.) keep json as the default for backwards compatibility — pass format: "csv" explicitly when you want compactness. Token-budget pagination kicks in around ~6,000 tokens per tool response; when truncation happens the response includes a truncated_at_token_budget: true footer and an opaque next_cursor you should pass back verbatim.

Custom event awareness

Tools that touch custom events — list_events, query_ad_metrics, query_events_aggregated, and friends — automatically rewrite custom_event_* slot ids to your configured labels in their output. You can also pass labels directly:
The server resolves “Deal Created” to its slot id (e.g. custom_event_2) on the way in. The result column header comes back as Deal Created, never the internal slug.

Authentication & errors

All external tools authenticate via the OAuth-issued Sanctum token described in Authentication. Errors come back as [error_class] message envelopes — see Rate Limits & Errors for the full taxonomy.