Skip to main content
Glama

On HWPX 만들기

채울 곳 찾기

on_fields
Read-only

[On HWPX 만들기] 서식(한글 .hwp·.hwpx)에서 채울 곳을 찾는다 — 누름틀(이름)·이름 붙은 칸, 표의 이름 칸(「성명」 → 오른쪽 빈칸·아래 빈칸·칸 안 다음 줄·「(서명 또는 인)」 앞), 「성명 (인)」 빈자리, 「소속: 」 쌍점 뒤, 「년 월 일」 날짜, 고르는 칸([ ]·□). 항목마다 key(on_fill 의 values·checks 에 그대로 쓴다 — 같은 이름은 「성명#2」)·target·where·지금 값.

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_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
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파일 이름(확장자로 형식을 가리고, 결과 파일 이름에 씀)
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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: the duplicate-name convention 「성명#2」 (which materially affects how the key must be reused in on_fill) and the exact fill-target semantics for table cells and signature lines. It does not say what happens for a non-form or unsupported document, which keeps it from a 5.

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 core action, then a dense but purposeful enumeration of recognized patterns and a closing sentence on the key contract. The parenthetical examples (「성명」 → 오른쪽 빈칸·아래 빈칸…) earn their place by showing what counts as a fill target, though the sentence is long enough that it becomes hard to scan.

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?

There is no output schema, and the description correctly compensates by naming the returned fields per item (key, target, where, current value). With annotations covering safety and the schema covering inputs, the only residual gap is error/edge behavior for documents with no fillable spots or unsupported formats.

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 three parameters (file_url, file_name, file_base64) are documented at length in the schema itself, so the baseline is 3. The description adds no parameter-level guidance — nothing about which input form is preferable for this tool or size limits — so it neither compensates nor detracts.

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 and resource (「서식에서 채울 곳을 찾는다」) and enumerates the exact pattern classes it recognizes — 누름틀, named table cells, signature blanks, colon-separated labels, date slots, checkboxes. It also discloses the returned fields (key·target·where·지금 값) and ties the key contract to the sibling on_fill, so an agent can tell this is the discovery step that feeds on_fill.

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?

The bracketed prefix 「[On HWPX 만들기]」 plus 「key(on_fill 의 values·checks 에 그대로 쓴다)」 clearly routes the agent: call this first to enumerate keys, then pass them to on_fill. Missing an explicit when-not (e.g. PDF/Word files) and no stated prerequisite that the file must already be uploaded, but the workflow context is unambiguous.

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.