Skip to main content
Glama

Note panel actions

notes-panel
Destructive

Used only by the Hjarni note panel UI to reload, preview and save the note it shows. Assistants should not call this: read with notes-get and edit with notes-update. Actions: 'get' (id; known_lock_version answers status 'unchanged' when the note has not moved), 'search' (query: the panel's note picker, with a short preview per note; with id, only the notes that note can link to), 'browse' (place: one level of the folder tree, its folders and notes), 'preview' (id, body: renders Markdown without saving), 'save' (id, lock_version, title and/or body and/or add_tags/remove_tags; a lock_version that is no longer current saves nothing and answers status 'conflict' with the saved version and a line diff; resolve 'merge_hunks' with hunks {index: 'saved'|'draft'} applies a per-hunk choice), 'create_note' (place, title, body, add_tags), 'create_folder' (place, name), 'update_folder' (place folder:; name, description, llm_instructions, negative_space), 'instructions' (place personal: brain, personal; place team:: team), 'folder_options' (id: where that note can move), 'move' (id, place), 'trash' (id), 'restore' (id), 'favorite' (id, favorited), 'archive' (id, archived), 'history' (id; with seq, that version and its changes), 'revert' (id, seq, lock_version), 'verify' (id), 'keep_summary' (id, lock_version: clears summary_stale and leaves the summary as it is; a lock_version that is no longer current answers status 'stale'), 'file_description' (id, file_id, description), 'save_to_personal' (id of a team note), 'purge' (id of a trashed note: delete for good), 'folder_archive' (place folder:, archived), 'folder_delete' (place), 'folder_restore' (id), 'folder_purge' (id), 'folder_parents' (place), 'folder_move' (place, to), 'folder_reorder' (place, direction up|down), 'tag' (place tag:, op rename|merge|delete, name), 'share' (id, or place folder:; op status|enable|disable|editing_on|editing_off), 'bulk' (ids, op move|archive|unarchive|trash, place for move), 'toggle' (id, lock_version, index, checked: ticks one task checkbox; a lock_version that is no longer current ticks nothing and answers status 'stale' with the saved version).

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": {
      "action": "<action>"
    },
    "name": "notes-panel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoNote ID (required for get, preview and save)
