Skip to main content
Glama
zotero-local-api-mcp

zotero-local-api-mcp

by Matcraft94

delete_collection

Delete a Zotero collection while keeping its items by moving them to the library root, so you can remove organizational folders without losing references.

Instructions

Delete a collection (items inside are kept, moved to library root).

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": {
      "key": "<key>"
    },
    "name": "delete_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose the crucial non-obvious trait that contained items survive and are relocated to the library root, which prevents a wrong assumption of cascading deletion. However, it says nothing about irreversibility of the collection removal, required permissions, or whether an empty-collection restriction applies.

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?

A single sentence with the main action front-loaded and the important side effect in parentheses; every clause earns its place with no 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 one-parameter mutation with an output schema available, the description covers the essential surprise (items are kept). Only irreversibility and permission preconditions remain unstated, which are minor relative to the tool's simplicity.

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

Parameters4/5

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

There is a single parameter, 'key', whose meaning is self-evident from the tool purpose; the schema provides no description but the description of the operation makes clear what identifier is being passed. With one obvious parameter, little additional semantics are needed.

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 names a specific verb+resource (delete a collection) and immediately clarifies the scope of destruction, which lets an agent distinguish it from delete_item or a cascade delete. It does not explicitly name a sibling, but the operation itself is unambiguous.

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 — use this when you want the collection gone but the items retained. There is no explicit when-to-use vs. alternatives guidance, no prerequisites (e.g. ownership/permissions), and no statement about whether the action needs confirmation.

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