Skip to main content
Glama
cornelcroi

bookmark-lens

by cornelcroi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_MODELNoLLM model for Smart Mode (optional).claude-3-haiku-20240307
LLM_API_KEYNoAPI key for the LLM provider (optional).
MAX_CONTENT_LENGTHNoMaximum content length in characters to extract.50000
EMBEDDING_DIMENSIONNoDimension of the embedding vectors.384
EMBEDDING_MODEL_NAMENoName of the sentence-transformers embedding model.all-MiniLM-L6-v2
BOOKMARK_LENS_USER_AGENTNoUser agent string for HTTP requests.bookmark-lens/0.1.0
BOOKMARK_LENS_DUCKDB_PATHNoPath to DuckDB database file../data/bookmark_lens.db
BOOKMARK_LENS_LANCEDB_PATHNoPath to LanceDB vector database../data/embeddings.lance
BOOKMARK_LENS_FETCH_TIMEOUTNoTimeout in seconds for fetching web pages.30

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
save_bookmarkA

Save a bookmark to the user's bookmark collection.

IMPORTANT: Use this tool whenever the user asks to:

  • "Save this URL"

  • "Bookmark this"

  • "Add to bookmarks"

  • "Remember this page"

  • Or any similar request to save a URL

After saving, consider helping the user by:

  1. Calling get_bookmark_content(id) to fetch the article

  2. Summarizing the content for them

  3. Calling update_bookmark(id, note=summary) to save the summary

This provides a helpful summary without requiring an API key.

search_bookmarksA

Search the user's bookmark collection using semantic search.

IMPORTANT: Use this tool whenever the user asks to:

  • "Find bookmarks about..."

  • "Search my bookmarks for..."

  • "Show me bookmarks..."

  • "Do I have any bookmarks about..."

  • Or any similar request to find saved bookmarks

Supports semantic search (meaning-based) with optional filters for domain, tags, and dates.

get_bookmarkA

Get full details about a specific bookmark by ID.

update_bookmarkB

Update note and/or tags for an existing bookmark.

delete_bookmarkB

Delete a bookmark and all its associated data.

list_tagsA

List all tags with their usage counts.

Returns: List of tags with counts

get_bookmark_statsA

Get statistics about your bookmark collection with optional filters.

get_bookmark_contentA

Get the full content of a bookmark in Markdown format.

Use this tool when the user wants to:

  • Read the full article content

  • Get a summary of the bookmark (you will summarize the returned content)

  • Analyze or discuss the bookmark content in detail

  • Quote specific parts of the article

  • Get fresh content from the URL

After calling this tool, YOU should summarize or analyze the content based on what the user asked.

Prompts

Interactive templates invoked by user choice

NameDescription
bookmark_search_guideGuide for using bookmark-lens effectively, including natural language date parsing.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cornelcroi/bookmark-lens'

If you have feedback or need assistance with the MCP directory API, please join our Discord server