opNotag: rename|merge|delete; share: status|enable|disable|editing_on|editing_off; bulk: move|archive|unarchive|trash
toNofolder_move: the new parent: personal, team:<id> or folder:<id>
idsNobulk: the notes
seqNohistory, revert: the version
bodyNosave: new body (full replacement); preview: Markdown to render
nameNocreate_folder, update_folder: folder name; tag: the new name, or the tag to merge into
sortNobrowse: note order
teamNoinstructions (place team:<id>): the team's instructions (owners only)
brainNoinstructions (place personal): instructions for everything
hunksNosave with resolve: hunk index => 'saved' or 'draft'
indexNotoggle: which task checkbox, counted from 0 in the note
placeNobrowse: spaces, personal, shared, team:<id> or folder:<id> (default spaces), also inbox, favorites, tags, tag:<id>, archived, trash; create_note, create_folder, move: where; update_folder: folder:<id>; instructions: personal or team:<id>
queryNosearch: text to find; empty lists recently edited notes
spaceNosearch: only personal, shared or team:<id>
titleNosave: new title
actionYesWhat to do (required)
checkedNotoggle: the box's new state
file_idNofile_description: the file
resolveNosave: apply per-hunk choices from a conflict
summaryNosave: new summary
add_tagsNosave: tags to add (applied to the saved tags, never a conflict)
archivedNoarchive: archive (true) or unarchive (false)
personalNoinstructions (place personal): instructions for Personal
directionNofolder_reorder
favoritedNofavorite: the star's new state
source_urlNosave: new source URL
descriptionNoupdate_folder: what the folder is for; file_description: the file's description
remove_tagsNosave: tags to remove
editor_usageNosave: how often each editor action was used (the panel's beta editor), action name => count
lock_versionNosave: the lock_version the edit started from (required for save); keep_summary: the version the person read
negative_spaceNoupdate_folder: what does not belong in the folder
llm_instructionsNoupdate_folder: the folder's AI instructions
known_lock_versionNoget: the lock_version the panel already shows

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / editor_usage
      Added value: +{
      +  "additionalProperties": {
      +    "type": "integer"
      +  },
      +  "description": "save: how often each editor action was used (the panel's beta editor), action name => count",
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "get",
      -  "search",
      -  "browse",
      -  "preview",
      -  "save",
      -  "toggle",
      -  "create_note",
      -  "create_folder",
      -  "update_folder",
      -  "instructions",
      -  "folder_options",
      -  "move",
      -  "trash",
      -  "restore",
      -  "favorite",
      -  "archive",
      -  "history",
      -  "revert",
      -  "verify",
      -  "file_description",
      -  "save_to_personal",
      -  "purge",
      -  "folder_archive",
      -  "folder_delete",
      -  "folder_restore",
      -  "folder_purge",
      -  "folder_move",
      -  "folder_reorder",
      -  "folder_parents",
      -  "tag",
      -  "share",
      -  "bulk"
      -]New value: +[
      +  "get",
      +  "search",
      +  "browse",
      +  "preview",
      +  "save",
      +  "toggle",
      +  "create_note",
      +  "create_folder",
      +  "update_folder",
      +  "instructions",
      +  "folder_options",
      +  "move",
      +  "trash",
      +  "restore",
      +  "favorite",
      +  "archive",
      +  "history",
      +  "revert",
      +  "verify",
      +  "keep_summary",
      +  "file_description",
      +  "save_to_personal",
      +  "purge",
      +  "folder_archive",
      +  "folder_delete",
      +  "folder_restore",
      +  "folder_purge",
      +  "folder_move",
      +  "folder_reorder",
      +  "folder_parents",
      +  "tag",
      +  "share",
      +  "bulk"
      +]
    • changedInput schema / properties / lock_version / description
      Previous value: -"save: the lock_version the edit started from (required for save)"New value: +"save: the lock_version the edit started from (required for save); keep_summary: the version the person read"
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say non-read-only, destructive and non-idempotent; the description adds the substantive behavior: lock_version appears in four separate actions with defined failure statuses ('unchanged', 'conflict' with saved version and diff, 'stale'), preview renders without saving, purge is 'delete for good', add_tags never conflicts, and tag merge is destructive. That is real behavioral context an agent cannot get from the annotations.

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

Conciseness3/5

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

The critical don't-call-this warning is correctly front-loaded, which is good structure. However the rest is a single semicolon-chained run-on enumerating ~30 actions with no grouping or line breaks, making it hard to scan even though most tokens carry information.

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 34-parameter, multi-action, nested-object tool with no output schema, the description covers every action and the notable return states (unchanged, conflict, stale, merged hunks), which is what an agent needs to call it correctly. It is slightly short on output shape for the successful read/browse paths, but the most failure-prone paths are documented.

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 coverage is 100%, so the baseline is 3, but the description adds per-action binding that the flat schema cannot express well (e.g. 'place folder:<id>' for update_folder vs 'place personal: brain, personal' for instructions, and the meaning of known_lock_version). It goes beyond the schema on conflict semantics and on which fields never produce a conflict, though some of the action-to-parameter mapping already duplicates the schema descriptions.

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?

The first sentence names the surface concretely ('the Hjarni note panel UI', 'reload, preview and save the note it shows') and the enumeration of actions shows exactly what verbs it dispatches. It is distinguishable from siblings because it explicitly names notes-get and notes-update as the correct alternatives. The only reason it is not a 5 is that the declared scope ('reload, preview and save') is far narrower than the 30+ actions actually listed (folder tree, tags, sharing, purge), so an agent gets a slightly misleading headline before reading the full action list.

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 states an explicit when-not ('Assistants should not call this') and routes to concrete alternatives ('read with notes-get and edit with notes-update'). It then gives per-action selection guidance, including the distinction between search/browse/get and the conflict-resolution path via resolve='merge_hunks'.

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.