Skip to main content
Glama
mjyoo2
by mjyoo2

manage_style

Create, delete, or apply named paragraph or character styles in HWP documents. Specify document ID and action to control style formatting.

Instructions

Create, delete, or apply a named style.

Args: doc_id: Document ID from open_document action: "create", "delete", or "apply" style_name: Name of the style style_type: 0 = paragraph style, 1 = character style (for create) based_on: Base style name (for create)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
doc_idYes
based_onNo
style_nameNo
style_typeNo

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 of behavioral disclosure. It names create/delete/apply and hints that delete is destructive, but it does not explain side effects, whether changes are reversible, whether apply modifies the current selection, or what happens on failure.

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

Conciseness5/5

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

The description is front-loaded with a one-sentence summary and followed by a tight parameter list. Every line adds information; there is no filler or repetition of the schema names beyond what is useful for mapping.

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?

The description covers the core purpose and parameter semantics, and an output schema exists. However, with no annotations it still lacks usage-vs-alternative guidance and behavioral caveats, leaving meaningful gaps for an agent deciding whether and how to call it.

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 description coverage is 0%, but the description compensates well by defining action values, style_type encoding, doc_id provenance, and the role of based_on. It does not clarify conditional requiredness for style_name across actions, but the added meaning is substantial.

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 clearly states the tool creates, deletes, or applies a named style, which is specific enough about the resource and action. It does not explicitly differentiate from related siblings like import_style, export_style, or set_paragraph_style, so it falls just short of full clarity.

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?

The description gives no guidance on when to use this tool versus alternatives such as import_style, export_style, or set_paragraph_style. There are no exclusions, no alternative tool names, and no context about which workflow should lead here.

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