Skip to main content
Glama
gmlcjf0326

claude-code-hwp-mcp

by gmlcjf0326

hwp_set_paragraph_style

Change paragraph formatting at the cursor position: adjust margins, indentation, alignment, spacing, borders, and other style options in HWP documents.

Instructions

현재 커서 위치의 단락 서식을 변경합니다. left_margin=나머지줄 시작위치, indent=첫줄 들여쓰기. 첫줄 시작위치 = left_margin + indent. v0.6.7+: 문단 테두리(border_*) 4면 + first_line_indent alias + indent<0 자동 left_margin 보정.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alignNo정렬
indentNo첫 줄 들여쓰기 (pt, 양수=들여쓰기, 음수=내어쓰기). 음수 + left_margin 미지정 시 자동 보정 (v0.6.7).
condenseNo문단 압축
line_wrapNo줄 바꿈 방식
border_topNo위쪽 문단 테두리 (v0.6.7 신규)
border_leftNo왼쪽 문단 테두리 (v0.6.7 신규)
left_marginNo왼쪽 여백/나머지 줄 시작위치 (pt)
line_weightNo줄 두께 (50%~500%, v0.7.2.1 신규)
space_afterNo문단 뒤 간격 (pt)
border_colorNo4면 테두리 색 일괄 (#RRGGBB, v0.6.7 신규)
border_rightNo오른쪽 문단 테두리 (v0.6.7 신규)
heading_typeNo제목 수준 (개요)
line_spacingNo줄간격 (%, 예: 160)
right_marginNo오른쪽 여백 (pt)
snap_to_gridNo그리드에 맞춤
space_beforeNo문단 앞 간격 (pt)
widow_orphanNo과부/고아 방지
word_spacingNo단어 간격 (-50~+50, v0.7.2.1 신규)
border_bottomNo아래쪽 문단 테두리 (v0.6.7 신규)
hanging_indentNo내어쓰기 체크박스 (v0.7.2.1 신규). true면 현재 Indent를 음수로 설정 (한컴 "내어쓰기" 효과).
keep_with_nextNo다음 문단과 함께 (제목+본문 분리 방지)
border_shadowingNo테두리 그림자 (v0.6.7 신규)
break_latin_wordNo영문 줄바꿈 (0=단어, 1=글자)
first_line_indentNoindent의 alias (v0.6.7, 사용자 친화적 이름)
line_spacing_typeNo줄간격 타입 (0=퍼센트)
page_break_beforeNo문단 앞 페이지 나누기
keep_lines_togetherNo줄 함께 유지 (문단 분리 방지)
auto_space_eAsian_engNo한영 자동 간격
auto_space_eAsian_numNo한숫자 자동 간격
paragraph_heading_typeNo단락 제목 종류 (v0.7.2.1 신규). none/outline/number — HeadingType 0/1/2 매핑.
first_line_indent_hwpunitNo첫 줄 들여쓰기 (HWP 단위, 1mm=283 hwpunit, v0.7.2.1 신규). pt 기반 indent보다 정밀.
Behavior3/5

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

With no annotations, the description carries full burden. It discloses auto-correction behavior for negative indent and version-specific features, but lacks details on side effects, permissions, or whether it affects only one paragraph or multiple. Mutation is implied but not explicitly stated as non-destructive.

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?

The description is very concise: two sentences and a version note. Key formulas and version details are front-loaded. Every sentence earns its place with minimal waste.

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?

Despite high parameter count (31) and no output schema, the description provides high-level context for core behavior but lacks overview of all parameter groups (e.g., borders, line spacing). It doesn't mention return values or success/failure. Version notes are helpful but not comprehensive.

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 coverage is 100%, so each parameter has a description. The tool description adds value by explaining the relationship between left_margin, indent, and first line position, and by noting auto-correction and aliases (first_line_indent). This extra context aids understanding.

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 the tool changes paragraph formatting at the current cursor position, using a specific verb and resource. It explains key parameters (left_margin, indent) with formulas. However, it does not distinguish from siblings like hwp_apply_style, which applies predefined styles.

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 implies usage for modifying paragraph properties at cursor but provides no explicit when/when-not guidance. It mentions version requirements (v0.6.7+) for borders, but no alternatives or exclusions are offered.

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