Skip to main content
Glama
mcp-local-reference

mcp-local-reference

rename_collection

Rename an existing Zotero collection with a dry-run default and sibling-name collision checks to prevent duplicate names under the same parent.

Instructions

Rename an existing Zotero collection.

    Defaults to dry_run=True. Refuses sibling-name collisions
    (a collection with the same new_name already under the same
    parent) for hygiene; Zotero itself permits this.
    

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_key": "<collection_key>",
      "new_name": "<new_name>"
    },
    "name": "rename_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
new_nameYes
collection_keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/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 usefully discloses the sibling-name collision refusal (and that Zotero itself allows it) and mentions the dry_run default, but it never explains what dry_run actually does — whether it previews the rename without applying it or something else — nor whether the rename is reversible, what happens to contained items, or what errors occur for an unknown collection_key.

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

Conciseness4/5

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

The core action is front-loaded in the first sentence and the trailing details are short and relevant. The parenthetical about Zotero permitting collisions earns its place by warning about a behavior the agent might otherwise assume is impossible.

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

Completeness3/5

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

An output schema exists, so return values need not be described. For a mutation tool with a dry_run flag, though, the definition should clarify what dry_run does and what happens on key-not-found or collision errors; the collision case is covered but the dry_run semantics and failure modes are not.

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 and largely does not. It references new_name only indirectly via the collision rule and restates the dry_run default already visible in the schema, while giving no meaning for collection_key and no explanation of dry_run's effect.

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 opens with a specific verb+resource: 'Rename an existing Zotero collection.' An agent can immediately tell this apart from reparent_collection or create_collection by the operation named. It stops short of explicitly contrasting with those siblings, so it lands just below a 5.

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 only implied by the name — rename an existing collection rather than create, delete, or reparent one. There is no explicit when-to-use or when-not-to-use statement, and no mention of the reparent_collection alternative for moving a collection between parents.

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