Skip to main content
Glama

split_note

Split a note into separate notes by heading level, saving each section as its own file and replacing the original sections with links or embeds to keep structure intact.

Instructions

Split a note into separate notes, one per heading of the given level. Each piece becomes "/.md"; the original keeps links (or embeds) to them.

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

Input Schema

NameRequiredDescriptionDefault
fileYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
levelNoHeading level to split on (default 2)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoWhere new notes go (default: same folder as the note)
replace_withNoDefault links

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description does the real work: it discloses that the original note is retained and rewritten to hold links or embeds to the new pieces, and gives the resulting filename pattern. It stops short of stating reversibility or what happens when a note has no matching headings.

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 compact sentences, front-loaded with the operation and followed by the concrete effect on files. No filler, no restatement of the title.

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 five-parameter mutation tool with no output schema, the description covers what is created, where, and what happens to the source. It omits edge cases (no headings at the chosen level, nested headings, overwrite behavior on name collision), which are the only notable gaps.

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 100%, so the baseline is 3. The description goes beyond it by tying the folder parameter to the produced path '<folder>/<heading>.md' and by tying level to the per-heading split granularity, which is output semantics the schema does not state.

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 ('Split a note into separate notes') plus the exact mechanism ('one per heading of the given level'). No sibling in the catalog performs a split, so the operation is unambiguous.

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 usage is implied by the operation itself — you split a note when you want to break it into per-heading notes — but there is no explicit when-to-use framing, no when-not condition, and no mention of alternatives such as create_note or copy_file.

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