Skip to main content
Glama

substack-mcp

MCP-сервер для Substack, который позволяет ИИ-ассистентам читать данные вашей публикации и управлять черновиками.

Безопасен по своей конструкции: этот сервер может создавать и редактировать черновики, но не может публиковать или удалять посты. Вы всегда проверяете и публикуете контент вручную через редактор Substack.

Инструменты

Чтение

Инструмент

Описание

get_subscriber_count

Получить текущее количество подписчиков вашей публикации

list_published_posts

Список опубликованных постов с пагинацией

list_drafts

Список черновиков

get_post

Получить полное содержимое опубликованного поста по ID

get_draft

Получить полное содержимое черновика по ID

get_post_comments

Получить комментарии к опубликованному посту

Запись

Инструмент

Описание

create_draft

Создать новый черновик из markdown

update_draft

Обновить существующий черновик (только неопубликованный)

upload_image

Загрузить изображение в CDN Substack

create_note

Опубликовать заметку Substack (короткая форма, публикуется немедленно)

create_note_with_link

Опубликовать заметку со ссылкой-карточкой

Намеренно исключено

  • Публикация постов — публикация лонгридов должна быть осознанным действием человека

  • Удаление — слишком деструктивно для ИИ-инструмента

  • Планирование — используйте редактор Substack для планирования публикаций

Related MCP server: substack-mcp

Настройка

1. Получите свои учетные данные

Откройте Substack в браузере, затем:

  1. Токен сессии: Перейдите к своей публикации, откройте Инструменты разработчика → Application → Cookies → скопируйте значение connect.sid (URL-кодированная строка, начинающаяся с s%3A)

  2. ID пользователя: В консоли инструментов разработчика выполните: fetch('/api/v1/archive?sort=new&limit=1').then(r=>r.json()).then(d=>console.log(d[0]?.publishedBylines?.[0]?.id))

  3. URL публикации: Ваш URL Substack, включая пользовательский домен, если он есть (например, https://newsletter.yourdomain.com или https://yourblog.substack.com)

2. Настройте ваш MCP-клиент

Claude Desktop

Добавьте в ваш claude_desktop_config.json:

{
  "mcpServers": {
    "substack": {
      "command": "npx",
      "args": ["-y", "@conorbronsdon/substack-mcp"],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "https://yourblog.substack.com",
        "SUBSTACK_SESSION_TOKEN": "your-session-token",
        "SUBSTACK_USER_ID": "your-user-id"
      }
    }
  }
}

Claude Code

Добавьте в ваш .mcp.json:

{
  "mcpServers": {
    "substack": {
      "command": "npx",
      "args": ["-y", "@conorbronsdon/substack-mcp"],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "https://yourblog.substack.com",
        "SUBSTACK_SESSION_TOKEN": "your-session-token",
        "SUBSTACK_USER_ID": "your-user-id"
      }
    }
  }
}

3. Проверка

Спросите своего ИИ-ассистента: "Сколько у меня подписчиков на Substack?"

Истечение срока действия токена

Токены сессии Substack периодически истекают (обычно примерно через 90 дней). Если вы получаете ошибки аутентификации, получите свежий cookie connect.sid из браузера и обновите переменную окружения. Убедитесь, что блокировщики рекламы отключены при копировании cookie.

Поддержка Markdown

Инструменты create_draft и update_draft принимают markdown и преобразуют его в собственный формат Substack. Поддерживается:

  • Абзацы, заголовки (h1–h6)

  • Жирный, курсив, inline code

  • Ссылки

  • Изображения

  • Маркированные и нумерованные списки

  • Блоки кода (с указанием языка)

  • Цитаты

  • Горизонтальные линии

Важные примечания

  • Этот сервер использует неофициальный API Substack. Он может перестать работать, если Substack изменит свои эндпоинты.

  • Токены сессии отправляются как cookies. Храните ваш SUBSTACK_SESSION_TOKEN в безопасности.

  • Сервер проверяет аутентификацию при запуске и немедленно завершит работу, если ваш токен истек.

Разработка

git clone https://github.com/conorbronsdon/substack-mcp.git
cd substack-mcp
npm install
npm run build

Запуск локально:

SUBSTACK_PUBLICATION_URL=https://yourblog.substack.com \
SUBSTACK_SESSION_TOKEN=your-token \
SUBSTACK_USER_ID=your-id \
npm start

