Skip to main content
Glama

novel_import

Scan a folder to identify novel names and chapter numbers, then copy or move the files into organized novels// folders. Preview the grouping first, then apply the import.

Instructions

批量导入原稿件:扫描文件夹自动识别书名/章号并分组,可复制/移动到 novels/<书名>/ 分类存放(scan 预览 / apply 执行)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
srcYes待导入的原稿件文件夹路径(可含多本小说的章节文本,支持子文件夹)。
bookNoapply 时可选:强制把所有(或 files 指定的)文件归入该书名,用于合并异名同书,或把未分类文件指定归属。
modeNoscan=只分析并返回分组建议(默认,不写盘);apply=按分组执行导入。
moveNoapply 时是否移动原文件(默认 false=复制,源文件保留)。
rootNo章节库根目录(含 novels 子目录)。
filesNoapply 时可选:只处理这些文件(相对 src 的路径)。省略则处理全部扫描到的文件。
recursiveNo是否递归扫描子文件夹。默认 true。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It usefully states that scan is a non-writing preview and apply performs the import, and that files can be copied or moved, but it omits important mutation details such as overwrite behavior, conflict handling, and permission requirements for a bulk-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 a single, front-loaded sentence that packs a lot of information efficiently. The parenthetical mode summary is terse but functional; nothing is redundant or wasted.

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?

For a 7-parameter import tool with no output schema, the description covers the main workflow but omits the return format of scan, error behavior, and edge cases like duplicate book names. The schema descriptions compensate partially, but the description alone is not fully sufficient.

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?

The input schema has 100% description coverage, so the baseline is 3. The description adds context about grouping and the scan/apply modes, but it does not expand on parameter syntax or default behavior 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?

The description names a specific action (批量导入原稿件) and describes the mechanism: scanning a folder, identifying book/chapter names, grouping, and copying/moving to novels/<书名>/. This is clearly distinct from all sibling tools, none of which perform bulk import, though it does not explicitly differentiate itself from any sibling by name.

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 operational modes: scan for preview and apply for execution, giving the agent enough context to choose the right mode. It does not mention alternative tools or exclusions, but no sibling tool offers comparable functionality, so the guidance is effectively complete.

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