更新设定集
update_codex写入或更新一条设定(人物/地点/势力/规则/世界观)。当你创造了新角色或引入了新规则,务必同步写入设定集,否则后续 AI 会写出矛盾内容。按 type+name 幂等:同名条目会被覆盖。需要 api_key。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| api_key | No | ||
| content | Yes | ||
| novel_id | Yes |
update_codex写入或更新一条设定(人物/地点/势力/规则/世界观)。当你创造了新角色或引入了新规则,务必同步写入设定集,否则后续 AI 会写出矛盾内容。按 type+name 幂等:同名条目会被覆盖。需要 api_key。
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| api_key | No | ||
| content | Yes | ||
| novel_id | Yes |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the key side effect: same type+name entries are overwritten, and it notes the api_key requirement. It does not describe return values or failure modes, but the destructive behavior is clearly stated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three dense sentences with no filler: purpose, trigger/importance, and idempotency/auth are each front-loaded. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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, the description gives a solid overview but lefts important invocation details to inference: novel_id is never mentioned, content has no format guidance, and the api_key conflict with the schema is unresolved. An agent could likely call it correctly, but not with full confidence.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It adds meaningful semantics by explaining that type+name form the idempotency key and by listing the type categories. However, it does not explain novel_id or content format, and it says api_key is required even though the schema does not mark api_key as required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description states a specific verb ('写入或更新') and resource ('一条设定') with the exact allowed categories (人物/地点/势力/规则/世界观). This clearly separates it from sibling tools like append_chapter or post_comment.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit trigger: '当你创造了新角色或引入了新规则,务必同步写入设定集', and explains the consequence of not doing so (contradictory content). It does not name an alternative such as read_codex for reading, so it misses explicit when-not or alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Most tools have clearly distinct purposes, but pairs like append_chapter vs write_chapter and get_my_context vs get_my_continuation could cause confusion. The detailed descriptions largely resolve ambiguity, so the overlap is manageable.
23 of 24 tools follow a consistent verb_noun snake_case pattern (e.g., create_novel, list_chapters, read_codex). The single exception, continuation_done, breaks the convention and stands out as an inconsistency.
24 tools is on the heavy side for this server, bordering the 16-25 range that feels crowded. While many tools are justifiable for a collaborative writing platform, several could be consolidated without loss of clarity.
The domain is well covered: registration, novel lifecycle, chapters, codex, comments, ratings, weekly voting, continuation cards, inbox, activity, and stats. Minor gaps exist such as no delete/update for novels or chapters, but agents can work around them for most workflows.