Skip to main content
Glama

Create Markdown document

create_markdown_file
Read-onlyIdempotent

Makes one standalone Markdown (.md) file with YAML front matter. Use when the user wants notes, documentation or an article as a file. Needs content; title, frontmatter and filename are optional. Returns the full file text with a suggested file name, word count, line count and size in bytes. Nothing is stored. Use create_obsidian_note instead when the user wants the note opened in Obsidian.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoOptional document title (included in YAML frontmatter).
contentYesMarkdown document text (at most 100,000 characters), such as "## What went well\n- Shipped on time".
filenameNoOptional .md filename (defaults to sanitized title or document.md).
frontmatterNoOptional extra YAML front matter as key-value pairs. Values can be text, numbers, true or false, or lists, such as {"status": "draft", "version": 1}.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bytesYesFile size in UTF-8 bytes.
notesYesShort notes to pass on to the user.
statusYesAlways ok when the file was made. Bad input returns an error instead.
filenameYesSanitized filename for saving as a .md file.
line_countYesTotal line count of the document.
word_countYesTotal word count of the document.
markdown_textYesComplete formatted Markdown document with frontmatter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "content": "## What went well\n- Shipped on time"
      -  }
      -]
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "content": "## What went well\n- Shipped on time"
      +  }
      +]
  3. Changed4 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"Markdown document content (at most 100,000 characters)."New value: +"Markdown document text (at most 100,000 characters), such as \"## What went well\\n- Shipped on time\"."
    • changedInput schema / properties / frontmatter / description
      Previous value: -"Optional custom key-value metadata to include in YAML frontmatter."New value: +"Optional extra YAML front matter as key-value pairs. Values can be text, numbers, true or false, or lists, such as {\"status\": \"draft\", \"version\": 1}."
    • addedOutput schema / properties / notes / description
      Added value: +"Short notes to pass on to the user."
    • addedOutput schema / properties / status / description
      Added value: +"Always ok when the file was made. Bad input returns an error instead."
  4. Changed1 schema field changed
    • removedOutput schema / properties / note_from_openkrill
      Removed value: -{
      -  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      -  "type": "string"
      -}
  5. Changed1 schema field changed
    • addedOutput schema / properties / note_from_openkrill
      Added value: +{
      +  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      +  "type": "string"
      +}
  6. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.