Skip to main content
Glama

Export notes

export_notes

Export a folder of notes as JSON, Markdown, or CSV and return the export inline or write it to a path outside the vault.

Instructions

Export a folder of notes as JSON, Markdown, or CSV, read from the filesystem. Returns the export inline, or writes it to output_path outside the vault.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderNoFolder to export. Omit for the whole vault.
formatNoExport format. Default json.
confirmNoRequired when output_path already exists.
output_pathNoWrite the export to this filesystem path instead of returning it inline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 safety burden. It usefully discloses that source content is read from the filesystem and that output_path writes outside the vault, but it does not state whether writes overwrite existing files destructively or what permissions are needed. The overwrite/confirm behavior is only documented in the schema, not the description.

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, front-loaded with the action and formats, then the output behavior. No wasted words; every clause carries information.

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 four-parameter tool with no output schema, the description covers the essential call-shaping facts: folder scope, format choices, and inline vs. file output. It stops short of describing error conditions or return structure, but format-defined exports need less of that than a custom-return tool would.

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%, so all four parameters are already documented. The description adds marginal meaning by noting that output_path is 'outside the vault', but otherwise restates the schema's folder/format/output_path semantics. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 folder of notes'), names the exact output formats, and clarifies the two output modes (inline vs. output_path). An agent can distinguish this from read_note or list_notes without opening the schema.

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 description gives scoping guidance ('Omit for the whole vault') and output-mode context, but never states when to choose export_notes over siblings like read_note or search_notes, nor any exclusions. Usage is implied rather than explicitly routed.

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