Skip to main content
Glama
yuelinghuashu

yuelinghuashu/story-cli

read_chapter

Read a specific chapter from a story folder by index. Optionally return only the final N characters to maintain narrative continuity and reduce token usage.

Instructions

读取指定故事的章节内容(支持按章节索引按需加载)。tailLength 可只返回章节末尾 N 字符用于续写衔接,节省 Token

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderYes故事文件夹名(如 01-故事A)
tailLengthNo只返回章节末尾 N 字符(可选;与 chapterIndex 配合使用,节省 Token)
chapterIndexNo章节序号(0-based,可选;不提供则返回全部章节标题列表)
Behavior3/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It adds useful context about tailLength saving tokens and on-demand loading, but does not mention the behavior of returning all chapter titles when chapterIndex is omitted (which is only in the schema). This is a non-critical but unstated behavioral aspect.

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?

The description is a single, dense sentence (with a clause) that front-loads the core purpose and immediately explains the key parameter's benefit. No wasted words; every phrase adds value.

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?

With no output schema, the description does not mention the return format for the case when chapterIndex is omitted (returning a list of titles). While this is described in the schema, the description alone might leave an agent unaware of that behavior, and it does not explain error scenarios or permissions. It is minimally complete but could be more informative.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for all three parameters, and the description adds meaning to tailLength by explaining its purpose (continuation and token savings). It does not add much on folder or chapterIndex beyond the schema, but the tailLength explanation goes beyond the schema, justifying a score above baseline.

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?

The description clearly states the tool reads chapter content of a specified story, with the ability to load on demand by chapter index. It effectively distinguishes from sibling tools like write_chapter or scan_stories by explicitly focusing on read operation for chapter content.

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?

The description gives clear context on when to use the tool (reading chapters, using tailLength for continuation) but does not explicitly exclude alternatives or provide when-not-to-use guidance. It implies usage for reading specific chapters, which is adequate given the sibling tools are clearly different actions.

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