Skip to main content
Glama

On HWPX 만들기

On HWPX 만들기 — 꾸밈 없는 일반 문서

on_write

[On HWPX 만들기 — 꾸밈 없는 일반 문서] 보고서·계획서·결과보고서·보도자료 같은 공문서 꼴 한글 문서는 on_write_gov(On 공문서 쓰기)가 만든다 — 이 도구는 마크다운을 꾸밈 없는 일반 한글 문서(HWPX)로 만든다. 단, style 없이 받은 원고가 공문서처럼 보이면(로마 숫자 장 제목 「Ⅰ. Ⅱ.」 둘 이상, □·○ 개조식 줄, 제목이 …결과보고·…계획·…(안)·보도자료 등) on_write_gov 와 같은 공문서 꼴로 만들고 결과에 auto_style·auto_note 를 적는다 — 꾸밈 없는 꼴을 바라면 plain: true. 글 없는 글머리 줄(「- 」만 있는 줄)은 넣지 않는다. 제목(# ~ ###)·문단·굵게·위/아래 첨자·글머리표(- * +)·번호(1.)·개조식(□ ○ - · ※, 가. 1) 가) (1) ①)·할 일(- [ ])·마크다운 표(칸 맞춤)·HTML 표(rowspan·colspan·표 안 표)·링크·인용(>)·코드()·가로줄(---)·쪽 나눔(<!-- 쪽나눔 -->). A4·함초롬바탕(본문)/함초롬돋움(제목)·쪽 번호. 만든 뒤 우리 엔진으로 다시 읽어 글·표가 그대로인지 견준 결과(check)와 쪽 수를 함께 준다. 이 서버는 .hwp 를 만들지 않는다 — as=hwp|both 여도 HWPX 만 주고 note 로 알린다(HWPX 를 한글에서 열어 .hwp 로 저장). 마크다운은 30만 자, 표는 1,000줄·50칸까지. style(보고서·계획서·결과보고서·보도자료·기안문)을 주면 정부 공식 문서 꼴로 만든다(절·그래프·체계도·품질 점검까지 하는 공문서 꼴 도구는 on_write_gov — 열쇠에 있을 때) — 휴먼명조 본문·HY헤드라인M 제목, 개조식 단계 내어쓰기, 「## Ⅰ. 제목」 장 막대, 표 캡션·단위·합계 줄, 표지·목차(쪽 번호 자동), 체계도(체계도)·그래프(그래프 막대|꺾은선|원```, 표 숫자로 그림). 결과의 form 은 공문서 꼴 작성 규칙(핵심 수치·용어·기한은 굵게, 숫자 자료는 표나 그래프 울타리)을 어긴 곳 목록이다. 기호 줄이 두 줄 이상이면 둘째 줄이 첫 줄 글과 같은 자리에서 시작하고, 줄 끝에 1~2글자만 남거나 줄 끝에 여유가 거의 없는 문단은 낱말 사이 빈칸을 먼저, 모자라면 자간을 조금(최대 -8%) 줄여 윗줄에 넣고, 3글자 넘게 남아 마지막 줄이 앞 줄 폭의 1/3 이 안 되면 그 문단만 장평을 95%까지 더 줄여 올리거나 자간을 +4%까지 넓혀 채운다(글은 그대로) — 이 둘은 엔진이 알아서 한다.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "markdown": "<markdown>"
    },
    "name": "on_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNo이 서버는 .hwp 를 만들지 않음(hwp·both 여도 HWPX 만) — HWPX 를 한글에서 열어 .hwp 로 저장
tocNo목차(계획서·결과보고서 기본 넣음)
docxNotrue 면 같은 원고·같은 디자인(남색 제목 상자·장 막대·개조식 단계·표·테두리 상자·그래프·쪽 번호)의 워드(.docx)도 함께 만든다 — 결과의 docx 파일. 글꼴은 워드에 흔한 바탕·맑은 고딕(font=sans 면 본문도 맑은 고딕). 표지·목차는 아직 한글 쪽에만 있다.
fontNo본문 글꼴 — serif 함초롬바탕(기본) · sans 함초롬돋움
coverNo표지(계획서·결과보고서 기본 넣음)
plainNotrue 면 원고가 공문서처럼 보여도 꾸밈 없는 일반 문서(함초롬)로 만든다 — style 을 주지 않았을 때의 자동 공문서 꼴을 끔
styleNo정부 공식 문서 꼴 — 휴먼명조·HY헤드라인M, □ ○ - * ※ 단계 내어쓰기, 장 제목 막대(## Ⅰ. 제목), 표 캡션 「< 제목 >」·「(단위: …)」·합계 줄 굵게, 표지·목차(계획서·결과보고서), 보도자료 머리 표, 기안문 두문·결문. 펜스 ```체계도 제목``` 은 체계도(□/○ 단계 또는 「가 → 나 → 다」), ```그래프 막대|꺾은선|원 제목``` 은 표 숫자로 그래프 그림. 맨 위 --- 머리말로 부제·날짜·기관·수신·보도시점 등
titleNo문서 제목(파일 이름·문서 정보에 씀)
diagramNo체계도 그리는 방식 — 표(기본, 한글에서 고치기 쉬움) · 도형(사각형)
markdownYes만들 문서의 마크다운
ministryNo기관 이름(예: 보건복지부) — style 이 보도자료·공고문일 때 그 기관 문서 통계의 꼴(제목 크기·계층 사이 간격·줄 간격·표 머리 바탕)을 따른다. 통계가 부족한 기관이거나 보고서·계획서·결과보고서·기안문이면 공통 꼴이고 결과 rule 에 그렇게 적힌다.
font_sizeNo본문 글자 크기 pt(8~20, 기본 11)
page_numbersNo쪽 번호(기본 넣음)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=false, idempotent=false), the description discloses important behavioral details: the server never produces .hwp even when as=hwp|both, markdown is capped at 300k characters and tables at 1,000 rows/50 columns, auto_style/auto_note are returned when auto-styling occurs, and a verification check and page count are included.

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 dense and front-loads the core purpose and alternative before diving into supported syntax and typography rules. It is long but every sentence carries information; however, the single-paragraph format makes it less scannable than it could be.

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

Completeness4/5

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

For a 13-parameter tool with no output schema, the description covers the essential behavior: limits, auto-style fallback, .hwp limitation, verification results, and style effects. It leaves some minor parameter details to the schema, but overall it is complete enough for an agent to call it correctly.

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%, so the schema already documents all 13 parameters. The description adds some context about style effects and auto-styling behavior, but it does not add substantial meaning beyond what the schema already provides for each parameter.

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?

The description states a specific verb and resource: it converts markdown into an unadorned HWPX document. It explicitly distinguishes itself from on_write_gov, which creates government-style documents, so an agent can tell the two apart without opening either 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?

It gives explicit routing guidance: use on_write_gov for official government-style documents, and use this tool for plain HWPX. It also explains when the auto-style fallback kicks in and how to opt out with plain: true.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.