Skip to main content
Glama
gmlcjf0326

claude-code-hwp-mcp

by gmlcjf0326

hwp_autopilot_create

Automates HWP document creation from sections and tables, applying templates, styles, TOC, validation, and PDF export.

Instructions

문서 자동 생성 12단계 파이프라인. (v0.7.2.4 / v0.7.4.0 / v0.7.5.4) sections[]/tables[]를 받아 template 기반으로 작성→스타일→TOC→검증→저장→PDF→layout 검증. v0.7.5.4: auto_fix 기본값 false + preserve_template_style 기본값 true (원본 템플릿 서식 보존). mode=plan은 estimate만, mode=execute는 실제 파이프. 각 step 마다 session_state 자동 save + cancel 체크.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoplan=estimate만, execute=실제 실행 (기본 execute)
promptNo원본 사용자 프롬프트 (메타데이터)
tablesNo삽입할 표 목록 (sections 다음에 일괄 삽입)
auto_fixNov0.7.5.4: 기본 false. validate_consistency 점수 < threshold 여도 자동 override 안 함. true 여도 runAutoFixLoop 가 P0-2 에서 no-op 전환됨 (validate 만 수행).
sectionsNo미리 생성된 섹션 콘텐츠 (호출자가 LLM으로 작성). plan_session_id 사용 시 생략 가능.
export_pdfNo완료 후 PDF 변환 (기본 true)
session_idNo재개할 세션 (생략 시 자동 생성)
output_pathNo생성할 .hwp/.hwpx 절대 경로 (plan_session_id 사용 시 생략 가능)
template_idNohwp_template_library 등록 ID (template_path 대신)
style_profileNoapply_style_profile에 전달할 프로파일
template_pathNo템플릿 .hwpx 경로 (없으면 빈 문서로 시작)
plan_session_idNohwp_autopilot_plan 이 만든 plan session_id. 지정 시 sections/tables/style_profile/output_path/template_path 를 해당 세션에서 자동 로드 (개별 인자 우선)
auto_fix_thresholdNoauto_fix 트리거 점수 (기본 85, auto_fix=true 일 때만 의미)
auto_fix_max_iterationsNoauto_fix 최대 반복 횟수 (기본 2, 안전 한도 5)
preserve_template_styleNov0.7.5.4: 원본 템플릿의 서식 (heading/body/cell) 을 변경하지 않음. true 시 style_profile override 무시. 공무원 양식 작업 시 권장 (기본 true).
approve_threshold_secondsNoestimate가 이를 넘으면 awaiting_approval 반환 (기본 600)
Behavior4/5

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 describes the pipeline steps (write, style, TOC, verify, save, PDF, layout validation), session state auto-save, cancel check, and version-specific default behaviors for auto_fix and preserve_template_style. It discloses the behavioral changes across versions. It does not mention file overwriting behavior or error handling, but overall it is fairly transparent.

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?

The description is a single paragraph that front-loads the main purpose and then provides key details about modes and version-specific defaults. It is concise with no filler, but the dense formatting (version numbers, parameter names) could be more readable. Overall efficient.

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 and 16 parameters, the description covers the pipeline flow, modes, and some parameter defaults. However, it does not specify the return value or response structure (e.g., what plan returns vs execute, or what 'awaiting_approval' means). The plan_session_id interaction is mentioned but not fully explained. This leaves gaps for an agent to understand the complete interaction.

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?

All 16 parameters have schema descriptions with 100% coverage, so the baseline is 3. The main description adds pipeline-level context but does not significantly enhance understanding of individual parameters beyond what the schema provides. It mentions version-dependent defaults for some parameters, but this is marginal improvement.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool is a 12-step pipeline for automatic document creation, taking sections and tables, applying templates, styling, TOC, validation, save, PDF, and layout validation. It distinguishes mode=plan from mode=execute. However, it does not explicitly differentiate from siblings like hwp_document_create, though the pipeline nature is evident.

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

Usage Guidelines3/5

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

The description explains the two modes: plan for estimation, execute for actual run. It mentions defaults for auto_fix and preserve_template_style and that sections/tables can be omitted with plan_session_id. However, it lacks explicit guidance on when to use this tool versus alternatives like hwp_autopilot_plan or hwp_document_create, and does not specify prerequisites or when not to use it.

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/gmlcjf0326/claude-code-hwp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server