Skip to main content
Glama

migrate_attachments

Destructive

Convert Zotero cloud-stored attachments into linked local files, freeing cloud storage while keeping every file accessible. Starts as a dry run; apply=true executes the migration after review.

Instructions

Convert Zotero imported (cloud-stored) attachments into linked files: copy or download each file to local disk, hash-verify it, create a linked_file attachment, then move the original to the trash. Frees cloud storage quota while keeping every file locally. DEFAULTS TO A DRY RUN — pass apply=true to make changes, and only after showing the user plan_attachment_migration output. Never empties the trash; use inspect_trash then empty_trash for that, so the user can review what would be permanently destroyed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applyNo
limitNo
modesNoimported_file
dest_dirNo
trash_originalsNo
include_local_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description adds crucial behavioral details: dry-run default, apply=true gate, hash verification, moving originals to trash, and explicitly never emptying trash. No contradiction with annotations exists.

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 compact and front-loaded with the core workflow and purpose, then provides essential safety warnings. Every sentence adds value: the process, the quota benefit, the dry-run requirement, and the trash-handling exclusion.

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 destructive, multi-step migration tool, the description covers the main workflow, safety gates, and sibling routing well. However, it omits details on several parameters (limit, modes, dest_dir, include_local_only) that could matter for correct execution, leaving some contextual gaps despite the output schema.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, but it only clarifies apply=true and indirectly mentions trash_originals. The meanings of limit, modes, dest_dir, and include_local_only remain unexplained, leaving the agent to guess at important behavioral controls.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Convert Zotero imported (cloud-stored) attachments into linked files' with a concrete process (copy/download, hash-verify, create linked_file, trash original). It also names the related sibling plan_attachment_migration and contrasts with inspect_trash/empty_trash, making differentiation clear.

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

Usage Guidelines5/5

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

The description gives explicit usage conditions: it defaults to a dry run, requires apply=true only after showing plan_attachment_migration output, and explicitly redirects trash-emptying to inspect_trash then empty_trash. This provides both when-to-use and when-not-to-use guidance.

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

Other 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/alisoroushmd/zotero-mcp'

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