Skip to main content
Glama
mjyoo2
by mjyoo2

save_block

Save a selected block from an open HWP document to a file in formats like HWP, HWPX, HTML, or TEXT, enabling extraction of specific content.

Instructions

Save selected block to a file.

Args: doc_id: Document ID from open_document filename: Output file path format: File format ("HWP", "HWPX", "HTML", "TEXT", etc.) argument: Optional format-specific argument

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
formatNoHWP
argumentNo
filenameYes

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 must disclose behavior itself; it only states the save action and parameter meanings. It does not mention side effects such as overwriting existing files, file permissions/limitations, or what happens if there is no selected block, which is critical for a mutating operation.

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 definition is compact: one clear summary sentence followed by a concise argument list with no filler. Important details like format examples are included without bloating the text.

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 four-parameter tool with no annotations, the parameter explanations are solid and return values are covered by the output schema. However, the definition lacks guidance on choosing this tool among many sibling save/export tools and omits behavioral caveats such as overwrite behavior, so an agent is not fully oriented.

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?

The input schema has no property descriptions (0% coverage), and the description compensates by explaining all four parameters: doc_id provenance, filename as output path, format with concrete examples, and argument as optional/format-specific. This is essential semantic information the schema alone does not provide.

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 opening line 'Save selected block to a file' uses a specific verb and resource, clearly indicating the operation. It is understandable on its own, but it does not explicitly distinguish itself from sibling save/export tools such as save_document, save_document_as, or export_page_as_image.

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 use after open_document via 'doc_id: Document ID from open_document' and implies the tool targets a current selection ('selected block'). However, it gives no explicit when-to-use/when-not-to-use guidance or alternatives for saving whole documents or exporting pages/images.

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