Skip to main content
Glama

note_to_html

Read-onlyIdempotent

Render an Obsidian note's Markdown as HTML, converting wikilinks to plain text links for quick preview or pasting elsewhere.

Instructions

Render a note's Markdown to HTML (wikilinks become plain text links) — quick preview or for pasting elsewhere.

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": {
      "file": "<file>"
    },
    "name": "note_to_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-open-world behavior, so the safety profile is covered. The description adds the wikilink-to-plain-text transformation and hints the output is meant for pasting rather than file export, but never states whether HTML is returned as a string or written somewhere. With annotations carrying most of the load, this is a modest addition.

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?

One short sentence with the action front-loaded and a parenthetical clarification that earns its place. No redundant restatement of the title or annotations.

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?

For a two-parameter, read-only rendering tool with full schema coverage and no output schema, the definition covers purpose and transformation adequately. The only real gap is whether the HTML is returned inline versus written to a file, which the 'pasting elsewhere' phrase only weakly implies.

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 coverage is 100%, and the schema already explains the accepted forms of `file` (path, alias, wikilink) and the `vault` default resolution. The description adds no parameter-level meaning, so the baseline of 3 applies.

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 names a specific verb and transformation ('Render a note's Markdown to HTML') plus a concrete behavioral detail ('wikilinks become plain text links'). It does not explicitly name how it differs from a sibling like export_note, leaving the export-vs-render distinction implicit.

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?

Usage is only implied through the trailing phrase 'quick preview or for pasting elsewhere', which suggests lightweight, in-chat use. There is no explicit when-not guidance and no named alternative (e.g., export_note) for producing a file instead of a string.

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