Skip to main content
Glama
Obsidian MCP Server
by Kynlos

export_note_html

Exports an Obsidian note as an HTML file, with an optional output path, so you can share or publish note content outside the vault.

Instructions

Export a note as HTML

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filename": "<filename>"
    },
    "name": "export_note_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesThe filename of the note to export
output_pathNoOptional output path for HTML file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and discloses almost nothing. It does not say whether the file is written to disk or returned, what happens when output_path is omitted (default location?), whether an existing file is overwritten, or whether errors occur if the note or target directory is missing.

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?

A single front-loaded sentence with zero filler and no redundancy. It is efficient, though its brevity verges on under-specification rather than being a model of structure.

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

Completeness2/5

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

The tool is simple (2 params, no output schema, no annotations), so the description needn't be long, but it should still reveal the default output behavior and the write semantics. For a file-producing side-effect operation with no annotation coverage, the definition leaves too much for the agent to guess.

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?

Schema description coverage is 100%, so filename and output_path are already documented in the schema, making 3 the baseline. The description adds no meaning beyond the schema, such as whether filename accepts a path or a bare name, or what the default output location is.

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?

"Export a note as HTML" states a specific verb (export) and resource (note) plus the output format, so the agent knows exactly what it produces. However, it does nothing to distinguish this from siblings such as export_note_markdown, export_note_pdf, or export_note_plaintext beyond the format word in the name.

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?

There is no when-to-use guidance, no mention of alternatives, and no prerequisites. The agent must infer that this is the right choice only when HTML output is desired, which is left implicit rather than stated.

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

Deploy Server

Other Tools