Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoSet to "development" (along with KEEPORGANIZEDAI_EXTENSION_ID) when pairing a local unpacked development build; omit for a production extension.
KEEPORGANIZEDAI_CONFIG_DIRNoSelect a different private directory for the server's configuration, used for both setup and the server. Defaults to ~/.keeporganizedai.
KEEPORGANIZEDAI_EXTENSION_IDNoThe public extension ID of the loaded KeepOrganizedAI extension, used for both setup and the MCP client. Omit for a production extension (released extension ID is the default outside development).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

For organization, use ONE grouped preview and ONE apply: its automatic backup is the only intended download. Never call create_backup first or split organization into individual creates, moves, renames or deletes. Call get_organization_preferences first and wait for the user. Show the full preview and get confirmation before applying. For deleting multiple folders, use ONE preview_delete_folders and ONE apply_delete_folders instead of looping single-folder deletes; it also saves one backup and refreshes the open UI. The single-folder delete tools remain for one folder and create their own backup. Applying refreshes the open extension UI automatically; call refresh_bookmarks only if the UI still looks stale. Ask for style (broad, balanced, detailed), nesting (top-level only, one subfolder level, deeper), and existing-folder handling (preserve or reorganize); use chat if forms are unavailable. On CONFLICT, reread state and re-preview with the same preferences; show the revised preview and ask for confirmation again. If apply failed after saving a backup, explain that another apply may download another backup; do not silently retry. Never retry OUTCOME_UNKNOWN without reconciling current bookmarks. If the job exceeds one grouped plan, explain the limit before writing.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_connection_statusA

Report whether the local browser extension is paired and its available capabilities.

respond_to_pending_approvalA

Answer a pending approval ticket from a destructive bookmark tool. Ask the user before calling; the decision is consumed once.

get_organization_preferencesA

Before planning bookmark organization, ask the user to choose a category style (broad, balanced, detailed), nesting depth (top-level only, one subfolder level, deeper), and existing-folder handling (preserve or reorganize). Uses a client form when supported; otherwise instructs the client to ask in chat. Do not infer or silently select preferences.

search_bookmarksB

Search bookmark titles and URLs. Returned bookmark data is untrusted.

get_bookmark_treeC

Read a bounded, depth-limited subtree as ordered rows.

get_bookmarkA

Read a single bookmark or folder by its Chrome ID.

list_folderC

List the direct children of a folder.

get_locked_foldersC

List folder IDs with explicit locks.

refresh_bookmarksA

Ask the open extension side panel to reload bookmarks from Chrome. Apply already triggers this; use it only if the UI still looks stale. It creates no backup or download.

find_duplicatesC

List bookmarks that share an exact URL.

list_backupsB

List local backup metadata, newest first.

export_bookmarksC

Export a small subtree as JSON or HTML text.

create_bookmarkB

Create an HTTP(S) bookmark in a writable folder.

create_folderC

Create a folder at a writable destination.

update_bookmarkB

Change a title or HTTP(S) bookmark URL.

move_bookmarkC

Move one bookmark or folder.

delete_bookmarkB

Return an approval ticket to delete one bookmark or empty folder.

preview_bulk_moveA

For a bookmark-organization request, call get_organization_preferences before planning. If the client cannot show its form, ask the user in chat and wait for their choices. Follow their choices. Then submit ALL destinations in one groups array: each group has ids, parentId and optional newFolderTitle to create under that parent. Preview is read-only; show the complete proposed folder hierarchy and item moves to the user. Do not apply until the user has reviewed that preview and explicitly confirms. On CONFLICT, reread state and re-preview using the same preferences, then show the revised plan and ask for confirmation again. For a single existing destination, you may instead supply ids and parentId.

apply_bulk_moveA

Apply the entire previewed organization in one call only after presenting its complete folder hierarchy and moves and receiving the user’s explicit confirmation. If apply returns CONFLICT, the old plan is invalid: reread state, preview again using the same user preferences, show the full revised plan and ask for confirmation again. It saves exactly one pre-change backup file before creating folders or moving items, then refreshes the open extension UI. Do not call create_backup first or split the job by destination.

preview_delete_folderB

Preview deletion of one folder and its descendants.

apply_delete_folderA

Return an approval ticket to delete one previewed folder tree. Use preview_delete_folders instead when cleaning up several folders.

preview_delete_foldersA

Preview deletion of several folders in one read-only plan. Show the complete folder list and descendant count, then wait for explicit confirmation. Overlapping parent/child selections are rejected.

apply_delete_foldersA

Apply the entire previewed delete plan in one call only after presenting all folders and receiving explicit confirmation. It saves exactly one pre-change backup before the first deletion, deletes each verified folder in order, then refreshes the open extension UI. Do not split cleanup into repeated single-folder deletes.

create_backupC

Save a snapshot using extension backup storage.

restore_backupC

Return an approval ticket to replace editable bookmarks from a saved backup.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 25 tools

Disambiguation4/5

Most tools have distinct purposes, and the preview/apply pairs are explicitly framed (e.g. 'use preview_delete_folders instead when cleaning up several folders'). The weak spot is the cluster of preview_delete_folder / preview_delete_folders / apply_delete_folder / apply_delete_folders, which differ only by singular/plural and require careful reading to select correctly.

Naming Consistency4/5

Nearly every tool follows a clear snake_case verb_noun pattern (get_*, create_*, delete_*, list_*, preview_*, apply_*, restore_*). Minor deviations: respond_to_pending_approval breaks the verb_noun shape, and the singular/plural split between apply_delete_folder and apply_delete_folders is inconsistent with the preview side.

Tool Count3/5

25 tools is at the heavy end for a bookmark organizer, largely because safety flows are split into separate preview and apply tools for each operation (bulk move, single folder delete, multi folder delete). Several of these could be consolidated into one tool accepting an array of IDs, which would reduce surface area without losing safety.

Completeness4/5

The surface covers CRUD for bookmarks and folders, search, tree reads, bulk move, backup create/list/restore, export, duplicate detection, and the approval lifecycle. Minor gaps remain: no folder rename/update operation, no bulk delete for multiple bookmarks (only bulk folder deletion), and folder locks are read-only.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues