@sendinel/mcp-server 1.0.233 → 1.0.234
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/tools/analytics.js +9 -2
- package/package.json +1 -1
package/build/tools/analytics.js
CHANGED
|
@@ -730,7 +730,7 @@ export function registerAnalyticsTools(server) {
|
|
|
730
730
|
idempotentHint: true,
|
|
731
731
|
openWorldHint: false,
|
|
732
732
|
},
|
|
733
|
-
description: 'Read stored domain_health DNS observations (SPF/DKIM/DMARC), warmup status, bounce/complaint rates and risk assessment. Uses the same DNS source as refresh_domain_dns, get_domain_health and list_domains; null means unchecked. No live provider or DNS calls.',
|
|
733
|
+
description: 'Read stored domain_health DNS observations (SPF/DKIM/DMARC), warmup status, bounce/complaint rates and risk assessment. Warmup day does not count calendar days: it moves up by one only after a day (UTC) when at least one email was mailed out, so warmup_basis says days_with_sends. sends_last_7d, shown next to warmup.day, is the number of emails mailed out in the last 7 days (the same count as recent_7d.total_sent; failed and queued emails do not count). Uses the same DNS source as refresh_domain_dns, get_domain_health and list_domains; null means unchecked. No live provider or DNS calls.',
|
|
734
734
|
inputSchema: {
|
|
735
735
|
site_id: z.string().uuid(),
|
|
736
736
|
},
|
|
@@ -805,7 +805,14 @@ export function registerAnalyticsTools(server) {
|
|
|
805
805
|
checked_at: storedDns.checked_at,
|
|
806
806
|
dns: dnsResults,
|
|
807
807
|
dns_check: dnsCheckSummary(storedDns),
|
|
808
|
-
warmup: {
|
|
808
|
+
warmup: {
|
|
809
|
+
day: warmupDay,
|
|
810
|
+
daily_limit: warmupLimit,
|
|
811
|
+
completed: warmupDay ? warmupDay >= 43 : null,
|
|
812
|
+
// The advance-warmup cron adds one day only when the previous UTC day had a mailed-out send (#4437).
|
|
813
|
+
warmup_basis: 'days_with_sends',
|
|
814
|
+
sends_last_7d: totalSent,
|
|
815
|
+
},
|
|
809
816
|
recent_7d: { total_sent: totalSent, bounced, complained, bounce_rate: `${bounceRate.toFixed(2)}%`, complaint_rate: `${complaintRate.toFixed(3)}%` },
|
|
810
817
|
health_trend: trendDates.map(date => {
|
|
811
818
|
const counts = countEmailRows(logsByDay.get(date) ?? []);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendinel/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.234",
|
|
4
4
|
"description": "AI-controlled email operations control plane for campaigns, contacts, segments, analytics, and multi-provider sending via MCP.",
|
|
5
5
|
"mcpName": "ai.sendinel/mcp-server",
|
|
6
6
|
"type": "module",
|