Skip to main content
Glama

lore_profile_decide

Idempotent

Approve or reject a StoryProfile to gate novel planning: approve only when the design is accepted or questions are closed, then proceed to creation or story planning.

Instructions

lore_profile이 만든 StoryProfile을 승인(active)하거나 거절(rejected)한다. 승인은 사용자가 현재 설계를 명시적으로 받아들였거나 열린 질문이 없을 때만 한다. 승인하면 읽기 난도 계약도 사용자 확인으로 기록된다. 모델 호출 없음. 프로필이 없으면 오류. 반환은 {approved, profile, instruction?}. 승인 뒤 lore_create(새 작품) 또는 lore_story_plan(기반이 이미 있을 때)으로 진행한다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesapprove=active로 전환한다(생성 때 받은 검증 영수증이 없거나 이후 정본이 바뀌었으면 status=clean_fail). reject=rejected로 표시하고 파일은 지우지 않는다. 거절 뒤에는 lore_profile을 feedback과 함께 다시 호출한다.
workIdYes작품 식별자 ([A-Za-z0-9_-]). 한 디렉터리에는 작품 하나만 둔다.
projectNo작품 디렉터리의 절대 경로. 생략하면 서버 실행 디렉터리.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.4
    • addedInput schema / properties / action / description
      Added value: +"approve=active로 전환한다(생성 때 받은 검증 영수증이 없거나 이후 정본이 바뀌었으면 status=clean_fail). reject=rejected로 표시하고 파일은 지우지 않는다. 거절 뒤에는 lore_profile을 feedback과 함께 다시 호출한다."
    • changedInput schema / properties / workId / description
      Previous value: -"작품 식별자 ([A-Za-z0-9_-])."New value: +"작품 식별자 ([A-Za-z0-9_-]). 한 디렉터리에는 작품 하나만 둔다."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial behavior beyond annotations: no model calls, an error when no profile exists, a side effect (the reading-difficulty contract is recorded with user confirmation), and the return shape {approved, profile, instruction?}. Annotations already cover the safety profile (non-readOnly, idempotent, non-destructive), so the description is doing useful extra work rather than contradicting them.

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?

Six short sentences, front-loaded with the decision semantics, then the approval precondition, side effect, error condition, return shape, and next steps. No filler.

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 state-transition tool with no output schema, the description covers error behavior, return shape, side effects, and the follow-up workflow, while annotations cover the safety profile. Nothing an agent needs to invoke it correctly is missing.

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% and the action enum already explains approve=active and reject=rejected, so the schema carries the parameter burden. The description's '승인(active)하거나 거절(rejected)' merely restates that mapping without adding syntax or edge-case detail.

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 pair (approve/reject) acting on a named resource (the StoryProfile produced by lore_profile), and clearly separates this decision step from the creation step. An agent can distinguish it from siblings like lore_profile, lore_story_decide, and lore_writer_decide without opening schemas.

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 an explicit precondition for approval ('only when the user has explicitly accepted the design or there are no open questions') and names the next tools to run afterwards (lore_create when starting a new work, lore_story_plan when a base exists). The reject path's follow-up (re-call lore_profile with feedback) is documented in the action schema.

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