Skip to main content
Glama

upload_chapter

Upload one chapter to Fanqie Novel from text, HTML, or a local manuscript file; save it as a draft or submit for review, with optional scheduled publishing.

Instructions

上传单章。内容二选一:① title + content(纯文本,按行分段;也可直接给 HTML);② file=本地稿件路径(自动解析首行标题)。mode=draft 只存草稿(默认,安全);mode=publish 提交审核。publish_time 传 ISO 时间则定时发布。

Input Schema

NameRequiredDescriptionDefault
fileNo本地稿件路径(与 title/content 二选一)
modeNodraft=存草稿(默认);publish=提交审核
titleNo章节标题,须含「第N章」前缀(缺失会自动补)
book_idNo可选;默认当前选中书
contentNo正文纯文本或 <p> HTML
volume_idNo可选;目标分卷 id
volume_nameNo可选;分卷名(需与 volume_id 一致)
publish_timeNo可选,ISO 时间(如 2026-06-20T15:00:00+08:00)则定时发布

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses the safe draft default, that publish submits for review, that publish_time schedules publishing, and that file mode auto-parses the title. It omits edge cases such as auth requirements, failure behavior, or what happens if a chapter already exists.

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 compact and front-loaded: the core action comes first, followed by input alternatives and mode behavior. Every sentence contributes useful calling information.

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 an eight-parameter mutation tool with no output schema, the description covers the essential input modes, defaults, and publish semantics. Remaining gaps, such as auth requirements and error behavior, are minor but prevent a perfect score.

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 already 100%, so the schema documents all eight parameters. The description still adds cross-parameter meaning by explaining the title+content vs. file alternatives, the mode default, and scheduling via 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 verb and resource: upload a single chapter. The word '单章' distinguishes it from the sibling batch_upload, and the two content-input paths make the tool's scope immediately clear.

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 the two valid content modes and the draft-vs-publish behavior, including the safe default. It does not explicitly name alternatives such as batch_upload or update_chapter, so it falls short of full when-to-use/when-not guidance.

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