Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CDA_MCP_DATANoDirectory where the server stores its data. Defaults to ~/.cda-mcp.~/.cda-mcp
CDA_CONFIG_DIRNoDirectory containing an alternative language/config pack with rules.yaml, platforms.yaml, and prompts.md. When set, the entire rule/platform/prompt bundle is replaced.

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
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
init_projectB

【定位层】开新书第 1 步:填定位决策卡并创建项目。 必填:项目id/项目名/书名/平台/受众/性别向/情感契约/改编形态/爽点类型/反派类型/差异化(缺任一即报错,补丁1-3)。 爽点类型五选一:打脸碾压 | 解谜智性 | 无声反杀 | 清醒退出 | 情感共鸣。 反派类型三选一:敌人(可打倒) | 规则(可理解) | 结构(不可打倒只能离开)。 调性 tone:冷感 | 炸裂 | 通用(决定感叹号禁用与字数区间预设)。

sop_statusB

查看开新书 7 步 SOP 进度与各步检查清单(07 号)。

advance_sopB

标记某一步 SOP 完成(须按 1→7 顺序)。

log_issueB

【规则回调】试产/评审发现的问题记录到项目规则层(07 号提醒3:改规则 = 后面 390 章都受益)。

save_cardB

【锁定层】保存人设卡/金手指卡/调性对照卡/硬数据。

  • character:必须给 forbidden 禁止项数组(≥5 条,否定式定义法)与 drift_signals 漂移预警信号;肯定项 traits 控制在 3-5 个。

  • goldfinger:必须给 boundaries 边界数组(边界 > 能力);建议 legs 三条腿(各含 name/limit)。

  • tone:is(本项目是什么)+ isNot(对立面)+ dimensions 对照表 [{dimension, self, opposite}](对立面定义法)。

  • harddata:entries [{key, value}] 硬数据校验表(年龄/姓名/关键数字/时间线)。

add_foreshadowA

【结构层】新埋伏笔。id:单级用 F1/G1,两级(300万字+)用 L1 或 C3-1(第3卷群第1条)。 同名 id 已存在 → 报错;同内容重复埋设 → 冗余警告。

resolve_foreshadowB

【结构层】回收伏笔。编号不存在 → 判定【凭空回收】(一票否决);已回收 → 报错。

touch_foreshadowC

【结构层】记录长线伏笔"呼吸"(提及章号),用于健康度检查。

foreshadow_healthA

【结构层】伏笔健康度检查(每 10 章一次 / 每卷群结束必查):回收率、待回收清单、长线呼吸、凭空回收统计。

plan_chapterB

【结构层】生成某章的章纲模板:按字数类型给浮动区间(非死数)+ 爽点密度规则 + 事件库轮换提醒。

save_outlineB

【结构层】保存逐章章纲(施工图)。自动校验章名合规 + 伏笔引用(回收的必须已埋且未回收;新埋的编号冲突告警)。

check_titleC

章名合规检查:可见字数 ≥5(平台硬约束)、总长 ≤15、感叹号规则、钩子分层提醒。

check_ai_flavorA

【执行层/质检层】AI 味审计:红牌词(≤1/章)、油腻词(一票否决)、句式(不是A而是B ≤2、这,就是 ≤1)、段末升华检测。输出问题清单+具体位置。

check_formatC

【执行层】听书(TTS)格式检查:数字可读化、引号闭合、破折号 ≤3、一人一段、括号大段、颜文字、无标点长段、感叹号(冷感调性禁用)。

review_chapterA

【质检层·第一层】每章过程评审(100% 每章必过):L1 形态红线(fatal 毫秒级短路)→ L2 打分 → AI 味 + TTS 格式 + 章名 + 暗爽点 + 单章自洽弱信号 + 节奏信号。输出 通过/打回 + 具体问题清单 + 真实耗时。

release_gateA

【质检层·第二层】发布闸门(每 30 章一批 + 首发):合规一票否决(不计分)+ 锚点制百分制评分(只报命中档,不报感觉分)。≥80 且无致命 → 放行;70-79 → 修改后发布;<70 或致命 → 禁止发布。 四档评分:A 满分 / B 轻微扣 / C 明显扣 / D 严重扣;命中多档取最低档。

drift_callbackC

【质检层·第三层】漂移回调:输入漂移症状关键词,匹配 6 类回调方案(05 号)。

query_methodA

检索方法论文档(00-10 号 11 篇):按关键词返回最相关片段。例如查"卷群"、"否定式"、"黄金三章"、"爽点密度"、"听书"。

check_redlineB

【L1】形态红线毫秒级检查:可复现命令/路径、内部标注泄漏、Markdown 残留、真实企业名、章名感叹号。致命项直接判禁止发布(不调任何 LLM)。

check_self_consistencyA

