Skip to main content
Glama
gmlcjf0326

claude-code-hwp-mcp

by gmlcjf0326

hwp_verify_layout

Convert HWP document pages to PNG images to visually verify layout elements like table structure, cell merging, column widths, and alignment. Use after generating official documents.

Instructions

현재 문서를 PNG 이미지로 변환하여 경로를 반환합니다. Claude가 Read 도구로 이미지를 읽어 표 구조, 셀 병합, 열 너비, 정렬 등을 시각적으로 검증합니다. 공문서 생성 후 결과물 확인에 사용하세요. PyMuPDF 필요(pip install PyMuPDF).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesNo확인할 페이지 (예: "1", "5-7". 생략 시 전체)
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It states the conversion to PNG and path return but does not mention whether the operation is read-only, if the image is saved permanently, or any side effects. The PyMuPDF requirement is useful but insufficient for a full behavioral profile.

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 concise, front-loaded with the core action, and every sentence provides value: conversion purpose, visual verification benefit, usage context, and dependency. No wasted words.

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 simple parameter (one optional field) and no output schema, the description covers the main workflow (conversion, path, visual check). However, it omits details about the path (e.g., temporary or permanent), error conditions, and any prerequisites beyond PyMuPDF.

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 schema has 100% description coverage for the single 'pages' parameter, with examples and default behavior. The tool description adds no further param information, so a baseline score of 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 the tool converts the current document to a PNG image and returns its path, explicitly for visual verification of layout elements like table structure and cell merging. This distinguishes it from sibling tools like hwp_export_pdf (PDF export) and hwp_image_extract (extracting existing images).

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 gives a specific use case: 'Use for checking output after generating official documents.' It also notes the PyMuPDF dependency. However, it does not mention when not to use this tool or compare it to alternative verification approaches (e.g., hwp_verify_5stage).

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