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)Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer