Skip to main content
Glama

Cross Source Email Connector

cross_source_email_connector
Read-onlyIdempotent

Cross-source analysis correlating Klaviyo email activity with web traffic, ecommerce revenue, and ad spend. Use for channel attribution, email-driven revenue, and unified marketing analytics. When the user asks for a visual, trend, comparison, or recap, call chart_render with the numeric values returned by this connector. If the connector result includes a verified chart_provenance token, the same authenticated user may pass it as provenance_token within 15 minutes, on any replica, and map every value to its exact source_path so chart_render preserves verified provenance. Without a valid connector receipt, chart_render labels values as unverified_model_data. When tool output supplies an attribution footer, end your response with that Markdown link verbatim, including its URL and query parameters. Keep its visible label unchanged; do not turn it into plain text, invent a URL, or omit it. Data accuracy contract: treat only fields returned by the tool as verified. Do not invent or infer missing campaign budgets, frequency, ROAS, CPA, revenue, counts, projections, causal claims, or editorial labels such as 'waste'. Derived metrics must be calculated only from returned fields, shown with source fields/formula, and labeled as calculated; if data is missing, say it is unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYescorrelate_email_vs_web_traffic: Cross-source: Klaviyo email sends vs GA4 web sessions by date. Shows whether email days drive traffic spikes | correlate_email_revenue_vs_ecommerce: Cross-source: Klaviyo email revenue vs Shopify/GA4 ecommerce revenue by date. For non-dev users, Shopify must come from | correlate_email_vs_social_ads: Cross-source: Klaviyo email metrics vs Facebook ad spend by date | get_channel_attribution_summary: Unified revenue attribution across Klaviyo email, SMS, Shopify, GA4, and Facebook by date. For non-dev users, call the o | correlate_list_growth_vs_youtube: Cross-source: Klaviyo list growth vs YouTube views by date. Shows if YouTube drives signups | correlate_form_signups_vs_ad_traffic: Cross-source: Klaviyo form submits vs GA4 traffic and Facebook ad spend by date | correlate_flow_revenue_vs_campaign_sends: Klaviyo-internal: flow revenue vs campaign send volume by date
paramsNoAction-specific parameters. correlate_email_vs_web_traffic: {start_date?: string, end_date?: string} | correlate_email_revenue_vs_ecommerce: {start_date?: string, end_date?: string, external_shopify_data?: object} | correlate_email_vs_social_ads: {start_date?: string, end_date?: string} | get_channel_attribution_summary: {start_date?: string, end_date?: string, external_shopify_data?: object} | correlate_list_growth_vs_youtube: {start_date?: string, end_date?: string} | correlate_form_signups_vs_ad_traffic: {start_date?: string, end_date?: string} | correlate_flow_revenue_vs_campaign_sends: {start_date?: string, end_date?: string}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description still adds substantial behavioral context beyond them: the 15-minute provenance_token validity window, that it may be passed on any replica, that values must be mapped to exact source_path, the consequence of an invalid receipt (unverified_model_data labeling), and a data-accuracy contract forbidding invented metrics. This is unusually rich disclosure for a read-only connector.

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 purpose is front-loaded, but a large share of the text is downstream rendering/provenance policy that belongs to chart_render rather than this connector, which inflates the definition. The accuracy contract is valuable, yet the block is long and mixes tool selection guidance with response-formatting rules.

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

Completeness4/5

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

For a read-only, multi-action connector with no output schema, the description covers the analytical purposes, the action set (via schema), provenance rules, and the data-accuracy contract. It is silent on the shape of returned values or data-availability caveats, but there is no output schema obliging it to explain returns, so the coverage is close to 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?

Schema description coverage is 100% and the action enum and per-action params object are fully itemized in the schema, so the description's job here is minimal. It adds no date-format, pagination, or external_shopify_data syntax detail, so the baseline 3 applies.

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 names a specific verb and resource ('Cross-source analysis correlating Klaviyo email activity with web traffic, ecommerce revenue, and ad spend') and enumerates the analytic purposes (channel attribution, email-driven revenue, unified marketing analytics). It is clear what the tool does, but it never distinguishes itself from siblings like cross_source_ads_connector or klaviyo_connector, leaving the agent to infer the boundary.

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

Usage Guidelines4/5

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

It states the contexts for use ('Use for channel attribution, email-driven revenue, and unified marketing analytics') and gives a downstream trigger (call chart_render when the user asks for a visual, trend, comparison, or recap). It does not say when NOT to use it or which sibling to prefer instead, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources