Skip to main content
Glama

split_note

Split a note into separate files by heading level while preserving the original; content before the first matching heading is omitted.

Instructions

Split a note into multiple notes at a given heading level. Each section becomes its own file. The original note is preserved unchanged. Content before the first matching heading is not included in any split file.

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": {
      "path": "<path>"
    },
    "name": "split_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVault-relative path to the note to split.
heading_levelNoHeading level to split at (1–6). Defaults to 2.
destination_folderNoVault-relative folder for the new notes. Defaults to same folder as the source note.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and does substantial work: it discloses that the original is preserved unchanged (non-destructive), that each section becomes a separate file (multi-file fan-out), and that content before the first matching heading is silently dropped. That last caveat is real data-loss information an agent would otherwise only discover after the fact. Gaps remain around collision handling, resulting filenames, and whether an empty section produces a file.

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?

Four short sentences, each carrying distinct information, front-loaded with the core operation. No restatement of the name, no filler, and the destructive caveat is placed last where it reads as a warning rather than being buried.

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 multi-file-creating tool with no annotations and no output schema, the description covers the essential mechanics and the main data-loss edge case, but leaves the agent unsure of the return value (list of created paths?) and the naming or location conventions applied to the split files, which matters for any follow-up tool call.

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 description coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the field labels: it explains that heading_level defines split boundaries and that destination_folder receives one file per section, and it ties the pre-first-heading exclusion to the split semantics. It stops short of explaining how each new note is named or what happens when the source has no heading at the requested level.

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?

The description names a specific verb and resource ('Split a note into multiple notes') plus the controlling parameter ('at a given heading level'), and the operation is unlike any sibling in the catalog (write_note, append_to_note, patch_note, summarize_note). An agent can tell immediately what this tool does and that it produces new notes rather than editing one.

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 implied by the mechanics: an agent can infer this is for decomposing a long note by section structure. However, there is no explicit when-to-use vs when-not guidance, no statement of prerequisites, and no pointer to alternatives (e.g. write_note or suggest_note_structure) for restructuring without creating files.

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