Отказ от ответственности

Все взгляды, мнения и утверждения, выраженные в этом аккаунте, являются исключительно моими собственными и сделаны в личном качестве. Они не отражают и не должны толковаться как отражающие взгляды, позиции или политику Modular. Этот аккаунт не связан с Modular, не авторизован и не одобрен компанией Modular каким-либо образом.

Лицензия

MIT

Available Tools

14 tools
create_draftA

Create a new draft post. Accepts markdown body which is converted to Substack's format. Does NOT publish — creates a draft only.

ParametersJSON Schema
NameRequiredDescriptionDefault
bodyNoPost body in markdown format
titleYesPost title
audienceNoWho can see this posteveryone
subtitleNoPost subtitle

TDQS

A4.4/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, meaning the tool is a write operation. The description adds behavioral context: it accepts markdown and converts it, and it does not publish. This goes beyond the annotations, providing useful details about the tool's behavior.

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?

The description is two sentences, front-loaded with the primary action, and includes both the core function and a key constraint. Every sentence adds value with no wasted words.

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?

The tool has 4 parameters and no output schema. The description covers the main behavior (creating a draft with markdown conversion) and the non-publishing aspect. It does not detail return values or prerequisites, but for a straightforward creation tool, the description is sufficiently complete.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds context for the 'body' parameter by stating 'Accepts markdown body which is converted to Substack's format', which clarifies the expected input format beyond the schema's description. This extra information warrants a score of 4.

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 the action ('Create a new draft post'), the resource ('draft post'), and distinguishes from publishing ('Does NOT publish'). The verb 'create' and resource 'draft post' are specific, and the description differentiates from siblings like 'update_draft' or 'get_draft'.

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 explicitly states 'Does NOT publish — creates a draft only', which helps the agent understand when to use this tool versus a publishing tool. It provides clear context but does not explicitly mention when not to use it or name specific alternatives beyond the implication.

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

create_noteA

Create a Substack Note (short-form content). Accepts markdown text. PUBLISHES IMMEDIATELY to your public Notes feed — Notes have no draft state on Substack, and this server has no delete tools, so there is no undo from here.

ParametersJSON Schema
NameRequiredDescriptionDefault
bodyYesNote content in markdown format

TDQS

A4.4/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint=false, destructiveHint=false), the description adds critical behavioral details: immediate publication, no draft state, irreversible action due to lack of delete tools. No contradiction with annotations.

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?

Three sentences with no waste: purpose, input format, and critical caveat. Information is front-loaded and each sentence earns its place.

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 simple tool with one parameter and no output schema, the description covers purpose, input, and behavioral traits. Could mention return value (e.g., created note object), but overall sufficient.

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 coverage is 100% and the description only restates 'markdown text' already present in the schema. No additional semantic value beyond what the schema provides.

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 it creates a Substack Note (short-form content) and accepts markdown text, distinguishing it from sibling tools like create_draft (long-form) and create_note_with_link (note with a link).

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 explicitly warns that notes publish immediately with no draft state and no undo, implying when to use (for instant public notes) and when not (if drafts or reversibility are needed). Could be more explicit about alternatives, but the context with siblings helps.

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

get_draftA
Read-only

Get the full content of a draft post by ID. Returns title, body, metadata.

ParametersJSON Schema
NameRequiredDescriptionDefault
draft_idYesThe draft ID to retrieve

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description does not need to restate that. It adds value by specifying return content (title, body, metadata), but no other behavioral details like permissions or error cases.

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?

Single sentence, front-loaded with action and return values. No wasted words. Efficient and clear.

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 simple read-only tool with one parameter and no output schema, the description covers the essential purpose and return structure. Minor gaps include lack of error handling or metadata format, but overall adequate given the complexity.

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% (draft_id described as 'The draft ID to retrieve'). The description adds no additional meaning to the parameter beyond what the schema provides.

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 explicitly states the action ('Get the full content of a draft post by ID') and the return values ('title, body, metadata'). This clearly distinguishes it from siblings like get_post or list_drafts.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this tool versus alternatives. The description implies you need a draft ID, but does not differentiate from get_post or list_drafts.

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

get_postA
Read-only

Get the full content of a published post by ID. Returns title, body HTML, metadata.

