Skip to main content
Glama
gmlcjf0326

claude-code-hwp-mcp

by gmlcjf0326

hwp_refresh_fields

Adds dirty marks to auto-calculated fields in HWPX files, triggering recalculation of table of contents, page numbers, dates, and indexes upon file opening.

Instructions

HWPX 파일의 자동 계산 필드(목차, 페이지번호, 작성일, 인덱스 등)에 dirty="1" 마크를 추가하여 한글이 다음에 파일을 열 때 자동 재계산하도록 합니다. (v0.7.0 신규, composite tool) 처리 대상: PageNum, TotalPage, Date, Time, TOC, Index, CrossRef, FieldFormula. .hwp는 미지원.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes대상 HWPX 파일 경로 (.hwpx만)
field_typesNo처리할 필드 종류 (기본: ["all"])
output_pathNo저장 경로 (생략 시 원본 덮어쓰기)
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the core behavior (adding dirty='1' mark), lists affected field types, and notes it's a composite tool. Missing details on potential side effects or required permissions, but the main behavioral traits are covered.

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 two sentences, front-loaded with the main purpose, and includes key details (field types, version, file limitation). Every sentence adds value without redundancy.

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 tool with no output schema and no annotations, the description covers the core functionality, supported field types, and file constraint. It omits explicit mention of overwrite behavior when output_path is omitted (though schema covers it), but overall provides sufficient context for a simple mutation tool.

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 coverage is 100% with descriptions for all three parameters. The description adds context by listing field types in prose, but does not significantly elaborate beyond the schema. Baseline 3 is appropriate as the schema already documents the parameters adequately.

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 clearly states the tool adds dirty='1' mark to auto-calculation fields in HWPX files to force recalculation. It lists the specific field types (PageNum, TotalPage, etc.) and explicitly mentions '.hwp는 미지원' (no support for .hwp). This distinguishes it from siblings like hwp_get_fields or hwp_fill_fields.

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 description indicates when to use: to force recalculation of auto fields on next open, and that it only works for .hwpx files. However, it does not explicitly contrast with sibling tools or provide 'when not to use' guidance beyond the file type restriction.

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