Skip to main content
Glama

Change note

update_note
Destructive

Change a note when the person asks. Use append to add lines after what is there, which leaves their writing untouched. Use lines only to rewrite or to tick a checklist item: it replaces the whole note, so pass every line it should keep, word for word where nothing was asked to change. at moves the note to another time or day. Confirm the change only after success.

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": {
      "id": "<id>"
    },
    "name": "update_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoThe moment the note is about, with its UTC offset, such as right after the workout it describes
idYesThe id of the note to change, as list_notes or create_note returned it
linesNoReplaces the whole note: pass every line it should keep, in the person's own words wherever you are not asked to change them
appendNoLines to add after the note's last line, leaving the rest as it is
timezoneNoThe IANA timezone the note is written in, such as America/New_York

Output Schema

NameRequiredDescriptionDefault
atYes
idYes
dayYes
timeYes
linesYes
sourceYes
timezoneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, and the description earns credit for explaining exactly what gets destroyed: lines overwrites the entire note, so omitted lines are lost unless echoed word for word. The closing instruction to confirm only after success adds a verification cue that annotations cannot convey. It does not discuss what happens if both append and lines are supplied, nor any ordering or rate constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in six words, then each subsequent sentence is tied to one parameter branch, which makes it easy to scan and act on. The final "Confirm the change only after success" is slightly meta and could read as workflow advice, but it is short and useful. No filler sentences.

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 destructive mutation with an output schema, the description covers the mode semantics and the destructive consequence of lines, which is the critical thing an agent needs. The one notable omission is whether append and lines are mutually exclusive when both are passed, and how timezone interacts with at. Return values correctly need not be explained since an output schema exists.

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 the baseline is 3, and the description largely restates the schema's own wording for lines ("replaces the whole note: pass every line it should keep") and append. It adds only modest new meaning, mainly that at reschedules the note to a different time or day, and says nothing about timezone or id beyond what the schema already documents. Adequate but not compensating further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Change a note when the person asks" states a specific verb and resource, and the body immediately breaks the tool into its three modes (append, lines, at), so an agent understands this is an in-place modification of an existing note rather than a creation. It stops short of naming a sibling such as delete_note or create_note to route against, but the read/write distinction 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 Guidelines5/5

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

It gives explicit mode-selection rules: append when adding after existing content without disturbing it, lines only to rewrite or tick a checklist item, at to move the note to another time or day. The conditional "only to rewrite or to tick a checklist item" is a real exclusion, and the warning "pass every line it should keep" tells the agent how to behave once that branch is chosen.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources