Skip to main content
Glama
reinlainer

PostMD MCP Server

by reinlainer

postmd_create_document_from_file

Create a shareable PostMD web document directly from a Markdown file on the server host, avoiding the need to paste large content.

Instructions

Same as postmd_create_document, but reads the Markdown from filePath on the machine running this MCP server — use it for large files instead of pasting the body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoDefaults to the file name without .md.
groupIdNoFile the document in this group instead of the default group (needs an API key).
fileNameNoUpload filename. Defaults to the basename of filePath.
filePathYesPath to a .md file on the MCP server host, read as UTF-8. Prefer an absolute path.
passwordNoReaders must supply this password to see the content.
viewerStyleNoViewer theme: readable (default), github, minimal, report, pamphlet or dark. Unknown values fall back to readable.
shareEndDateNoyyyyMMdd. The document stops being served after this date. Omit for no end date.
Install Server

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds important context that the file is read from the machine running the MCP server and that this is intended for large files. However, it does not disclose side effects, authentication needs, or what the tool returns after creating the document.

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 one sentence with no filler. It front-loads the key behavioral distinction and use case, making it easy for an agent to quickly grasp when to invoke this tool.

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 provides the critical server-local file context and the large-file use case, which is helpful. However, it relies on the sibling tool for the actual meaning of 'same as postmd_create_document,' and with no output schema or annotations, it leaves return behavior and side effects unexplained.

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 input schema has 100% parameter coverage with detailed descriptions for all 7 parameters, so the schema already carries the semantic load. The description adds little beyond the motivation for using filePath instead of a pasted body, which does not significantly enhance parameter understanding.

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 identifies this as the file-based variant of postmd_create_document and specifies that it reads Markdown from filePath on the server machine. It distinguishes itself from the sibling tool by targeting large files instead of pasted bodies, though it does not fully describe the creation action on its own.

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 to use this tool 'for large files instead of pasting the body,' giving clear context for when it is preferred over the sibling postmd_create_document. It also implies the file must be present on the MCP server, but it does not explicitly state when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/reinlainer/postmd-mcp-server'

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