Skip to main content
Glama

bulk_draft_replies

Generate reply drafts for all comments on a post or replies on a note using a local LLM, outputting a JSONL file for review and approval before sending.

Instructions

WRITE TO LOCAL FILE (no Substack call). Generate reply drafts for every comment on a post (kind='post') or every reply on a note (kind='note') using the daemon-path LLM (host CLI: claude / cursor-agent / codex on PATH, or SUBSTACK_OPS_LLM_CMD). Output is a JSONL drafts file with action='proposed' per row; review, edit action to 'approved' or 'rejected', then send via send_approved_drafts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNopost
idYes
outNodrafts.json
modelNo
Behavior4/5

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

Without annotations, the description fully discloses the local file write, use of a local LLM CLI, and the output format with action='proposed'. It also notes the configurable LLM path. This goes beyond just stating it's a write operation.

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 concise at two sentences, but the first sentence is dense with parenthetical details, which could be better structured for readability. However, it is front-loaded with the key action.

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?

The description covers purpose, output, and workflow, but lacks details on parameter constraints (e.g., id format, valid kind values) and does not address error handling or dependencies like required CLI tools, leaving some gaps 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?

With 0% schema description coverage, the description adds meaning by explaining kind (post vs note) and out (output file), but it does not specify valid values for kind, format for id, or default behavior for model, leaving gaps.

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 generates reply drafts for comments on a post or replies on a note using an LLM, and writes to a local JSONL file. It distinguishes this from sibling tools like propose_reply and send_approved_drafts by noting it's a local operation and part of a workflow.

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 explains when to use this tool (for bulk drafting on posts/notes) and mentions the workflow: edit drafts and then use send_approved_drafts. It implies not to use it for single drafts or server-side operations, though explicit alternatives are not listed.

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/06ketan/substack-ops'

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