Skip to main content
Glama

novel_diagnose

Diagnose novel writing problems by reading local event logs and checking library structure. Get aggregated failure reports and actionable suggestions for missing books or silent errors.

Instructions

诊断报告:读本地事件日志 + 体检书库根与数据目录,把「平时看不出来的问题」讲成人话——近期工具调用/降级/失败的聚合、高频失败类型、书库根与目录结构是否正常、以及可执行的建议。用于排查「面板列不出书」「某个功能好像没生效」「报错但看不出原因」这类问题。报告只含元数据(工具名/书名/章号/状态/耗时/计数),绝不含正文。

Input Schema

NameRequiredDescriptionDefault
bookNo可选。只看这本书相关的事件(按事件里的书名过滤)。
daysNo统计窗口(天),默认 7,上限 90。
rootNo章节库根目录(含 novels 子目录)。
actionNoreport=生成报告(默认);events=附带事件明细(≤200 条);clear=清空本地事件日志。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv6.6.0

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 carries the full burden. It usefully discloses the output-safety scope ('report contains only metadata ... never body text'), which is real added value, but never mentions side effects or that the tool can destructively clear the local event log via action=clear, nor any permission requirements.

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?

Front-loads the tool's nature and operation, then the use cases, then the important metadata-only caveat. It is dense but each clause carries information; the length is justified by the multi-aspect diagnostic scope.

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 a tool with no output schema and no annotations, it adequately explains purpose, what is inspected, what the report contains (and excludes), and when to use it. The one gap is that the destructive clear action and report/events output differences are left entirely to the schema rather than flagged in prose.

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 all four parameters (book, days, root, action) are already documented including defaults and the 90-day cap; baseline 3 applies. The description adds a data-source framing (event logs, library root, data directory) but no parameter syntax or format detail beyond the schema.

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?

States a specific action (reads local event logs, inspects the library root and data directory) and the concrete outputs (aggregation of tool calls/degradations/failures, high-frequency failure types, directory health, actionable suggestions). It is unmistakably a diagnostics tool versus the content-oriented siblings, though no sibling is named to make the contrast explicit.

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?

Gives explicit triggering scenarios — 'the panel can't list books', 'a feature seems not to work', 'error but can't see the reason' — which tells the agent when to reach for it. However, it names no alternative tools and gives no exclusions, so the routing is incomplete at the edges.

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