Skip to main content
Glama
mjyoo2
by mjyoo2

run_hwp_action

Execute any HWP action on a specific document by providing the action name and optional parameters. Use this to trigger advanced or custom operations beyond standard tools.

Instructions

Execute an arbitrary HWP action (escape hatch for power users).

Args: doc_id: Document ID from open_document action_name: HWP action name (e.g., "SelectAll", "MoveDocBegin") params: Optional parameter dict for HAction.Execute param_set_name: Name of the HParameterSet to use

Returns: Action execution result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
paramsNo
action_nameYes
param_set_nameNo

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 full responsibility for behavioral disclosure. It only says 'Execute' without any warning about potential destructive side effects, permission requirements, or failure modes. An escape hatch that can run arbitrary actions is inherently risky, yet nothing is disclosed about possible consequences, error handling, or the need for caution. This is a significant gap.

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 short, front-loaded with the purpose, and organized as a simple list of arguments and a return line. It avoids verbosity. The 'Returns: Action execution result' line is slightly redundant given an output schema exists, but it's not harmful. Overall, it's efficient without padding.

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 generic escape hatch tool, the description is incomplete. It does not explain when to choose this over the many specific sibling tools, nor does it mention prerequisites (e.g., a document must be open), potential risks, or what happens if the action fails. While the output schema covers return values, the usage context and safety considerations are absent, leaving an agent without the information needed to responsibly invoke such a powerful operation. This is a significant omission.

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 0% coverage (no descriptions on parameters), so the description must compensate. It lists each parameter with brief explanations: doc_id comes from open_document, action_name has examples ('SelectAll', 'MoveDocBegin'), params is an optional dict, and param_set_name is the HParameterSet name. This adds some meaning beyond raw names but lacks depth—no detail on how to construct param_set_name or the structure of params. It's adequate for a power user but not thorough.

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's purpose: 'Execute an arbitrary HWP action (escape hatch for power users)'. It specifies the verb (execute) and the resource (HWP action), and explicitly positions it as a generic fallback, distinguishing it from the many specific sibling tools. This is unambiguous and differentiation is achieved through the 'escape hatch' wording.

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 implies usage through 'escape hatch for power users'—it suggests use only when specific tools don't cover the action—but never explicitly states when to use this tool versus alternatives, nor lists exclusions. No mention of specific sibling tools or conditions under which selecting this tool is appropriate, leaving the agent to infer the intended use.

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