ParametersJSON Schema
NameRequiredDescriptionDefault
post_idYesThe post ID to retrieve

TDQS

A3.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true. The description adds that it returns 'title, body HTML, metadata', but no additional behavioral traits. No contradiction, but adds minimal value beyond annotations.

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?

Single sentence, directly states purpose and output. No wasted words. Front-loaded with action and resource.

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?

For a simple read tool with one parameter and known annotation (readOnlyHint), the description fully explains what is returned, making it complete for an agent to select and invoke correctly.

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 coverage is 100% and already describes post_id as 'The post ID to retrieve'. The description only repeats 'by ID', adding no new meaning. Baseline 3 is appropriate.

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 the verb 'Get', the resource 'a published post by ID', and the return value 'title, body HTML, metadata'. It distinguishes from sibling tools like 'get_draft' (draft vs published) and 'list_published_posts' (list vs single).

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

Usage Guidelines3/5

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

The description implies usage for retrieving a published post's full content, but does not explicitly state when to use this over alternatives like 'get_draft' or 'list_published_posts'. No exclusions or context provided.

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

get_post_analyticsA
Read-only

Get performance stats (views, emails sent/delivered/opened, signups, subscribes, estimated value, comments, reactions) for a published post by ID. Substack has no per-post stats endpoint, so this searches your 500 most recent published posts for the ID; returns a not-found note if it isn't among them.

ParametersJSON Schema
NameRequiredDescriptionDefault
post_idYesThe published post ID to get stats for

TDQS

A4.7/5.0
Behavior5/5

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

The description adds critical behavioral context beyond the readOnlyHint annotation: the tool searches a limited set of recent posts and returns a not-found note if absent. This fully discloses the workaround behavior.

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?

Two sentences with no filler. The first sentence lists all returned stats, the second explains the internal search limitation. Every word is useful and front-loaded.

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?

For a single-parameter tool with no output schema, the description fully covers what to expect (list of stats fields), the search limitation, and the not-found behavior. It is sufficient for an agent to decide when to call.

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 covers the one parameter (post_id) with a basic description. The tool description adds context that the post must be published and that the search is limited to the 500 most recent posts, which aids correct usage.

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 the verb 'Get' and the resource 'performance stats for a published post by ID'. It lists specific metrics (views, emails, etc.) and distinguishes from siblings like get_post (retrieves post content) and get_post_comments.

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?

Explicitly notes the limitation that Substack has no per-post endpoint and that it searches the 500 most recent published posts. This guides when to use (only for recent posts) and when not (if post not among recent 500). However, it does not name alternative tools for stats beyond that scope.

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

get_post_commentsA
Read-only

Get comments on a published post. Returns commenter name, comment body, date, and reaction counts.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax comments to return (default 20)
post_idYesThe post ID to get comments for

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, which aligns with 'Get comments'. Description adds value by specifying exact return fields, going beyond annotations. No contradictory or missing behavioral info.

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?

Single sentence, front-loaded with verb and resource. No unnecessary words, concise and clear.

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?

Adequate for a simple read-only tool. Specifies return fields and limit behavior. Could mention pagination or sorting, but not essential given simplicity.

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?

Schema covers 100% of parameters with descriptions. Description doesn't add input parameter details but compensates by explaining output semantics (returned fields) since output schema is missing.

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?

Description clearly states 'Get comments on a published post' with specific return fields (commenter name, comment body, date, reaction counts). Distinguishes from sibling tools like get_post and create_draft by focusing on comments.

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

Usage Guidelines3/5

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

Provides clear context for use (published post) but lacks explicit guidance on when to use vs. alternatives. No exclusion criteria or sibling comparison.

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

get_sectionsA
Read-only

List your publication's sections (categories). Returns each section's id and name. Use a section id as section_id when creating or updating a draft to file it under that section.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

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

The annotation already declares readOnlyHint=true, and the description adds that it returns id and name, which is consistent and sufficient. No contradictions.

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?

Two concise sentences: first states purpose and output, second gives usage guidance. No unnecessary words.

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?

For a simple list tool with no parameters and no output schema, the description fully covers what the tool does, returns, and how to use it.

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?

