Skip to main content
Glama
triliumnext-mcp

triliumnext-mcp

by perfectra1n

Get periodic or inbox note

get_special_note
Idempotent

Fetch or create a day, week, month, year, inbox, or week-start journal note and return its metadata; use get_note to read the note body.

Instructions

Get (creating if missing) a day/week/month/year journal note, the inbox note, or the first day of a week. Returns the note metadata; read its body with get_note.

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": {
      "kind": "<kind>"
    },
    "name": "get_special_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoPeriod to fetch: YYYY-MM-DD for day/inbox/week_first_day, YYYY-Www (ISO week) for week, YYYY-MM for month, YYYY for year. Defaults to the current period in the MCP server's timezone.
kindYes"day"/"week"/"month"/"year": that journal note, created if missing. "inbox": the quick-capture inbox (a fixed note or the day note, per Trilium settings). "week_first_day": the day note for the first day of the week containing date (works without week notes enabled; needs a recent Trilium).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • changedInput schema / properties / date / description
      Previous value: -"Which period to fetch; format depends on kind — day/inbox/week_first_day: YYYY-MM-DD, week: YYYY-Www (ISO week, e.g. 2026-W03), month: YYYY-MM, year: YYYY. Defaults to the current day/week/month/year."New value: +"Period to fetch: YYYY-MM-DD for day/inbox/week_first_day, YYYY-Www (ISO week) for week, YYYY-MM for month, YYYY for year. Defaults to the current period in the MCP server's timezone."
    • changedInput schema / properties / kind / description
      Previous value: -"\"day\" — the daily journal note. \"week\"/\"month\"/\"year\" — the corresponding periodic journal note (for weekly/monthly/yearly reviews). All are created if missing. \"inbox\" — the quick-capture inbox note (may be a fixed note or the daily note depending on Trilium configuration). \"week_first_day\" — the DAY note for the first day of the week containing date (honours the configured first weekday); unlike \"week\" it works without week notes being enabled. Needs a recent Trilium."New value: +"\"day\"/\"week\"/\"month\"/\"year\": that journal note, created if missing. \"inbox\": the quick-capture inbox (a fixed note or the day note, per Trilium settings). \"week_first_day\": the day note for the first day of the week containing date (works without week notes enabled; needs a recent Trilium)."
  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?

The 'creating if missing' clause explains why readOnlyHint is false even though the verb is 'Get' — exactly the context annotations alone cannot convey. It also discloses that only metadata is returned. Missing are details on what gets created (template, title, location) and any timezone caveat beyond the schema note.

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 tight sentences: the scope and creation behavior come first, the follow-up tool routing second. No filler, nothing redundant with the title.

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 2-parameter, non-destructive read-or-create tool with no output schema, the description covers what is fetched, the create-if-missing side effect, and what is returned (metadata, not body) plus where to get the body. An agent has everything needed to invoke it correctly.

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% and the enum/date formats are fully documented there, so the description adds little parameter-level meaning. It restates the list of kinds already enumerated in the schema without adding format or edge-case guidance.

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 (Get/creating if missing) and a specific resource set (day/week/month/year journal note, inbox note, week_first_day), and distinguishes itself from the sibling get_note by pointing to it for body content. An agent can tell what this returns 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 Guidelines4/5

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

Explicitly routes body-reading to get_note, which is the main ambiguity an agent would face with this family of tools. It does not state when the creation side effect is undesirable or when to prefer search_notes/get_note instead, 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.