Skip to main content
Glama
marcomoauro

Substack MCP Server

by marcomoauro

export_subscribers

Export subscribers with complete engagement data—opens, views, comments, shares, and activity—using flexible filters. Waits for the generated file and returns parsed records, flagging unsupported columns.

Instructions

Export subscribers with their full column values, including the engagement metrics list_subscribers can filter on but not return: email opens over 7d/30d/6mo, unique emails seen, post views, unique posts seen, comments, shares, links clicked, days active and activity rating. Takes the same filters as list_subscribers and covers the whole matching set — there is no paging. Substack generates the file asynchronously, so this waits for it and returns the parsed records. Two columns cannot be exported and are reported in missing_columns rather than failing: tag_ids and group_membership.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchNoFree-text search over subscriber name and email.
columnsNoWhich columns to include. Defaults to every column. Available: user_name = Name; user_email_address = Email; country = Country; state = State/Province; group_membership = Group membership; subscription_type = Type; subscription_created_at = Start date; subscription_expires_at = Expiration date; first_payment_at = First paid date; last_subscribed_at = Paid upgrade date; unsubscribed_at = Cancel date; subscription_interval = Subscription interval; stripe_plan_name = Stripe plan; free_attribution = Subscription source (free); paid_attribution = Subscription source (paid); is_subscribed = Can see paid content; bestseller_tier = Bestseller; total_revenue_generated = Revenue; num_subs_gifted = Subscriptions gifted; bundle_id = Bundle; is_bundle_parent = Bundle origin; num_emails_received = Emails received (6mo); num_emails_dropped = Emails dropped (6mo); num_email_opens = Emails opened (6mo); num_email_opens_last_7d = Emails opened (7d); num_email_opens_last_30d = Emails opened (30d); num_unique_email_posts_seen = Unique emails seen (6mo); num_unique_email_posts_seen_last_7d = Unique emails seen (7d); num_unique_email_posts_seen_last_30d = Unique emails seen (30d); last_opened_at = Last email open; links_clicked = Links clicked; last_clicked_at = Last clicked at; emails_enabled = Sections; num_web_post_views = Post views; num_web_post_views_last_7d = Post views (7d); num_web_post_views_last_30d = Post views (30d); num_unique_web_posts_seen = Unique posts seen; num_unique_web_posts_seen_last_7d = Unique posts seen (7d); num_unique_web_posts_seen_last_30d = Unique posts seen (30d); num_comments = Comments; num_comments_last_7d = Comments (7d); num_comments_last_30d = Comments (30d); num_shares = Shares; num_shares_last_7d = Shares (7d); num_shares_last_30d = Shares (30d); days_active_last_30d = Days active (30d); activity_rating = Activity; tag_ids = Tags
filtersNoWhich subscribers to export, using the same conditions as list_subscribers, combined with AND. Omit to export everyone.
max_wait_secondsNoHow long to wait for Substack to generate the file, 1-600, defaulting to 120. A small export is ready in a few seconds.
Behavior5/5

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

With no annotations provided, the description fully owns behavioral disclosure. It details the asynchronous generation and waiting process, the absence of paging, and the special handling of unexportable columns via `missing_columns` rather than failure. This goes beyond typical descriptions by explaining edge cases and operational behavior, giving the agent critical context for invocation and error handling.

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

Conciseness4/5

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

The description is dense but every sentence contributes meaningful information. It front-loads the primary purpose, then adds differentiators and operational details. The enumeration of engagement metrics is long but serves to differentiate from list_subscribers. It is not overly verbose for the complexity it covers.

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 tool with no output schema, the description provides essential context about return behavior: it waits asynchronously, returns parsed records, and reports missing columns. It also clarifies the full matching set and the relationship to list_subscribers. While it doesn't detail error handling or the exact record structure, the provided information is sufficient for most invocation decisions.

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?

The schema already provides 100% coverage with detailed descriptions for each parameter, including the full column enum with human-readable labels. The description adds value by clarifying that filters are the same as list_subscribers, the export covers the whole matching set with no paging, and the async wait behavior explains the max_wait_seconds parameter. This enhances the parameter semantics beyond the schema alone.

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 description clearly states a specific action ('Export subscribers') with the full column values and distinguishes itself from the sibling list_subscribers by highlighting that it returns engagement metrics list_subscribers cannot return. The phrase 'covers the whole matching set — there is no paging' further clarifies its scope, making it unambiguous what this tool does.

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?

The description provides strong usage context by explicitly referencing list_subscribers ('Takes the same filters as list_subscribers') and contrasting the return capabilities ('engagement metrics list_subscribers can filter on but not return'). This implies when to use this tool over the alternative, though it does not explicitly state exclusions or when to prefer list_subscribers. The lack of paging and asynchronous behavior also guide usage expectations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/marcomoauro/substack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server