Skip to main content
Glama

lore_story_plan

Destructive

Builds and validates a complete story spine—causal chain, character drives, midpoint reinterpretation, final-choice cost—then saves it to .vibelore/story-spine.json for approval.

Instructions

작품 전체 StorySpine(처음부터 결말까지의 인과 사슬, 인물 동력, 중간 재해석, 최종 선택의 대가)을 생성하고 구조·품질 검증을 거쳐 .vibelore/story-spine.json과 world/story-spine.md에 저장한다. 순서는 lore_create 다음, lore_writer_skill 앞이며 기반과 승인된 StoryProfile이 필요하다. 아크 단위 계획은 lore_arc_plan이 따로 만든다. 호출할 때마다 기존 StorySpine을 이력 없이 교체한다(review면 pending으로 돌아가 이후 단계가 막힌다). 생성·품질 판정·언어 검증에 status=needs_model이 약 3회 나오며 모두 답하기 전에는 저장하지 않는다. 검증에 떨어지면 오류로 끝나고 저장하지 않는다. 반환은 {spine(quality 포함), needsApproval}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoreview(기본)=pending으로 저장하고 사용자 승인을 기다린다. auto=검증 통과 즉시 active로 저장한다. 사용자가 "알아서·묻지 말고"라고 한 경우만 auto.
workIdYes작품 식별자 ([A-Za-z0-9_-]). 한 디렉터리에는 작품 하나만 둔다.
projectNo작품 디렉터리의 절대 경로. 생략하면 서버 실행 디렉터리.
feedbackNo거절한 StorySpine을 다시 만들 때 반영할 사용자 피드백. 이전 StorySpine은 모델에 다시 보내지 않으므로 피드백만으로 이해되게 쓴다.
directionNo작품 전체 방향에 대한 작가 지시. 생략하면 작품 브리프를 쓴다.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.4.4
    • addedInput schema / properties / direction / description
      Added value: +"작품 전체 방향에 대한 작가 지시. 생략하면 작품 브리프를 쓴다."
    • addedInput schema / properties / feedback / description
      Added value: +"거절한 StorySpine을 다시 만들 때 반영할 사용자 피드백. 이전 StorySpine은 모델에 다시 보내지 않으므로 피드백만으로 이해되게 쓴다."
    • addedInput schema / properties / mode / description
      Added value: +"review(기본)=pending으로 저장하고 사용자 승인을 기다린다. auto=검증 통과 즉시 active로 저장한다. 사용자가 \"알아서·묻지 말고\"라고 한 경우만 auto."
    • changedInput schema / properties / workId / description
      Previous value: -"작품 식별자 ([A-Za-z0-9_-])."New value: +"작품 식별자 ([A-Za-z0-9_-]). 한 디렉터리에는 작품 하나만 둔다."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds substantial beyond-schema behavior: the existing StorySpine is replaced with no history, review mode returns to pending and blocks later stages, roughly three needs_model rounds must be answered before saving, and validation failure aborts with an error and no save. The only gap is it does not quantify cost/latency of the multi-round model interaction beyond the round count.

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-loaded with the core action and artifacts, then ordering, then side effects and return shape. Every sentence carries distinct information, though the dense parentheticals make it read heavier than necessary.

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

Completeness5/5

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

No output schema exists, so the description supplies the return shape {spine (with quality), needsApproval}. Combined with prerequisites, ordering, destructive semantics, multi-round interaction, and failure behavior, an agent has everything needed to invoke it correctly.

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 description coverage is 100%, so the baseline is 3. The description still adds meaning beyond the schema by explaining the downstream consequence of mode=review (downstream steps become blocked) and reinforcing the destructive replace semantics, which is not stated in the parameter's own description.

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?

States a specific verb and resource (generate the whole-work StorySpine) and enumerates its scope (causal chain, character motivation, mid reinterpretation, cost of the final choice) plus the two artifacts it writes. It explicitly distinguishes itself from siblings by name: arc-level planning is lore_arc_plan's job.

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

Usage Guidelines5/5

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

Gives explicit ordering (after lore_create, before lore_writer_skill), prerequisites (foundation plus an approved StoryProfile), and a named alternative for a different granularity (lore_arc_plan). It also explains the mode=review consequence of blocking downstream steps.

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