Skip to main content
Glama

novel_plot

Track foreshadowing and plot threads for a book: add, update, list, scan, and mark setups open or done to keep unresolved storylines visible.

Instructions

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "book": "<book>"
    },
    "name": "novel_plot"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo伏笔id
bookYes书名
noteNo备注
rootNo书库根
typeNo类型
actionNo操作(graph为只读跨章结构视图)
statusNo状态(回收优先done)
chapterNo章节
contentNo内容
priorityNo优先级
locationsNo地点
payoffConditionNo回收条件
absenceThresholdNograph缺席阈值(默认5)
relatedCharactersNo人物

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv8.0.0
    • changedInput schema / properties / absenceThreshold / description
      Previous value: -"graph 时可选:人物连续缺席多少章算异常(默认 5)。"New value: +"graph缺席阈值(默认5)"
    • changedInput schema / properties / action / description
      Previous value: -"list=查看;add=登记新伏笔;update=修改;done=标记已回收;delete=删除;scan=扫描章节文本,自动更新伏笔提及章节;graph=跨章结构视图(伏笔埋设跨度 / 人物连续缺席 / 剧情线活跃度 / 时间线顺序 / 大纲对比),只读不写盘。"New value: +"操作(graph为只读跨章结构视图)"
    • changedInput schema / properties / book / description
      Previous value: -"书名。"New value: +"书名"
    • changedInput schema / properties / chapter / description
      Previous value: -"可选:伏笔出现的章节。"New value: +"章节"
    • changedInput schema / properties / content / description
      Previous value: -"add/update 时:伏笔内容描述。"New value: +"内容"
    • changedInput schema / properties / id / description
      Previous value: -"伏笔 id(update/done/delete 时需要)。"New value: +"伏笔id"
    • changedInput schema / properties / locations / description
      Previous value: -"可选:关联地点(add/update)。"New value: +"地点"
    • changedInput schema / properties / note / description
      Previous value: -"可选:备注(如何回收/何时回收)。"New value: +"备注"
    • changedInput schema / properties / payoffCondition / description
      Previous value: -"可选:回收条件(add/update)。"New value: +"回收条件"
    • changedInput schema / properties / priority / description
      Previous value: -"可选:优先级(add/update)。"New value: +"优先级"
    • changedInput schema / properties / relatedCharacters / description
      Previous value: -"可选:关联人物(add/update)。"New value: +"人物"
    • changedInput schema / properties / root / description
      Previous value: -"章节库根目录。"New value: +"书库根"
    • changedInput schema / properties / status / description
      Previous value: -"update 时可选:把伏笔重新打开(open)或标记已回收(done)。用于误操作回退;与 action=\"done\" 等价的效果优先用 done。"New value: +"状态(回收优先done)"
    • changedInput schema / properties / type / description
      Previous value: -"可选:伏笔类型(add/update)。"New value: +"类型"
  2. Changed1 schema field changedv7.1.0
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "update 时可选:把伏笔重新打开(open)或标记已回收(done)。用于误操作回退;与 action=\"done\" 等价的效果优先用 done。",
      +  "enum": [
      +    "open",
      +    "done"
      +  ],
      +  "type": "string"
      +}
  3. Changed3 schema fields changedv5.0.0
    • addedInput schema / properties / absenceThreshold
      Added value: +{
      +  "description": "graph 时可选:人物连续缺席多少章算异常(默认 5)。",
      +  "type": "integer"
      +}
    • changedInput schema / properties / action / description
      Previous value: -"list=查看;add=登记新伏笔;update=修改;done=标记已回收;delete=删除;scan=扫描章节文本,自动更新伏笔提及章节。"New value: +"list=查看;add=登记新伏笔;update=修改;done=标记已回收;delete=删除;scan=扫描章节文本,自动更新伏笔提及章节;graph=跨章结构视图(伏笔埋设跨度 / 人物连续缺席 / 剧情线活跃度 / 时间线顺序 / 大纲对比),只读不写盘。"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "list",
      -  "add",
      -  "update",
      -  "done",
      -  "delete",
      -  "scan"
      -]New value: +[
      +  "list",
      +  "add",
      +  "update",
      +  "done",
      +  "delete",
      +  "scan",
      +  "graph"
      +]
  4. First observed

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers none of it. It does not disclose that the same tool can mutate and permanently delete records (action=delete), that it can scan across chapters, that mutation requires book/root scoping, or what any operation returns. With a destructive action present and zero disclosure, this is a serious transparency gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short phrase is not bloated, but its brevity comes from under-specification rather than efficiency; for a 14-parameter, 7-action tool it communicates almost nothing. There is no structure separating what the tool is from how it is driven.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 14 parameters, 7 enum values on action, no annotations, and no output schema, the description is far too thin to let an agent invoke the tool correctly. It omits the action model entirely, including the read-only graph mode and the destructive delete mode, which are the highest-risk facts an agent needs.

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 description coverage is 100%, so every one of the 14 parameters (id, book, action, status, payoffCondition, absenceThreshold, etc.) already carries its own descriptive text, including the note that graph is a read-only cross-chapter structural view. The description adds no parameter meaning beyond that baseline, so the standard 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "伏笔/剧情线表(open/done)" is essentially a restatement of the tool name novel_plot plus the two status values. It names the resource (foreshadowing / plot-thread table) but gives no verb and never reveals that the tool is a multi-operation dispatcher accepting list/add/update/done/delete/scan/graph. An agent cannot tell from the text that writing, deleting, or a read-only graph view are even possible.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no when-not-to-use guidance, and no routing toward alternatives such as novel_continuity_check or novel_outline. The parenthetical "(open/done)" only hints at a lifecycle filter, which the status enum in the schema already states.

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