Skip to main content
Glama
LuxAlgo

LuxAlgo Library MCP

Official
by LuxAlgo

Update a journal note

journal_update_note
Idempotent

Replace a day note's text and/or move it to another date by note ID, returning the updated note. To append, read the current text and send the full new version.

Instructions

Replace a day note's text and/or move it to another day, by note id (from journal_get_day or journal_search_notes). The body is replaced whole — to append, read the current text first and send the full new version. Trade notes are edited with journal_update_trade, not here. Returns the updated note. Requires signing in with a LuxAlgo account (OAuth).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoThe full new text.
dateNoMove the note to this day, YYYY-MM-DD in the journal timezone.
noteIdYesThe note's `id`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare non-read-only and idempotent behavior, but the description adds genuinely non-derivable context: the body is replaced whole (an easy-to-miss destructive semantic), OAuth sign-in with a LuxAlgo account is required, and the updated note is returned. It stops short of rate limits or error handling, but the key mutation caveat is disclosed.

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 sentences with the replacement-destroys-text warning front-loaded and no filler. Each sentence carries distinct, load-bearing information (targeting, replacement semantics, sibling exclusion, auth).

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 three-parameter mutation tool with no output schema, the description covers targeting, replacement semantics, the sibling alternative, the auth prerequisite, and what is returned. Nothing an agent needs 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 description coverage is 100%, so noteId, body, and date are already documented, including that body is the full new text and date moves the note in the journal timezone. The description reinforces but does not extend this beyond the schema, so the baseline 3 applies.

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 (replace/move) and resource (day note) plus the identifier needed to target it. It also explicitly distinguishes itself from journal_update_trade and implicitly from journal_write_note, so an agent can route correctly without opening sibling schemas.

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

Usage Guidelines5/5

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

Gives the provenance of noteId (journal_get_day or journal_search_notes), names the excluded case (trade notes go to journal_update_trade), and instructs append users to read the current text first. When-to-use, when-not, and the alternative are all covered.

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