Skip to main content
Glama

lore_resume

Destructive

Resume a paused model-driven task by passing runId and answers for its pending questions, continuing from the saved interruption point.

Instructions

status=needs_model 로 중단된 작업을 이어받는다. requests 의 각 질문에 답한 텍스트를 answers 에 { id: 답변 } 형태로 넘기면 중단 지점부터 계속한다. 한 응답의 requests는 서로 독립이므로 모두 답해 한 번에 넘긴다. 원래 도구를 처음 받은 인자 그대로 다시 실행하므로 인자를 바꾸려면 원래 도구를 새로 호출한다. 재개된 도구의 부작용(저장·교체·커밋)을 그대로 가진다. 다음 단계에 새 모델 작업이 필요하면 새 requests와 함께 needs_model을 다시 돌려주므로 여러 번 이어지는 것이 정상이다. 빈 answers나 맞지 않는 id는 작업을 끝내지 않고 같은 requests를 다시 돌려준다. runId는 첫 생성 후 24시간 뒤 만료되고 완료되면 삭제된다. 답을 멈추면 소설·설계 도구는 needs_model 응답의 deterministicResult가 유일한 결과이고(lore_write는 멈춘 workflow 식별 정보뿐이며 awaiting_model로 남는다), 웹툰은 같은 단계에서 대기하며 lore_workflow_status(lane=webtoon)로 확인한다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdYesneeds_model 응답의 runId(run-…). lore_write의 runId를 잃었으면 lore_workflow_status의 resume.runId로 찾는다.
workIdNo작품 식별자 ([A-Za-z0-9_-]). 한 디렉터리에는 작품 하나만 둔다.
answersNo{ 질문 id: 모델이 만든 답변 텍스트 }. 이전 라운드에 보낸 답은 저장돼 있으므로 새 질문만 보내면 된다. jsonMode 요청은 코드 펜스 없는 순수 JSON으로 답한다.
projectNo작품 디렉터리의 절대 경로. 생략하면 서버 실행 디렉터리.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.4
    • changedInput schema / properties / answers / description
      Previous value: -"{ 질문 id: 모델이 만든 답변 텍스트 }"New value: +"{ 질문 id: 모델이 만든 답변 텍스트 }. 이전 라운드에 보낸 답은 저장돼 있으므로 새 질문만 보내면 된다. jsonMode 요청은 코드 펜스 없는 순수 JSON으로 답한다."
    • addedInput schema / properties / runId / description
      Added value: +"needs_model 응답의 runId(run-…). lore_write의 runId를 잃었으면 lore_workflow_status의 resume.runId로 찾는다."
    • changedInput schema / properties / workId / description
      Previous value: -"작품 식별자 ([A-Za-z0-9_-])."New value: +"작품 식별자 ([A-Za-z0-9_-]). 한 디렉터리에는 작품 하나만 둔다."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructive=true, idempotent=false, and the description confirms and extends this by disclosing the concrete side effects carried over (save/replace/commit) and the fact that re-execution uses the original arguments unchanged. It further discloses error behavior (empty answers or mismatched ids re-return the same requests), 24h runId expiry, deletion on completion, and what remains as the sole result if the agent stops. This is rich behavioral context well beyond the annotations, with no contradiction.

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 what the tool does and the answers format, then layers the operational caveats in logical order. It is dense and longer than typical, but each sentence introduces distinct information (resume point, arg immutability, side effects, multi-round, error handling, expiry, stop behavior), so little is wasted.

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?

For a stateful resume tool with no output schema, the description covers the return/error protocol (same requests re-returned), the lifecycle (24h expiry, deletion on completion), the multi-round norm, and fallback discovery via lore_workflow_status. Nothing an agent needs to call or recover from this tool correctly appears missing.

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 nonetheless adds meaning not in the schema, such as 'requests are mutually independent, so answer all at once', 'previously sent answers are stored, send only new questions', and 'jsonMode requests answer with pure JSON without code fences'. It adds above baseline but overlaps partially with the answers schema text.

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+resource: resumes a task halted with status=needs_model, from the halt point. It distinguishes itself from siblings by naming lore_write and lore_workflow_status and explaining the resume relationship. An agent can tell this apart from the many lore_* decision/plan tools without opening a schema.

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?

Explicit trigger condition (status=needs_model), clear when-to-use in multi-round flow ('여러 번 이어지는 것이 정상이다'), and gives an alternative for a related need (to change arguments, re-invoke the original tool). It also routes to lore_workflow_status to recover a lost runId. When/when-not and alternatives are all present.

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