Refactoring MCP Tools for Better LLM Integration and Usability
Guidelines for refactoring Raindrop MCP tools for better LLM integration, usability, and following MCP best practices.
Expose all major Raindrop entities as MCP resources:
collections://all, collections://{id}bookmarks://{id}, tags://allhighlights://all, user://infoImplement resource discovery and navigation (list, get, search, children, etc.) using standard MCP resource URIs and methods. Ensure each resource supports GET (read), and where appropriate, CREATE, UPDATE, DELETE (write) actions.
For large collections/bookmarks/tags/highlights, implement sampling endpoints:
bookmarks://collection/{id}?sample=10 returns a random or recent sample.Implement elicitation tools for:
{resource}_{action} pattern (e.g., collection_list, bookmark_create, tag_manage)collection_manage for create, update, delete)Collapse similar tools:
collection_create, collection_update, collection_delete into collection_manage with an operation parameter| Tool Name | Description | Operations/Params |
|---|---|---|
| collection_manage | Create, update, or delete a collection | operation: create/update/delete |
| collection_list | List all or child collections | parentId |
| bookmark_manage | Create, update, delete, move, tag bookmarks | operation, ids, data |
| bookmark_search | Search bookmarks with filters | query, tags, collection, etc. |
| tag_manage | Rename, merge, delete tags | operation, tagNames, newName |
| highlight_manage | Create, update, delete highlights | operation, id, data |
| user_profile | Get user info | |
| user_statistics | Get user or collection stats | collectionId |
| import_export | Import/export bookmarks, check status | operation, format, etc. |
| diagnostics | Server diagnostics | includeEnvironment |
collections://all)