Skip to main content
Glama

On 문서

서식 채우기

on_fill

[On HWPX 만들기] 「이 서식(신청서·양식) 채워 줘」 요청이 이 도구다(채울 곳 이름은 on_fields 로 먼저) — 서식(한글 .hwp·.hwpx)에 값을 넣는다. values: { 이름: 값 } — 누름틀 이름·칸 이름(「성명」, 같은 이름 둘째는 「성명#2」, 앞부분만 같아도 됨)·「날짜」(2026-11-10·오늘). 값을 배열로 주면 머리 이름 아래 칸에 차례로(기록 대장). checks: 고를 칸 이름 목록([ ] → [√], □ → ■). 이미 값이 있는 칸은 overwrite=true 일 때만 바꾼다. 바꾼 곳 말고는 그대로(나머지 XML·zip 항목 바이트 그대로). 결과는 HWPX(이 서버는 .hwp 를 만들지 않음 — HWPX 를 한글에서 열어 .hwp 로 저장). 값은 500개·하나에 5,000자까지.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "on_fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNo이 서버는 .hwp 를 만들지 않음(hwp·both 여도 HWPX 만) — HWPX 를 한글에서 열어 .hwp 로 저장
checksNo고를 칸 이름(on_fields 의 check key)
valuesNo{ 이름: 값 } — 이름은 on_fields 의 key
file_urlNo또는 이 서버의 15분 자료 주소(…/drop/…) — 명령을 쓸 수 있으면 curl -s --data-binary @파일 -H "x-file-name: 파일이름" https://onmunseo.kr/api/drop 이 돌려주는 url(올리기는 하루 도구 몫에 세지 않음), 아니면 웹 https://onmunseo.kr/start 「자료 올리기」에서 받은 주소. 그 밖의 주소는 받지 않음. 올릴 때 「한 번 읽으면 지우기」를 고른 자료는 내용을 꺼내는 도구가 한 번 읽은 뒤 지워짐(그 주소는 다시 못 읽음 — on_detect·on_meta 는 지우지 않음, 고르지 않으면 15분 동안 거듭 읽힘)
file_nameNo파일 이름(확장자로 형식을 가리고, 결과 파일 이름에 씀)
overwriteNo
file_base64No문서 내용을 base64로(on_read·on_tables·on_chunks 는 한글·PDF·워드·엑셀·파워포인트, 고치기·PDF·쪽 그림은 한글 .hwp/.hwpx) — 큰 파일은 file_url 이 빠르다

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the safety profile (destructiveHint=false, idempotentHint=false), so the description's job is to add nuance, which it does: only overwrite=true mutates filled cells, untouched XML and zip entries stay byte-identical, and there are hard limits (500 values, 5,000 chars each). It would be stronger if it said what the tool does when a field name doesn't match.

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-loaded with the primary routing sentence and kept to one dense paragraph with no filler, but the em-dash-separated parentheticals pack several unrelated rules (naming, arrays, checks, byte preservation, limits) into a single block that takes effort to parse.

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 7-parameter mutation tool with a nested values object and no output schema, the description covers the mutation semantics, the return format (HWPX only), the size limits, and the field-naming conventions. File sourcing (file_url / file_base64 / file_name) and the as enum are left entirely to the schema, which is documented well enough to carry them.

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 86%, so the baseline is 3, and the description exceeds that by explaining what the schema can't: values keys are on_fields keys, duplicate names use the 「성명#2」 suffix, prefix matching works, a date keyword 「날짜」 exists, arrays fan out into rows under a header, and checks map the [ ] → [√] / □ → ■ conversion. It says nothing extra about as, file_url, file_base64, or file_name, but those are documented in the schema.

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?

Names a specific verb+resource (서식에 값을 넣는다) and anchors it to the user request pattern 「이 서식 채워 줘」. It also differentiates from the sibling on_fields by assigning that tool the prerequisite step of discovering field names, so an agent can route between them 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 Guidelines4/5

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

Clear about the triggering request, the prerequisite step (채울 곳 이름은 on_fields 로 먼저), the overwrite=false default for already-filled cells, and the constraint that this server only emits HWPX. No exclusion versus on_write for creating a document from scratch, which is the one gap.

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.