No parameters exist, so schema coverage is 100%. The description does not need to add parameter explanations, meeting the baseline for 0 parameters.

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 the verb 'list' and the resource 'sections', and it distinguishes itself from sibling tools by focusing on listing categories.

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 provides explicit guidance on using the section ID for drafts, which is the primary use case. However, it does not mention when not to use it, but that is acceptable for a simple list tool.

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

get_subscriber_countA
Read-only

Get the current subscriber count for your Substack publication. Returns precision: 'exact' when the API reports a true count, 'approximate' when only Substack's rounded value is available (the real number is that or higher — render it hedged, e.g. '1,000+'), or 'unavailable' with count -1. Never treat an approximate value as exact.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint annotation already signals a safe read operation, but the description goes beyond it by explaining the three precision modes ('exact', 'approximate' with the hedged rendering guidance, and 'unavailable' with count -1). This is genuinely useful behavioral context about return value semantics, not just repetition of the annotation. It could add what errors occur or rate limits, but for a read tool this is solid.

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?

Three sentences, zero waste. Every sentence adds value: purpose and precision-mode semantics, and the critical warning not to treat approximate as exact. Front-loaded with the core purpose.

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 0-parameter read tool with no output schema, the description explains the return shape (precision modes and count values) thoroughly. It covers the edge case of 'unavailable' and the rendering guidance. Complete enough for an agent to invoke and interpret results correctly.

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 0 parameters, there's nothing for the description to clarify. The baseline of 4 applies for zero-parameter tools; the description appropriately focuses on return-value semantics instead, which is the semantically meaningful content here.

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 the tool gets the current subscriber count for a Substack publication. The verb+resource (get subscriber count) is specific and distinguishes it from siblings, which all deal with posts, drafts, sections, and analytics.

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

Usage Guidelines3/5

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

The description does not explicitly state when to use this tool vs alternatives, but for a 0-parameter retrieval tool the usage context is largely self-evident. It doesn't provide when-not-to-use guidance or alternatives, but given there's no close sibling (no other subscriber-related tool), the lack of exclusions is acceptable. The precision-mode guidance is user-facing behavior rather than tool-selection guidance.

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

list_draftsB
Read-only

List draft posts. Returns title, creation date, and audience for each draft.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax drafts to return (1-50; Substack rejects anything higher, so larger values are clamped)
offsetNoNumber of drafts to skip

TDQS

B3.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, and the description aligns (a listing operation is read-only). The description adds value by noting the returned fields, which supplements what annotations provide. There is no contradiction, and it adds contextual detail about the output shape beyond the annotation's safety declaration.

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?

Single concise sentence that states purpose and output fields with zero waste. Could arguably add sibling-differentiation guidance, but as written it is efficient and front-loaded.

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

Completeness3/5

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

No output schema exists, so the description's statement of returned fields (title, creation date, audience) is the only return-shape documentation—it's helpful but minimal. For a simple listing tool with readOnly annotation and two well-documented params, this is adequate but not rich; pagination behavior or sorting could be noted to improve completeness.

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

Parameters2/5

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

Schema description coverage is 100%, so the schema documents both params (limit, offset). However, the description adds no param-related meaning beyond the schema—it doesn't mention pagination, defaults, or how limit/offset interact. Since schema coverage is high, baseline is 3, but the description contributes zero additional parameter semantics beyond what's structured, so a slight deduction is warranted.

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+resource ('List draft posts') and states the returned fields (title, creation date, audience). It doesn't explicitly distinguish from siblings like list_published_posts or list_scheduled_posts, but the resource name (drafts) along with the returned fields is reasonably clear.

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

Usage Guidelines3/5

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

No explicit when-to-use or alternative guidance. However, the sibling set includes list_published_posts and list_scheduled_posts, and 'draft' in the name plus 'audience' field implies it's for unpublished drafts. Context is implied but not stated; no exclusions or alternatives are named.

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

list_published_postsA
Read-only

List published posts with pagination. Returns title, date, slug, and URL for each post.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax posts to return (1-50; Substack rejects anything higher, so larger values are clamped)
offsetNoNumber of posts to skip

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description consistently aligns by listing published posts (a read operation). The description's main added value is the return field disclosure. It doesn't contradict annotations. Some behavioral detail (pagination clamping, rate limits) is in the schema rather than description, which is acceptable.

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?

