Skip to main content
Glama

create_from_markdown

Convert markdown content into a .docx file with full GitHub-Flavored Markdown support, including tables and task lists. Automatically opens the document for editing after creation.

Instructions

Create a new .docx document from markdown content.

Supports full GitHub-Flavored Markdown: headings, bold/italic/strikethrough, links, images, bullet/numbered/nested lists, code blocks, blockquotes, tables, footnotes, and task lists. Smart typography (curly quotes, em/en dashes, ellipses) is applied automatically.

Provide exactly one of md_path or markdown. The document is automatically opened for editing after creation.

Args: output_path: Path for the new .docx file. md_path: Path to a .md file. Mutually exclusive with markdown. markdown: Raw markdown text. Mutually exclusive with md_path. template_path: Optional path to a .dotx template file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_pathYes
md_pathNo
markdownNo
template_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It mentions that smart typography is applied automatically and the document is opened for editing, which are helpful behaviors. However, it does not disclose whether existing files are overwritten, what happens on invalid markdown, or any permission requirements. This leaves gaps in transparency.

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 well-structured: purpose sentence, feature list, and parameter definitions. The feature list of GFM support is slightly verbose but relevant. It is front-loaded with the core action and efficiently uses bullet points for features.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 4 parameters, no annotations, and an output schema (which likely documents return values), the description covers the creation process, supported features, auto-open behavior, and parameter relationships. It is mostly complete, though it omits error handling or prerequisites like file existence.

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%, so the description must compensate. It defines all four parameters: output_path (required), md_path and markdown (mutually exclusive), and template_path (optional). This adds significant meaning beyond the schema's type-only information, though it could detail path formats or constraints.

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 creates a new .docx from markdown content. It distinguishes itself from siblings like create_document (which likely creates an empty document) and insert_text (which adds to existing). The verb and resource are specific and action-oriented.

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

Usage Guidelines4/5

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

The description explicitly says 'Provide exactly one of md_path or markdown', which is a clear usage guideline. It also notes automatic opening. However, it does not contrast with similar tools (e.g., when to use create_document vs this), but the context is clear enough for an agent to infer usage.

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/SecurityRonin/docx-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server