Skip to main content
Glama
mcp-local-reference

mcp-local-reference

suggest_collection_placement

Gather item metadata, collection tree, memberships, and folder counts to advise where a Zotero item should be filed without making changes.

Instructions

Gather context for advising where an item should be filed.

Returns the item's title and abstract (or first-page PDF snippet when the abstract is empty), the full collection tree, the item's current memberships, and a per-collection item count so well-populated folders can be preferred over thinly-used ones. Read-only — no writes.

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": {
      "item_key": "<item_key>"
    },
    "name": "suggest_collection_placement"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and it does meaningful work: it declares 'Read-only — no writes,' enumerates exactly what is returned, specifies a fallback ('first-page PDF snippet when the abstract is empty'), and explains the purpose of the per-collection counts. It does not discuss cost/response size of dumping the full tree or permission requirements, which keeps it from 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.

Conciseness4/5

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

Front-loaded with the purpose, then a well-structured enumeration of the four returned data groups, then a short safety clause. The parenthetical fallback and the rationale for the counts both earn their place; the only mild redundancy is repeating 'collection' several times in a short paragraph.

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?

An output schema exists, so the description need not document return shapes in full, and it still summarizes the four data groups well. For a single-parameter read-only tool this is nearly complete; the missing pieces are guidance on what the agent should do with the returned context and any note on tree size or trimming.

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?

There is one parameter, item_key, and the schema gives it 0% description coverage, so the description should compensate but does not — it never states that item_key is the target item whose placement is being advised. The surrounding prose makes the intent of the key inferable, so it earns a 3 rather than lower, but no format or lookup detail is added.

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: gathering the item's title/abstract, the full collection tree, current memberships, and per-collection item counts. It is clear this is a context-retrieval tool rather than a decision tool, distinguishing it from the mutating collection siblings (add_items_to_collection, create_collection). It stops short of naming suggest_tags_context as the adjacent alternative, so a 4 rather than 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 implied by the phrase 'for advising where an item should be filed,' which tells the agent this precedes a filing recommendation. There is no explicit when-to-use/when-not-to-use statement, no mention of whether the agent should call this before add_items_to_collection, and no note about prerequisites such as the item existing or being indexed. Adequate but by inference only.

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