Skip to main content
Glama

export_note

Read-onlyIdempotent

Export an Obsidian note as self-contained Markdown or HTML with embeds inlined and wikilinks converted, optionally saving the result to a file outside the vault.

Instructions

Export a note as self-contained Markdown (embeds inlined, wikilinks turned into plain text or Markdown links) or HTML. Optionally write it to a file outside the vault.

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": "export_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
linksNoHow to render [[links]] (default text)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
formatNo
output_pathNoAbsolute path to save to (outside the vault)
inline_embedsNoDefault true
strip_frontmatterNoDefault true

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 cover the safety profile (read-only, idempotent, non-destructive), so the description's main added value is behavioral: it discloses that embeds get inlined, links are rewritten, and an optional file can be written outside the vault. The last point is a filesystem side effect that sits in mild tension with readOnlyHint, though it is clearly scoped as optional and outside the vault. It still doesn't say whether content is returned when output_path is omitted, or what happens if the target file already exists.

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?

Two sentences, zero filler, with the primary output mode front-loaded and the optional side effect trailing. Every clause carries information the agent can act on.

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?

For a 7-parameter tool with no output schema, the description covers the transformation semantics well but leaves the return contract ambiguous: it never says that the exported document is returned in the response when output_path is absent, which is the main decision an agent must make. A note on overwrite behavior or vault resolution would also help.

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 86%, so the baseline is 3. The description goes slightly beyond the schema by explaining the effect of the links enum values ("plain text or Markdown links") and confirming that inlining embeds is part of the export, which gives the inline_embeds and links parameters concrete meaning. Defaults and the absolute-path constraint remain the schema's job.

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?

States a specific verb and resource ("Export a note") plus the output formats and transformations (embeds inlined, wikilinks flattened). That is far more concrete than a tautology. It does not, however, distinguish itself from the sibling note_to_html, which plausibly overlaps on the HTML path.

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?

The word "Export" plus "self-contained" implies the when (getting a portable, standalone copy), but nothing is explicit. There is no statement of when to prefer this over read_note or note_to_html, and no mention of prerequisites such as the vault needing to be reachable.

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