Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

get_link_click_stats

Read-onlyIdempotent

Rank link destinations by unique clicks across all company emails in a chosen period, optionally filtered by email type, and report total clicks, unique clicks, and share.

Instructions

Get clicks per link destination across every email in the company over period or start/end (default 90d), ranked by unique clicks, with an optional emailType. Destinations ignore query strings, fragments and trailing slashes, so the same page linked with different UTM tags counts as one link. Each link reports clicks (every click, repeats included), uniqueClicks (subscribers who clicked it, each counted once) and share (percentage of totalUniqueClicks). totalClicks, totalUniqueClicks and totalLinks cover every destination before limit. For one campaign's links, read clickedLinks from get_campaign_stats instead.

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_link_click_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoCustom range end as an ISO 8601 timestamp; provide start too.
limitNoNumber of destinations to return, 1 to 50. Defaults to 10.
startNoCustom range start as an ISO 8601 timestamp; provide end too. Maximum range is 90 days.
periodNoTime period: 1h, 24h, 7d, 30d, or 90d. Defaults to 90d.
companyIdNoCompany ID. If not provided, uses the currently selected company.
emailTypeNoStructural email type filter: campaign, sequence, or transactional.
mailboxProviderNoOptional recipient mailbox provider filter, for example gmail, microsoft, or yahoo.
includeMachineEngagementNoIf true, include machine-classified bot/scanner opens and clicks. Defaults to false, so metrics and activity are human-only.

Output Schema

NameRequiredDescriptionDefault
endNoCustom range end when start/end was used.
noteNoAdditional context about the result.
itemsNoFallback array wrapper used only when a tool returns a bare array.
linksNoDestinations, most unique clicks first. url has no query string, fragment or trailing slash; clicks counts every click including repeats, uniqueClicks counts subscribers who clicked it once each (recipients without a subscriber record count once per email), and share is the percentage of totalUniqueClicks rounded to two decimals.
startNoCustom range start when start/end was used.
valueNoFallback object wrapper used only when a tool returns a non-object value.
periodNoApplied period (custom for start/end).
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
emailTypeNoApplied structural email type filter when one was requested.
totalLinksNoDistinct destinations before limit.
totalClicksNoClick events across every destination before limit, repeats included. 0 means nothing was clicked, so links is empty.
mailboxProviderNoApplied recipient mailbox provider filter when one was requested.
totalUniqueClicksNoSum of every destination's uniqueClicks before limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds substantial semantics beyond them: URL normalization (query strings, fragments, trailing slashes ignored so UTM variants merge), the exact meaning of clicks vs uniqueClicks vs share, and that totals cover all destinations before limit is applied. These are non-obvious result-shaping behaviors an agent could not infer from the structured fields.

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

Conciseness5/5

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

Front-loaded with verb, resource and scope, then progressively adds aggregation semantics and finally sibling routing. Every sentence carries unique information — normalization rules, metric definitions, total-vs-limit behavior, and the alternative — with no filler.

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

Completeness5/5

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

An output schema exists, so return shape need not be described, yet the description still defines the key metrics and their denominators. For a multi-parameter aggregation tool with defaulted ranges and limit semantics, nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

With 100% schema description coverage the baseline is 3, but the description adds real meaning: the default 90d range and the period-or-start/end relationship, the optionality of emailType, and critically that totalClicks/totalUniqueClicks/totalLinks are computed before limit is applied. It does not explain mailboxProvider or includeMachineEngagement beyond the schema, keeping it short of a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause gives a specific verb and resource ("Get clicks per link destination") plus explicit scope ("across every email in the company") and ranking ("ranked by unique clicks"). It also names the sibling to avoid (get_campaign_stats) for the single-campaign case, so an agent can distinguish it without opening a schema.

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

Usage Guidelines5/5

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

It states the when-to-use (company-wide link destinations over a period or start/end, default 90d) and an explicit exclusion with the alternative: for one campaign's links, read clickedLinks from get_campaign_stats. That is a complete routing decision with no inference required.

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