Skip to main content
Glama

append_hwp_table_column

Add a new column to a specified table in an HWPX document by providing the file path, table index, and cell texts as a JSON array.

Instructions

Append a new column to the Nth table in an .hwpx. cells is a JSON string array of cell texts (one per row, top-to-bottom). Args: file_path, table_index, cells, output_path (optional).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
table_indexYes
cellsYes
output_pathNo
Behavior2/5

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

No annotations are provided, so the description must cover behavioral traits. It fails to disclose that omitting output_path likely overwrites the original file (destructive behavior). It also does not explain error handling when row counts mismatch or table index is invalid. Critical safety information is missing.

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, with two sentences that front-load the purpose. However, it could be better structured, e.g., using a bullet list for parameters. No unnecessary words, but room for slight improvement.

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?

Given the tool modifies files and has 4 parameters with no output schema, the description is incomplete. It does not mention return value, prerequisites (file must exist, table index valid), or side effects (overwrite vs new file). For a file-modifying operation, essential context is missing.

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 description coverage is 0%, so the description must compensate. Only the cells parameter gets additional context ('JSON string array of cell texts, one per row, top-to-bottom'). file_path, table_index, and output_path are merely listed without extra meaning, leaving significant ambiguity.

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 action: 'Append a new column to the Nth table in an .hwpx.' It specifies the file type and the cells parameter format, distinguishing it from siblings like delete_hwp_table_column (removal) and insert_hwp_table (adding whole table).

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?

No explicit when-to-use or alternatives are given. It implies use when adding a column to an existing table, but does not mention prerequisites (table must exist, valid index) nor exclude scenarios where other tools like append_hwp_table_row might be more appropriate.

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/treesoop/hwp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server