Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSH_NOVEL_WRITER_ROOTNoPath to the novel library root directory. Overrides the current working directory. If not set, defaults to the current working directory unless --root is provided via command line.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
novel_booksC

列书库全部作品及章数/字数(只读)。

novel_chaptersB

列作品全部章节与字数(只读,含撞号提示)。

novel_readA

读某章带行号正文(支持分段,只读)。

novel_keywordsA

统计全书/单章高频词(二三字词与英文,不含单字)。

novel_new_chapterC

创建新章节文件(默认下一章)。

novel_chapter_briefA

开写包(只读):返回承接口/大纲/人物/伏笔/用语/基线/锚段/骨架/禁用与清单,写前先调。

novel_lexiconB

必用词表:管理专名与惯用词(书级覆盖 _global),优先用表内词。lexiconFirst 默认开,注入开写包。audit 只审必用词与替身,不含世界观禁用词(查禁词用 novel_continuity_check)。

novel_importB

批量导入原稿到novels/<书名>/(scan预览/apply执行)。

novel_sentence_analysisB

句式分析:九类句式、转移模板、句长、情感曲线与指纹(共缓存,受config控制)。

novel_sentence_configC

读写插件与分析开关配置(get 查询 / set 修改)。

novel_style_checkA

风格自检:对比单章与全书指纹输出偏差(改稿用 fix_plan,全书画像用 style_report)。

novel_fix_planC

改稿台(不生成正文):plan待办/verify复测/mark标记/audit严格对账/audit_brief独立审计/audit_verify复核claims。

novel_plotD

伏笔/剧情线表(open/done)。

novel_settingsC

五表设定管理(character/location/item/timeline/worldview)。

novel_style_reportB

全书6维风格画像(单章用style_check,技法用sentence_analysis)。

novel_summaryD

章节摘要管理。

novel_continuity_checkB

连贯性审计:全书矛盾与用语冲突;chapter查衔接及禁词/语用(styleCandidates);outline大纲;ooc哨兵(互斥)。

novel_semantic_searchB

本地语义检索(0 token):自然语言搜相关段落。

novel_outlineC

维护原创小说的创作资料(novels/创作资料/<书名>/):创作设定/主要人物/次要人物/剧情大纲/钩子记录/创作状态卡的初始化、读取与更新。

novel_diagnoseC

诊断报告:读日志体检书库与数据目录(只含元数据,不含正文)。

novel_delete_bookA

按书删/清(含回收站):默认preview预览;apply移入回收站(keys选部分);restore恢复;purge彻底删。不动全局/设置/日志。

novel_draftC

聊天写作草稿镜像(只追加不读改):提交当前段到.novel-writer/drafts/<书>/。continue续写;ask_user将question+combinedText问用户。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.8/5.0

Scored across 22 tools

Disambiguation3/5

Most tools map to distinct resources (books, chapters, read, draft, delete), but the auditing/analysis cluster is crowded: novel_style_check, novel_style_report, novel_sentence_analysis, novel_continuity_check, novel_fix_plan and novel_lexicon all do overlapping checks, and novel_outline vs novel_settings vs novel_plot vs novel_summary blur the line between 'creation materials' and 'settings tables'. The descriptions do offer routing hints (single chapter vs whole book, 改稿 vs 审计), so an agent can usually recover, but there is real ambiguity.

Naming Consistency4/5

All 22 tools share a novel_ prefix and snake_case, which makes the set scannable. Within that, some names are pure resource nouns (novel_books, novel_chapters, novel_settings, novel_plot, novel_outline) while others are verb phrases (novel_read, novel_new_chapter, novel_delete_book, novel_import). Minor deviation, not confusing.

Tool Count3/5

22 tools is heavy for one server and several (style_check, style_report, sentence_analysis, continuity_check, fix_plan, lexicon) exist only to split one broad 'analysis' concern into sub-tools. Each does earn some place in a rich novel-writing workflow, but the surface is denser than the domain strictly requires.

Completeness4/5

Strong lifecycle coverage: list/read/create chapters, import manuscripts, manage settings, plot, outline, summaries, lexicon, plus auditing, diagnostics and destructive delete with preview/restore/purge. Gaps exist — no direct chapter edit/rewrite/delete/renumber tool and no book rename/metadata op — but the drafting model assumes the agent edits files, so these are workable.

Maintenance

ActivityActive
ResponsivenessLimited data