Skip to main content
Glama
gmlcjf0326

claude-code-hwp-mcp

by gmlcjf0326

hwp_xml_edit_table_cell

Find and replace text in a specific cell of a table within an HWPX document, preserving character formatting and processing XML directly without HWP program.

Instructions

HWPX 파일의 특정 표 셀(row, col)에서 텍스트를 직접 찾아 바꿉니다. (v0.7.0 신규) 한글 프로그램 없이 XML 경로(tc → subList → p → run → t)로 처리. linesegarray 셀 내부만 자동 삭제. charPrIDRef(서식 ID)는 보존. .hwp는 미지원 (hwp_fill_table_cells 사용).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colYes0-based 열 인덱스
rowYes0-based 행 인덱스
findYes찾을 텍스트
replaceYes바꿀 텍스트
file_pathYes수정할 HWPX 파일 경로 (.hwpx만 지원)
occurrenceNo치환 횟수 (0=전체, 1+=N번째). 기본 0
output_pathNo저장 경로 (생략 시 원본 덮어쓰기)
table_indexYes0-based 평탄화 표 인덱스 (중첩 표는 v0.7.2.1)
Behavior4/5

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

No annotations, so description carries full burden. Discloses XML path, auto-deletion of linesegarray, preservation of format ID, and .hwp unsupported. Adds value beyond schema.

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?

Three sentences, front-loaded with main action, version, alternative, and technical details. No redundant information.

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?

No output schema or annotations, but description covers key behaviors, limitations, and alternatives. Adequate for an 8-parameter tool with 6 required.

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 parameter descriptions. Description adds context about XML path and operation nature, but does not significantly extend parameter meanings. Baseline 3 is appropriate.

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?

Description clearly states the tool finds and replaces text in a specific table cell (row, col) of HWPX files. It distinguishes from sibling hwp_fill_table_cells for .hwp files.

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?

Explicitly mentions .hwpx only, alternative for .hwp (hwp_fill_table_cells), and internal details (linesegarray deletion, charPrIDRef preservation). Provides clear context for when to use.

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