Publication keyGenerated from lib/mcp.ts

dispatch_get_stats

Reads a publication's numbers: how many readers it has, how each issue performed, and how many joined in the last 30 days.

Publication analytics: subscriber counts by status, per-issue opens/clicks/bounces, and 30-day growth.

  • Use it when: For a weekly check-in, or to answer 'how is it doing?'
  • Don't use it when: Do not use it as a live open tracker. Opens are counted when the email is opened, and numbers update as events arrive.

Link and endpoint

Page link

https://dispatch.nshipyard.com/support/mcp/dispatch_get_stats

Endpoint

POST https://dispatch.nshipyard.com/api/mcp

Call it with method tools/call and name dispatch_get_stats.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—

Returns

subscribers object
Counts by status: active, pending, unsubscribed, bounced, complained.
newSubscribersLast30d number
New active readers in the last 30 days.
issues array
The last 20 issues with sent, opened, clicked, bounced, and complaint counts.

Errors

ErrorWhen it happensFix
Not authorized for this publicationThe key belongs to a different publication.Use the publication key shown on that publication's Overview page, or the master key.
Publication not foundThe publicationId does not exist.List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools