Skip to main content
Glama
gmlcjf0326

claude-code-hwp-mcp

by gmlcjf0326

hwp_extend_section

Append content to a specific section in an HWP document by title or index, preserving original formatting.

Instructions

기존 양식의 특정 섹션 끝에 콘텐츠를 추가합니다. (v0.7.1 신규) 양식 서식 보존하며 LLM 생성 콘텐츠를 삽입. section_identifier로 섹션 위치를 제목 텍스트로 검색.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes추가할 콘텐츠 (단락 단위, \n으로 구분)
preserve_formatNo양식 서식 보존 (기본 true)
section_identifierYes섹션 식별자
Behavior2/5

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

With no annotations, the description carries full burden. It discloses that content is appended to an existing section while preserving formatting via the preserve_format parameter, and that section location is found by title text. However, it does not mention side effects (e.g., whether the document is saved automatically), error conditions (e.g., section not found), or behavioral guarantees like atomicity. The version note adds minimal context.

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 (two sentences plus a version note) and front-loaded with the main purpose. It avoids redundancy but could be slightly expanded for clarity. The structure is efficient, with no wasted words.

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

Completeness2/5

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

Despite the description covering core behavior, it lacks completeness. There is no output schema, and the description does not mention return values (e.g., success status, modified section info). Error handling and prerequisites (e.g., document must be open) are omitted. For a tool that modifies a document, more context is expected.

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 100% with descriptions for all three parameters. The description adds value by clarifying that section_identifier searches by title text, and that content is paragraph-unit separated by newlines. It also implies the purpose of preserve_format. This goes beyond the basic schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool adds content at the end of a specific section in an existing form, preserving formatting. It uses a section identifier to locate the section by title text. This distinguishes it from sibling tools like hwp_insert_text or hwp_insert_body_after_heading, though it could be more explicit about what constitutes a 'section' in HWP.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool vs. alternatives. The description mentions 'LLM-generated content' but does not clarify scenarios where other insertion tools (e.g., hwp_insert_text, hwp_insert_body_after_heading) would be more appropriate. No exclusionary criteria are given.

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