Skip to main content
Glama

batchUpdateBookmarks

Update multiple bookmarks simultaneously in Raindrop.io by applying tags, marking as important, or moving to a specific collection for improved organization.

Instructions

Update multiple bookmarks at once

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionIdNoCollection ID to move bookmarks to
idsYesList of bookmark IDs
importantNoMark as important
tagsNoTags to apply to all bookmarks

Implementation Reference

  • The `batchUpdateBookmarks` method in the `RaindropService` class provides the core implementation for batch updating multiple bookmarks. It constructs a request body with the provided IDs and updates (tags, collection, important flag, broken flag) and sends a PUT request to the Raindrop.io API endpoint `/raindrops`. Returns true if the update was successful.
    /**
     * Batch update bookmarks
     * Raindrop.io API: PUT /raindrops
     */
    async batchUpdateBookmarks(ids: number[], updates: {
      tags?: string[];
      collection?: number;
      important?: boolean;
      broken?: boolean;
    }): Promise<boolean> {
      const body: any = { ids };
      if (updates.tags) body.tags = updates.tags;
      if (updates.collection) body.collection = { $id: updates.collection };
      if (updates.important !== undefined) body.important = updates.important;
      if (updates.broken !== undefined) body.broken = updates.broken;
      const { data } = await this.client.PUT('/raindrops', { body });
      return !!data?.result;
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Update multiple bookmarks at once' implies a mutation operation but doesn't disclose behavioral traits like whether it's idempotent, what happens on partial failures, if it requires specific permissions, or the response format. For a batch mutation tool with zero annotation coverage, this is a significant gap in transparency.

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

Conciseness5/5

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

The description is a single, efficient sentence with zero waste—'Update multiple bookmarks at once' is front-loaded and appropriately sized for the tool's complexity. Every word earns its place by conveying the core action and scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a batch mutation tool with no annotations and no output schema, the description is inadequate. It doesn't explain what 'update' entails (e.g., which fields can be modified), behavioral aspects like error handling, or the return values. The agent must rely entirely on the input schema, leaving gaps in understanding the tool's full context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all four parameters (ids, collectionId, important, tags). The description adds no additional meaning beyond implying batch capability, which is already evident from the name and parameter structure. Baseline 3 is appropriate when the schema does the heavy lifting.

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 description 'Update multiple bookmarks at once' clearly states the verb ('Update') and resource ('bookmarks'), with the qualifier 'multiple...at once' distinguishing it from the sibling tool 'updateBookmark'. However, it doesn't specify what aspects of bookmarks can be updated (e.g., tags, importance, collection), which would make it fully distinct from other batch operations like 'bulkMoveBookmarks' or 'bulkTagBookmarks'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. With siblings like 'bulkMoveBookmarks', 'bulkTagBookmarks', and 'updateBookmark', the agent must infer usage from the name alone. There's no mention of prerequisites, constraints, or comparative scenarios (e.g., 'use this for mixed updates instead of specialized bulk tools').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

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/adeze/raindrop-mcp'

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