Skip to main content
Glama

Remove from Collection

remove_from_collection
DestructiveIdempotent

Removes library items from a collection. The items themselves are never deleted, only the link to the collection. At most 100 items are processed per call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "collection": "<collection>",
      "item_ids": "<item_ids>"
    },
    "name": "remove_from_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idsYesLibrary item ids to remove (at most 100).
collectionYesCollection name or id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the agent knows this mutates state and is repeatable. The description adds real value on top of that by scoping the destruction (only the collection link is lost, items survive) and by disclosing the 100-item per-call ceiling. It does not explain partial-failure behavior when more than 100 ids are supplied or what the response contains, keeping it below a 5.

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?

Three short sentences, each carrying distinct information: the operation, the non-obvious safety scope, and the batch limit. The most decision-relevant fact (items are not deleted) is front-loaded right after the action, with zero filler.

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

Completeness4/5

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

For a simple two-parameter mutation with no output schema and complete schema coverage, the description covers the action, the safety boundary, and the size limit, which is enough to invoke it correctly. It is only slightly short of complete because idempotent behavior on already-absent items and the outcome of exceeding 100 ids are left unstated.

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% and both parameters are documented in the schema, including the 100-item limit on item_ids, so the description adds no new parameter meaning beyond restating the cap. Baseline 3 is appropriate for a fully-documented two-parameter schema; the description does not clarify whether collection accepts a name or an id beyond what the schema already says.

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 gives a specific verb and resource ("Removes library items from a collection") and immediately scopes it against deletion by noting the items themselves are untouched, which distinguishes it from delete_item and delete_collection. It stops short of naming the sibling it complements (add_to_collection) or explicitly contrasting removal from the collection vs. removal from the library, so it is clear but not maximally differentiating.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the sentence about links-only tells an agent this is a scoped unlink operation, not a purge, which is genuine disambiguation. However, there is no explicit "use this when..." guidance, no mention of the counterpart tool for undoing or re-adding, and no note on what happens when an item is not in the collection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.