Skip to main content
Glama
triliumnext-mcp

triliumnext-mcp

by perfectra1n

Note change history

get_note_history
Read-only

Retrieve recent note-tree changes—creations, modifications, and deletions—and optionally filter by subtree using an ancestor note ID. Adjust the limit to return more entries when needed.

Instructions

Get recent changes across the note tree — creations, modifications, and deletions. Optionally filter by subtree via ancestorNoteId. Returns {changes, total, returned, truncated}; pass limit (default 100) to see more. Distinct from revisions: this is a change log across notes; revisions are content snapshots of a single note.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of changes to return, newest first (default 100, max 1000).
ancestorNoteIdNoLimit changes to a subtree identified by this note ID. Defaults to all notes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • addedInput schema / properties / ancestorNoteId / maxLength
      Added value: +128
    • addedInput schema / properties / ancestorNoteId / minLength
      Added value: +1
    • addedInput schema / properties / ancestorNoteId / pattern
      Added value: +"^[A-Za-z0-9_]+$"
  2. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real value on top: the return envelope {changes, total, returned, truncated}, newest-first ordering, and the fact that results can be truncated and paged via limit. It does not mention any retention window or how long history is kept, which is the main remaining behavioral unknown.

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?

Three tight sentences, front-loaded with purpose, then parameters, then sibling disambiguation. Every sentence carries information an agent needs to choose and call the tool correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter read tool with no output schema, the description covers purpose, filtering, pagination, return shape, and sibling distinction. Nothing an agent needs in order to invoke it correctly is missing.

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 both parameters are already documented in detail (default 100, max 1000, pattern/length for ancestorNoteId). The description mostly restates these, though 'pass limit (default 100) to see more' adds the paging intent that the schema alone does not convey. 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 plus the scope: 'Get recent changes across the note tree — creations, modifications, and deletions.' It explicitly separates itself from the closest sibling (revisions) by contrasting a cross-note change log with per-note content snapshots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context for the subtree use case ('Optionally filter by subtree via ancestorNoteId') and names the alternative that is often confused with it, explaining the distinction. It does not spell out exclusion conditions such as when to prefer get_note_tree or search_notes for change tracking, so it stops short of full when/when-not guidance.

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