Skip to main content
Glama
yuelinghuashu

yuelinghuashu/story-cli

write_chapter

Write Markdown chapter content into a specified story folder, with optional post-write compliance validation to maintain repository standards.

Instructions

将正文写入指定故事(原子写入 text.md)。validate=true 时写入后立即执行仓库合规检查并返回结果(不阻断写入)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderYes故事文件夹名(如 01-故事A)
contentYes要写入的 Markdown 正文
validateNo写后是否执行合规检查(默认 false)
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses atomic write and non-blocking validate behavior, but does not cover overwrite behavior, permissions, or error handling. Partial transparency.

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

Conciseness5/5

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

Single sentence, front-loaded with main action, zero wasted words. Efficient and clear.

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?

Tool is a write operation with moderate complexity. Description covers atomicity and validate behavior, but lacks details on return values (though no output schema exists) and prerequisites. It is adequate but not exhaustive.

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 baseline is 3. Description adds contextual value for 'validate' (checking compliance after write) but does not elaborate on folder or content semantics beyond schema.

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

Purpose5/5

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

Description states a specific verb ('write') and resource ('specified story'), explicitly mentioning atomic write to text.md)Skip. It clearly distinguishes from siblings like read_chapter and edit_config.

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

Usage Guidelines3/5

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

Description implies usage for writing chapter content, but provides no exclusions or alternatives. It mentions validate=true for compliance check but does not discuss when not to use this tool versus create_story or import_json.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuelinghuashu/story-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server