Skip to main content
Glama
Obsidian MCP Server
by Kynlos

export_note_plaintext

Exports an Obsidian note as plain text by stripping Markdown formatting, so you can reuse clean note content outside the vault.

Instructions

Export note as plain text (strips markdown formatting)

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_plaintext"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesThe filename to export
output_pathNoOptional output path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful behavioral trait: markdown formatting is stripped, so the export is lossy. It says nothing about whether existing files are overwritten, what output_path defaults to, or what is returned on success or failure.

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 short sentence with the format and the transformation front-loaded; no filler. It is close to the minimum size, and the parenthetical is the highest-value part of it.

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 file-writing export tool with no annotations and no output schema, the definition covers format and transformation but omits output location defaults, overwrite behavior, and how the target note is identified. Adequate to select the tool, thin for invoking it confidently.

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 both parameters are already documented in structured form, which establishes the baseline of 3. The description adds no meaning beyond the schema — notably it never clarifies whether "filename" identifies the source note or the destination file, which is the main ambiguity here.

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 note") plus the concrete output format ("plain text"), which distinguishes it from the sibling exporters that produce HTML, Markdown, or PDF. It does not explicitly name those alternatives, but the format-specific phrasing is enough to route an agent.

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: an agent can infer this is the choice when plain text is wanted, because the sibling set offers other formats. There is no explicit when-to-use, when-not-to-use, or statement about what happens to the source note.

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