Skip to main content
Glama

create_draft

Create a Substack draft post from Markdown without publishing it. Converts body content to Substack format so you can review and finish the post before going live.

Instructions

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

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": {
      "title": "<title>"
    },
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoPost body in markdown format
titleYesPost title
audienceNoWho can see this posteveryone
subtitleNoPost subtitle
allow_unsupportedNoAcknowledge conversion diagnostics and retain unsupported Markdown literally in this private draft

Output Schema

NameRequiredDescriptionDefault
idYes
titleNo
messageYes
unsupported_nodesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / unsupported_nodes / items / additionalProperties
      Previous value: -trueNew value: +{}
  2. Changed2 schema fields changed
    • addedInput schema / properties / allow_unsupported
      Added value: +{
      +  "default": false,
      +  "description": "Acknowledge conversion diagnostics and retain unsupported Markdown literally in this private draft",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "unsupported_nodes": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "unsupported_nodes",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  3. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description adds real value by disclosing that the markdown body is converted to Substack's format and that the tool only creates a draft. It still doesn't say what happens when conversion fails or how that relates to the allow_unsupported flag, which is the most consequential behavior here.

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 short sentences, front-loaded with the action and followed by the key differentiator and the scope limit. No filler or redundant restatement of the name.

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?

With an output schema present and annotations covering the safety profile, the description supplies the essential conversion and non-publish context. The remaining gap is the interaction with conversion diagnostics (allow_unsupported) and preflight_draft, which the description leaves unaddressed.

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 the baseline is 3, and the description earns an extra point by explaining that the body parameter is markdown that gets transformed into Substack's format — semantics the schema does not convey. It says nothing about audience, subtitle, or allow_unsupported beyond what the schema already documents.

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?

States a specific verb and resource ('Create a new draft post') and immediately scopes it with 'Does NOT publish — creates a draft only,' which separates it from publishing flows. It does not explicitly differentiate from siblings like update_draft, preflight_draft, or plan_draft_update, so the agent must infer create-vs-update.

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 negative guidance ('Does NOT publish') is useful, but there is no positive when-to-use guidance and no mention of prerequisites such as running preflight_draft first or using plan_draft_update before modifying an existing draft. Usage is implied rather than stated.

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