Skip to main content
Glama

publish_chapter

Publish or schedule a chapter to your novel. Provide title and content directly, or extract from a Markdown file by chapter number, and set publish_time to delay publication.

Instructions

发布或定时发布一章到当前(或指定)小说。内容二选一:① 直接传 title + content;② 传 file(Markdown 稿件路径)+ chapter_no 自动提取(标题取章节行)。publish_time 传 ISO 时间则定时/预约发布,省略则立即发布。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoMarkdown 稿件路径(与 chapter_no 搭配使用)
titleNo章节标题(用 file+chapter_no 时可省略,自动取)
book_idNo可选,目标小说;默认当前选中
contentNo正文,纯文本/Markdown(按行分段)或已是 <p> HTML
chapter_noNo要从 file 中提取的章节号
author_speakNo作者有话说内容(显示在章节末尾)
publish_timeNoISO 时间则定时发布(如 2026-06-20T15:00:00+08:00);省略则立即发布
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the two content modes, auto-extraction behavior, and immediate vs scheduled publishing, which is helpful. However, it does not mention side effects such as overwriting, authentication requirements, or what the response contains.

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 one dense, well-structured sentence that front-loads the purpose and then cleanly lays out the alternatives and scheduling behavior. There is no filler or redundant restating of the schema.

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 no output schema and no annotations, the description covers the essential call contract: the required content-mode combos, optional book routing, author_speak, and scheduling. Missing return-value and error-case details are notable but do not prevent an agent from invoking the tool 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?

Schema coverage is 100%, which gives a baseline of 3, but the description adds real value beyond the schema by explaining the one-of-two content mode relationship, how file+chapter_no work together, and how title is auto-extracted. It also gives an ISO time example for publish_time.

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 states a specific action (publish or schedule-publish a chapter) and a specific resource (a chapter in the current or specified novel). It clearly distinguishes the tool from read-only siblings like list_chapters and get_novel_stats.

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 clearly explains when to use the tool and gives explicit internal alternatives: title+content vs file+chapter_no. It does not explicitly say when to prefer sibling tools, but the read/write boundary between publishing and listing or stats tools is self-evident.

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/ChaEunwooy/tomato-writer-mcp'

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