Skip to main content
Glama
gmlcjf0326

claude-code-hwp-mcp

by gmlcjf0326

hwp_xml_edit_nested_cell

Edit text in nested table cells of HWPX documents by specifying a recursive path array to target deeply embedded cells, preserving character formatting.

Instructions

HWPX 중첩 표(표 안의 표)의 특정 셀 텍스트를 재귀 경로로 편집합니다. (v0.7.2.1 신규) path 배열로 중첩 깊이 표현 — 예: [{tableIndex:0,row:0,col:0},{tableIndex:0,row:1,col:1}]은 "0번 표 (0,0) 셀 안의 0번 nested 표 (1,1) 셀". v0.7.0 hwp_xml_edit_table_cell의 다단계 확장. linesegarray 셀 내부만 자동 삭제, charPrIDRef 보존.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
findYes찾을 텍스트
pathYes중첩 경로 배열 (length=1: 단일 셀, length≥2: 재귀)
replaceYes바꿀 텍스트
file_pathYes수정할 HWPX 파일 경로
output_pathNo저장 경로 (생략 시 원본 덮어쓰기)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that only the insides of linesegarray cells are automatically deleted and that charPrIDRef is preserved. However, it does not mention file overwriting behavior, error handling, or what happens if the path is invalid. More comprehensive behavioral context is needed.

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 concise, consisting of about four sentences with no redundant information. It front-loads the primary purpose and includes an example. Minor improvements in structural formatting (e.g., bullet points) could enhance readability, but overall it is efficient.

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

Completeness3/5

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

Given the complexity of handling nested tables and the absence of an output schema, the description covers the core mechanism (path array) and relationship to siblings. However, it lacks information on return values, error conditions, and how it integrates with other table manipulation tools. For a tool of this complexity, more completeness is warranted.

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?

The input schema has 100% description coverage for all parameters, so the schema already documents each parameter. The description adds a concrete example of the path array, which clarifies usage, but does not significantly extend beyond the schema. 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?

The description clearly states it edits text in nested HWPX table cells using a recursive path. It includes an example path and explicitly distinguishes itself from the single-level sibling `hwp_xml_edit_table_cell`, making the purpose and scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description mentions it is a multi-level extension of `hwp_xml_edit_table_cell`, implying that tool is for single-level edits. However, it does not provide explicit when-to-use vs when-not-to-use guidance or list alternative tools for different scenarios. More structured guidelines would improve agent decision-making.

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