Skip to main content
Glama
mjyoo2
by mjyoo2

hwp_misc_param_action

Execute HWP actions using any unsupported parameter set to handle diverse document operations like page setup, formatting, find/replace, and export, filling gaps left by specialized tools.

Instructions

Execute HWP action with miscellaneous HParameterSet.

This is the catch-all for all 67 remaining HParameterSets not covered by the specialized category tools. Key param_set_name values include:

Section & Page:

  • HSectionDef: PageWidth, PageHeight, TopMargin, BottomMargin, LeftMargin, RightMargin, HeaderMargin, FooterMargin, GutterType, Orientation

  • HSecDef: SectionType, TextDirection, PageStartNumber, HideHeader, HideFooter

  • HPageDef: Landscape (bool), GutterType, BindingMargin

  • HPageBorderFill: BorderType, FillColor, Position (0=paper, 1=body), OffsetLeft, OffsetRight, OffsetTop, OffsetBottom

  • HColumnDef: ColumnCount, ColumnType (0=normal, 1=balanced, 2=parallel), SameWidth (bool), ColumnWidths (list), ColumnGap, LineBetween (bool)

  • HPageNum: Position (0=none, 1=top, 2=bottom, 3=outside, 4=inside), FormatType, StartNumber, ShowOnFirstPage (bool), DashType

  • HHeaderFooter: Type (0=header, 1=footer), ApplyTo (0=both, 1=even, 2=odd), Text, ShowOnFirstPage (bool), ShowOnLastPage (bool)

  • HFootnoteShape: NumberFormat, StartNumber, Separator, Position

Character & Paragraph:

  • HCharShape: FaceName, FontSize, Bold (bool), Italic (bool), Underline, StrikeOut, TextColor, ShadeColor, CharSpacing, CharWidth, Offset, SuperScript

  • HParaShape: Alignment (0=justify, 1=left, 2=center, 3=right), LineSpacingType, LineSpacing, ParaSpaceBefore, ParaSpaceAfter, IndentLeft, IndentRight, IndentFirst, TabDef, BorderFill

  • HTabDef: TabType (0=left, 1=right, 2=center, 3=decimal), Position, Leader (0=none, 1=dot, 2=dash, 3=underline)

  • HBullet: BulletChar, BulletFont, BulletSize, Indent, Hanging

  • HNumbering: NumberType, StartNumber, Indent, Hanging, FormatString

Insert & Objects:

  • HInsertText: Text, CharShape, ParaShape

  • HInsertPicture: Path, Embedded (bool), Width, Height, SizeOption, WrapType, HorzAlign, VertAlign

  • HInsertOLE: CLSID, ProgID, Width, Height, DisplayAsIcon (bool), IconPath

  • HEquation: String (equation LaTeX), BaseSize, FontName, LineMode

  • HInsertMemo: Text, Author, Date, Visible (bool)

  • HInsertEndnote: Text, NumberFormat, CustomMark

Find & Replace:

  • HFindReplace: FindString, ReplaceString, MatchCase (bool), WholeWord (bool), UseRegex (bool), Direction, Scope, ReplaceAll (bool), MatchByte (bool)

  • HFindDlg: FindString, Direction, Scope, ShowUI (bool)

  • HReplaceDlg: FindString, ReplaceString, Direction, Scope, ShowUI (bool)

Print & Export:

  • HPrint: Copies, Collate (bool), PrintRange (0=all, 1=current, 2=pages), PageRange, PrinterName, Duplex (0=none, 1=long, 2=short), Landscape (bool)

  • HExportPDF: filename, PageRange, ImageQuality (0-100), Encrypt (bool), Permission, OwnerPassword, UserPassword

  • HWaterMark: Text, FontName, FontSize, FontColor, Angle, Opacity, Position (0=center, 1=custom), ImagePath

Misc:

  • HAction: ActionName, Params

  • HCtrlCode: CtrlID, Properties

  • HLinkTextBox: SourceBox, TargetBox, LinkType

  • HMasterPage: PageName, PageIndex, ApplyTo

  • HMultiColumn: ColumnCount, ColumnGap, SameWidth (bool), LineBetween

  • HPresentation: SlideWidth, SlideHeight, Transition, Duration

  • HRevision: RevisionType, Author, Date, Comment

  • HTextArt: Text, Shape, FontName, FontStyle, CharSpacing, LineSpacing

  • HViewProperties: ViewMode, ZoomType, ZoomLevel, ShowRuler, ShowGrid

Args: doc_id: Document ID from open_document action_name: HWP action to execute param_set_name: Any HParameterSet name not covered by other tools params: Properties to set on the param set

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
paramsNo
action_nameYes
param_set_nameYes

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 carries the full burden. It does not disclose whether the action modifies the document, what side effects may occur, permissions required, or any return behavior. The description is essentially a catalogue of param sets, not an explanation of the tool's runtime behavior or consequences.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very long (dozens of lines) but well-organized with categories and bullet-like lists. It is front-loaded with the purpose and then provides necessary reference data. However, it is not concise; it could be trimmed or linked to external docs for the exhaustive param set details.

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?

For a complex tool covering 67 param sets, the description covers many key sets and their properties, but it does not explain the action mechanism itself (how action_name and param_set_name interact), does not describe the output schema, and notes the list is not exhaustive ('key param_set_name values include'). This leaves gaps for an agent to use it correctly, especially regarding side effects and return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for descriptions, and the description adds substantial meaning: it defines doc_id as 'Document ID from open_document', action_name as 'HWP action to execute', param_set_name with a huge list of valid values and their properties, and params as 'Properties to set on the param set'. This far exceeds the bare schema fields and compensates for the lack of schema descriptions.

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 states a specific verb and resource: 'Execute HWP action with miscellaneous HParameterSet.' It explicitly identifies itself as the catch-all for all 67 sets not covered by specialized tools, distinguishing it from siblings like hwp_table_param_action and hwp_shape_param_action. This is clear and differentiates from the many sibling tools.

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

Usage Guidelines5/5

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

It explicitly states 'This is the catch-all for all 67 remaining HParameterSets not covered by the specialized category tools,' giving direct routing guidance. It also lists many param set examples, making concrete when this tool applies versus when to use a specialized category tool.

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