Single sentence, front-loaded with the action, zero filler. Every word earns its place.

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 simple paginated list tool with readOnlyHint annotation, 100% schema coverage on both params, and no output schema, the description is adequate. It declares the return fields which compensates for the missing output schema. Could mention pagination behavior or total counts, but not critical for correct usage.

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%, with both limit and offset documented including the Substack clamping behavior. The description itself adds minimal parameter meaning, but the schema does the heavy lifting, so baseline 3 is appropriate.

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 uses specific verb+resource ('List published posts') and specifies the return payload shape (title, date, slug, URL). It clearly distinguishes from siblings like list_drafts and list_scheduled_posts by scoping to published posts.

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

Usage Guidelines3/5

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

The description implies this is for browsing published posts, and the sibling list distinguishes it from drafts/scheduled posts. However, there is no explicit when-to-use guidance or alternative naming, though the tool name itself is reasonably unambiguous.

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

list_scheduled_postsA
Read-only

List posts scheduled for future publication, soonest first. Read-only visibility into what's queued — scheduling itself is done in Substack's editor (this server does not schedule, publish, or delete long-form posts). Returns id, title, audience, and scheduled time (trigger_at).

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax posts to return (1-50; Substack rejects anything higher, so larger values are clamped)
offsetNoNumber of posts to skip

TDQS

A4.3/5.0
Behavior4/5

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

The description adds valuable context beyond the readOnlyHint annotation: it explicitly discloses that scheduling/publishing/deleting is NOT performed by this server, preventing the agent from assuming this tool can schedule posts. It also clarifies the read-only nature with 'Read-only visibility into what's queued.' The readOnlyHint already covers the safety profile, and the description reinforces it with concrete scoping.

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?

