Skip to main content
Glama
mjyoo2
by mjyoo2

apply_table_template

Apply a table template to the current table in an HWP document, controlling format, target, and creation mode.

Instructions

Apply a template to the current table.

Args: doc_id: Document ID from open_document filename: Template file path format: Template format apply_target: Bitmask of what to apply create_mode: Creation mode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
formatNo
filenameNo
create_modeNo
apply_targetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It states 'Apply' implying a mutation, but does not disclose whether the operation modifies the existing table in place, overwrites content, or what side effects apply_target/create_mode produce. The brief arg list adds little behavioral 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 compact and well-structured: a single front-loaded purpose sentence followed by a five-line args list. No filler or redundancy, though the args list is minimal and arguably repeats schema parameter names.

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?

For a tool with five parameters and zero annotation coverage, the description is too thin. It leaves unclear what template formats are accepted, what apply_target bitmask values mean, what create_mode options exist, and what state the table must be in. Even with an output schema, an agent lacks enough information to invoke this tool confidently.

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. The Args section provides one-line glosses for all five parameters. Some add useful meaning ('Document ID from open_document', 'Template file path', 'Bitmask of what to apply'), while others are near-tautological ('Template format', 'Creation mode'). Partial compensation only.

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 opens with 'Apply a template to the current table' — a specific verb and resource. It is distinct from siblings because no other sibling tool mentions templates or applying them to tables. It doesn't elaborate on what the template does, but the core action is unmistakable.

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?

There is no guidance on when to use this tool versus alternatives, no prerequisite conditions, and no mention of exclusions. The only contextual hint is 'current table' and doc_id being 'from open_document', but these are not framed as usage guidance.

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

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