Skip to main content
Glama

Generate Substack post

generate_substack_post
Destructive

Draft one Substack post and save it to the user's files, ready to paste into their Substack editor. Nothing is published and nothing is sent. Drafts are limited to 20 per day. Templates: 'post' takes signoff; 'digest' takes intro, signoff. Write the body as markdown (paragraphs, lists, links) or as blocks, never both. The title and subtitle are the post's own headline and standfirst. audience is everyone, paid or founding. It costs 1 credit, or nothing on a Solo or Pro plan. Do not call this again to retry. When Substack is connected, call get_my_substack_voice first and write the post in that voice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "template_id": "<template_id>",
      "title": "<title>"
    },
    "name": "generate_substack_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
propsNoText fields for the template, all strings.
titleYesThe post's headline.
blocksNoThe body as blocks.
audienceNoWho the post is for. Left out it is the template default.
markdownNoThe body as markdown.
subtitleNoThe line under the headline.
template_idYesThe template to render. plan_generation lists each one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / audience / description
      Added value: +"Who the post is for. Left out it is the template default."
    • addedInput schema / properties / template_id / description
      Added value: +"The template to render. plan_generation lists each one."
  2. Added
  3. Removed
  4. Added

TDQS

A4.7/5.0
Behavior5/5

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

The annotations only declare readOnlyHint=false and destructiveHint=true; the description goes well beyond them by disclosing the draft-only scope (nothing published or sent), the 20-per-day rate limit, the 1-credit cost with Solo/Pro waiver, and a no-retry rule. These are exactly the operational constraints an agent needs before committing to a mutation call, and they do not conflict with destructiveHint=true since the tool does write a file.

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?

Front-loaded with the core action and its negative scope, then constraints and prerequisites in a logical order with no filler. It is dense to the point of being run-on, and the audience clause duplicates the enum already in the schema, costing a point.

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 7-parameter tool with a nested block object and no output schema, the description covers body format, template-specific props, cost, limits, and the voice prerequisite. The remaining gap is where the file lands and what is returned, but with no output schema that is a minor omission rather than a blocking one.

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% so baseline is 3, but the description adds real meaning the schema cannot express: markdown and blocks are mutually exclusive ("never both"), and each template consumes different props ('post' takes signoff; 'digest' takes intro and signoff). The audience sentence largely restates the enum values, which keeps it from 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?

"Draft one Substack post and save it to the user's files, ready to paste into their Substack editor" gives a specific verb (draft/save), the resource (Substack post), and the output destination, plus the immediate negative scope ("Nothing is published and nothing is sent"). An agent can distinguish this from the read-only get_substack_posts / get_substack_post_stats siblings without inspecting any 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?

Explicit sequencing and exclusions are stated: call get_my_substack_voice first when Substack is connected, do not call this again to retry, and pick 'post' vs 'digest' based on the props each template takes. That is a named alternative, a named prerequisite, and an explicit when-not-to-call, which is the top of the scale.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.