Three concise sentences with zero waste. Front-loaded with the primary purpose, immediately clarifies scope boundaries (what it doesn't do), and lists the return fields. Every sentence earns its place.

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?

For a simple read-only list tool with 100% schema coverage, full param documentation, a strong readOnlyHint annotation, and clear scope disambiguation from siblings, the description is complete. It explains what it returns, the ordering, what it does NOT do, and its relationship to the broader system.

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 coverage is 100%, so both parameters (limit, offset) are already fully documented in the schema with their defaults and clamping behavior. The description adds the list ordering ('soonest first') which is useful context, but doesn't add significant param semantics beyond what the schema provides. Baseline 3 is appropriate.

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?

Specific verb+resource: 'List posts scheduled for future publication, soonest first.' Clearly distinguishes from siblings like list_published_posts and list_drafts by focusing on scheduled/future posts. States exactly what is returned (id, title, audience, trigger_at).

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 explicitly notes 'scheduling itself is done in Substack's editor' and that 'this server does not schedule, publish, or delete long-form posts,' which disambiguates from create/update tools. It also clarifies this is read-only visibility into the queue. A clear alternative is implicitly established via the sibling list_published_posts, though it doesn't explicitly name the alternative tool for publishing.

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

update_draftA

Update an existing draft post. Only works on unpublished drafts. Accepts markdown body.

ParametersJSON Schema
NameRequiredDescriptionDefault
bodyNoNew body in markdown format
titleNoNew title
audienceNoWho can see this post
draft_idYesThe draft ID to update
subtitleNoNew subtitle

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already indicate non-destructive modification (destructiveHint=false, readOnlyHint=false). The description adds that it accepts markdown body and only applies to unpublished drafts, which provides some behavioral context beyond the annotations.

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?

The description is extremely concise with only two sentences and no fluff. Every word serves a purpose, making it highly efficient.

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

Completeness3/5

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

While the purpose and constraint are clear, the description does not clarify whether updates are partial or full, nor does it mention return values or error scenarios. Given the lack of an output schema, some additional context would be helpful for an AI agent.

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%, so the schema already documents all parameters and their purposes. The description mentions 'accepts markdown body', but this is also covered by the body parameter's description in the schema. No additional semantic value is added.

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 'Update an existing draft post' which accurately conveys the action and resource. The additional constraint 'Only works on unpublished drafts' further distinguishes it from siblings like get_draft or list_drafts.

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 implicitly guides usage by specifying that it only works on unpublished drafts, but it does not explicitly state when to use this tool over alternatives like create_draft or get_draft. Still, the constraint provides clear context.

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

upload_imageA

Upload an image to Substack's CDN. Provide exactly one of image_base64 (a base64 data URI) or image_path (a local file path). Returns a hosted image URL that is publicly fetchable by anyone with the link (an unlisted asset — not attributed to you or added to your feed).

ParametersJSON Schema
NameRequiredDescriptionDefault
image_pathNoAbsolute path to a local image file (e.g., "/Users/me/pic.png"). Read and encoded automatically; MIME type inferred from the extension. Mutually exclusive with image_base64.
image_base64NoBase64-encoded image with data URI prefix (e.g., "data:image/png;base64,..."). Mutually exclusive with image_path.

TDQS

A4.7/5.0
Behavior5/5

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

Description explains beyond annotations: notes that the returned URL is publicly fetchable, unlisted, not attributed to user. Annotations indicate readOnlyHint=false (write) and openWorldHint=true, which description complements well, no contradiction.

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?

Two sentences, front-loaded with purpose, every sentence adds value. No unnecessary words.

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?

With no output schema, description fully explains return value (hosted URL) and behavioral traits. For a two-parameter upload tool, it is complete and self-contained.

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?

Schema coverage is 100%, but description adds clarity on mutual exclusivity and gives examples of data URI prefix and file path format, which goes beyond the schema's descriptions.

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?

Clearly states 'Upload an image to Substack's CDN' with specific verb and resource. Distinguishes from sibling tools, none of which involve image uploads.

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?

Explicitly says to provide exactly one of two mutually exclusive parameters. While it doesn't explicitly state when not to use it, the context of siblings makes it clear this is the only upload tool.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv0.6.2
    • Changedlist_drafts1 field changed
      • changedInput schema / properties / limit / description
        Previous value: -"Max drafts to return (1-100)"New value: +"Max drafts to return (1-50; Substack rejects anything higher, so larger values are clamped)"
    • Changedlist_published_posts1 field changed
      • changedInput schema / properties / limit / description
        Previous value: -"Max posts to return (1-100)"New value: +"Max posts to return (1-50; Substack rejects anything higher, so larger values are clamped)"
    • Changedlist_scheduled_posts1 field changed
      • changedInput schema / properties / limit / description
        Previous value: -"Max posts to return (1-100)"New value: +"Max posts to return (1-50; Substack rejects anything higher, so larger values are clamped)"
  2. 1 tool updatev0.6.0
    • Changedupload_image3 fields changed
      • changedInput schema / properties / image_base64 / description
        Previous value: -"Base64-encoded image with data URI prefix (e.g., \"data:image/png;base64,...\")"New value: +"Base64-encoded image with data URI prefix (e.g., \"data:image/png;base64,...\"). Mutually exclusive with image_path."
      • addedInput schema / properties / image_path
        Added value: +{
        +  "description": "Absolute path to a local image file (e.g., \"/Users/me/pic.png\"). Read and encoded automatically; MIME type inferred from the extension. Mutually exclusive with image_base64.",
        +  "type": "string"
        +}
      • removedInput schema / required
        Removed value: -[
        -  "image_base64"
        -]
  3. 3 tool updatesv0.5.0
    • Addedget_post_analytics
    • Addedget_sections
    • Addedlist_scheduled_posts
  4. 11 tool updatesv1.0.0
    • First observedcreate_draft
    • First observedcreate_note
    • First observedcreate_note_with_link
    • First observedget_draft
    • First observedget_post
    • First observedget_post_comments
    • First observedget_subscriber_count
    • First observedlist_drafts
    • First observedlist_published_posts
    • First observedupdate_draft
    • First observedupload_image

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct action or resource: drafts, notes, published posts, sections, subscribers, scheduled posts, and image upload. There is no overlap or ambiguity between the tool purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (e.g., create_draft, get_post_analytics, list_drafts). The naming convention is uniform and predictable.

Tool Count5/5

14 tools is well-scoped for a Substack publishing server. It covers drafting, notes, posts, analytics, comments, sections, subscribers, scheduling, and image upload—each tool earns its place without redundancy.

Completeness2/5

Critical lifecycle operations are missing: no way to publish drafts, delete content (posts, notes, drafts), or schedule long-form posts. The server creates drafts and notes but leaves users unable to complete the publishing workflow within the toolset.

Maintenance

ActivityActive
ResponsivenessResponsive

Related MCP Connectors

Related MCP Servers

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/conorbronsdon/substack-mcp'

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