Skip to main content
Glama

新增小说章节

add_chapter_tomato

Upload a chapter to a specified Fanqie Novel book by providing chapter number, title, and content; confirm=false fills the form only, while scheduled_time enables timed release.

Instructions

向指定书籍上传一个章节:填序号+标题+正文 →(confirm=true 时)下一步 → 选择内容检测方式 → 发布设置(是否使用AI) → 确认提交 → 错别字二次确认 → 接口复核。正文可用 content、file_path 或 article_id(本地文稿库)。支持 scheduled_time 定时发布。默认 confirm=false 只填表不提交。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes章节标题(可含「第X章」,会自动剥离序号前缀)
use_aiNo发布设置的「是否使用AI」,默认 false
book_idYes番茄书 ID(book_id)
confirmNo是否真正发布,默认 false
contentNo章节正文(与 file_path/article_id 三选一)
headlessNo是否无头运行,默认 false(便于人工核对)
detectionNo内容检测方式:basic=仅基础检测,full=全面检测(默认 basic)
file_pathNo章节正文所在文件路径(UTF-8 文本)
article_idNo本地文稿库 article_id(优先于 file_path/content)
chapter_numberNo章节序号(阿拉伯数字)
scheduled_timeNo定时发布时间(ISO 字符串);仅小说章节支持

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does well: it discloses the multi-step pipeline, the confirm=false dry-run default (a real safety gate against accidental publishing), a typo re-confirmation step, and a final interface review. It omits auth/login requirements and rate/error behavior, which keeps it below 5.

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?

Purpose is front-loaded and the text is dense with no filler, packing the workflow, body sources, scheduling, and default behavior into one paragraph. The arrow-chain notation is slightly cryptic and could be tightened, but nothing is wasted.

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 11-parameter, no-annotation, no-output-schema multi-step publishing tool, the description covers the workflow, the dry-run gate, body sources, and scheduling well. It still leaves auth prerequisites and post-submission return/error behavior unexplained, which are notable gaps given the sibling login_tomato exists.

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?

Schema coverage is 100%, so all 11 parameters including the three body-source options and the confirm/default behaviors are already documented in the schema. The description restates content/file_path/article_id and scheduled_time support but adds little meaning beyond what the schema provides, so the baseline 3 applies.

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?

The description states a specific verb and resource: uploading one chapter to a specified book on the 番茄 platform, with the full submission flow spelled out. It is clearly distinguishable in intent from list_chapters_tomato or batch_publish_chapters, but it never explicitly names a sibling to route against, so it falls short of the 5 bar.

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?

It implies usage through the workflow and the critical note that confirm=false only fills the form without submitting, which tells the agent how to dry-run. However, it gives no explicit when-to-use vs batch_publish_chapters or publish_short_story_tomato, and no prerequisite (e.g. login) guidance, so usage is implied rather than directed.

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