【弱信号·零成本】单章内部自洽:时序倒退 / 数字互斥 / 称谓变体。只报 suspect + 原文证据,绝不判 fatal/reject,最终需 L3 或人工复核。

check_pacingC

【机器层】节奏检查:爽点/冲突/钩子密度 + 荒漠预警(去 LLM 桩)。

extract_factsA

【P1 闭环·零 LLM】从正文抽硬数据,生成候选事实契约(fact_check 兼容),含跨章同单位多值 suspect。候选 ≠ 确认:必须人工/LLM 复核后才能当正式契约。

next_chapter_briefB

【P1 闭环·零 LLM】评审回流:把上轮评审结论 + 未收伏笔 + 人设锚 + 平台档案转成下一章写作约束块,含可直接喂写稿 Agent 的 prompt(确定性转写,不新增判断;桩模式会明确标注)。

foreshadow_listC

查看项目伏笔台账(对齐 novel-review-mcp 的工具名)。

foreshadow_overdueB

超期未收伏笔提醒;无章序信息时不臆断,返回空(对齐 novel-review-mcp)。

list_profilesA

列出可用平台档案、规则版本、提示词维度与伏笔编号前缀(对齐 novel-review-mcp 的 list_profiles)。

extract_foreshadowA

【零 LLM】从正文通用抽取伏笔候选(无 F# 编号也能识别悬念/未完成事件),供登记台账前参考。

Prompts

Interactive templates invoked by user choice

NameDescription
build_system_prompt【执行层】按项目卡片组装 LLM 写作 system prompt(禁止项/金手指边界/调性对照/字数区间/硬数据/听书格式)
chapter_review_prompt【质检层·第一层】每章 AI 味审计 Prompt(模板外置;输出严格 JSON,禁止和稀泥结论)
periodic_audit_prompt【质检层】周期全检 Prompt(每 10 章跑;对比第 1 章防漂移;含女频防冷漠检测项)
next_chapter_brief_prompt【P1 闭环】把评审结论 + 未收伏笔 + 人设锚转成下一章写作约束块(模板外置)

Resources

Contextual data attached and managed by the client

NameDescription
00_-mdCDA 方法论 · 00_方法论总纲.md
01_-_-mdCDA 方法论 · 01_定位层_决策树.md
02_-_-mdCDA 方法论 · 02_锁定层_否定式定义法.md
03_-_-mdCDA 方法论 · 03_结构层_编号系统与长篇不崩.md
04_-_-AI-mdCDA 方法论 · 04_执行层_反AI味与反机械感.md
05_-_-mdCDA 方法论 · 05_质检层_三层评审体系.md
06_-mdCDA 方法论 · 06_平台与改编硬约束.md
07_-SOP-mdCDA 方法论 · 07_开新书SOP与检查清单.md
08_-_-vs-mdCDA 方法论 · 08_案例对照_默者vs狂臣.md
09_-mdCDA 方法论 · 09_可生长架构.md
10_-mdCDA 方法论 · 10_跨题材适配补丁.md

TDQS

C2.9/5.0

Scored across 27 tools

Disambiguation3/5

The foreshadow family (list/health/overdue/extract/add/resolve/touch) is mostly separable, but foreshadow_health and foreshadow_overdue clearly overlap, as do extract_facts and extract_foreshadow. More seriously, check_redline, check_ai_flavor, check_format, check_self_consistency, and check_pacing are all described as sub-components that review_chapter already runs internally, so an agent cannot easily tell when to call the standalone check versus the aggregate review. The four bare-name tools (character/goldfinger/tone/harddata) read like variants of save_card rather than distinct operations.

Naming Consistency3/5

Most tools use verb_noun snake_case (save_outline, check_title, add_foreshadow, resolve_foreshadow), which is readable and predictable. However, several use noun_verb ordering (foreshadow_list, foreshadow_health, foreshadow_overdue), one is noun_verb reversed (release_gate), and four are bare nouns (character, goldfinger, tone, harddata) with no verb at all. The mix of prefix-style and suffix-style grouping makes scanning the tool list harder than it needs to be.

Tool Count2/5

At 27 tools this exceeds the comfortable range, and the inflation is partly artificial: character/goldfinger/tone/harddata appear to be one save_card call differentiated by a type parameter, and five check_* tools duplicate work already bundled into review_chapter. A pipeline this complex justifies many tools, but several do not earn a separate entry.

Completeness4/5

The surface covers the full lifecycle well: project init, 7-step SOP tracking, chapter planning, outline persistence, multi-layer review, release gating, drift callback, methodology lookup, and a complete foreshadow add/resolve/touch/list/health/overdue loop. Gaps remain around chapter manuscript handling (outlines can be saved but there is no save_chapter/get_chapter or chapter listing) and there is no update/delete path for foreshadow or cards, so mistakes must be worked around rather than corrected.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues