Skip to main content
Glama
mjyoo2
by mjyoo2

hwp_doc_info_param_action

Execute HWP actions by configuring document info parameter sets to modify or retrieve metadata, find/replace settings, DRM, and more in HWP documents.

Instructions

Execute HWP action with document info HParameterSet.

Supported param_set_name values and their key properties:

  • HDocData: DataName, DataType, DataValue, Persistent (bool)

  • HDocDRM: DRMType, Authority, License, Expiration, AllowPrint (bool), AllowCopy (bool), AllowEdit (bool)

  • HDocFilters: FilterName, FilterIndex, Description, Extensions

  • HDocFindInfo: FindString, ReplaceString, MatchCase (bool), WholeWord (bool), UseRegex (bool), Direction (0=forward, 1=backward), Scope (0=all, 1=selection)

  • HDocumentFilterDialog: FilterType, ShowPreview (bool), InitialDir

  • HDocumentInfo: PageCount, CharCount, WordCount, LineCount, ParaCount, TableCount, ImageCount, ModifiedDate

  • HSummaryInfo: Title, Subject, Author, Keywords, Comments, Category, Manager, Company, Version

  • HVersionInfo: Version, Description, Author, Date, AutoSave (bool)

  • HAppState: ViewMode (0=edit, 1=read), ZoomLevel, ShowRuler (bool), ShowGrid (bool), ShowParaMark (bool), ShowFieldCode (bool)

Args: doc_id: Document ID from open_document action_name: HWP action to execute param_set_name: Must be one of the doc info param sets listed above 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?

With no annotations, the description carries the full burden of disclosing behavior, but it only says 'Execute HWP action' and 'Properties to set.' It does not state whether the operation mutates the document, requires permissions, is reversible, or what the action invocation actually does with the parameter set.

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 longer than average, but the parameter-set list is structured and earns its place because the schema provides no enums or descriptions. The core operation is front-loaded and the Args section clearly maps to schema fields.

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 tool with nine parameter-set variants and no schema descriptions, the list of supported sets and properties is valuable and mostly adequate. It remains incomplete because it does not explain how action_name should be chosen, whether params are required for setting vs reading, or provide any example call, and the output schema only mitigates the return-value gap.

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 0%, and the description compensates by explaining doc_id, action_name, param_set_name, and params, plus the valid properties for each supported parameter set. It falls short of a 5 because valid action_name values and the exact mapping between actions and parameter sets are not specified.

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 names a concrete verb and resource: it executes an HWP action using a document-info HParameterSet, and it enumerates the supported doc-info parameter sets. This clearly distinguishes its domain from sibling param-action tools, though 'HWP action' remains generic without examples of valid action names.

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 'Must be one of the doc info param sets listed above' constraint and supported-parameter-set list imply when this tool is appropriate. However, it does not explicitly say when to prefer this over run_hwp_action, get_document_info, or the sibling hwp_*_param_action tools.

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