Skip to main content
Glama
mcp-local-reference

mcp-local-reference

add_reference_by_isbn

Add a book to Zotero from an ISBN by resolving metadata through Open Library, deduplicating records, and previewing writes with dry-run before posting.

Instructions

Add a reference to Zotero by ISBN.

    Resolves metadata via Open Library, deduplicates, POSTs a new book item.

    Args:
        isbn: ISBN-10 or ISBN-13, hyphenated or not. Checksum validated.
        collection_key: Optional Zotero collection key.
        dry_run: If True (default), preview without writing.
    

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": {
      "isbn": "<isbn>"
    },
    "name": "add_reference_by_isbn"
  }
}

Input Schema

NameRequiredDescriptionDefault
isbnYes
dry_runNo
collection_keyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 disclose the pipeline: Open Library metadata resolution, deduplication, then a POST of a new book item, plus the safe-preview default of dry_run=True. What remains undisclosed is the duplicate-resolution outcome (skip, merge, or error) and any auth requirements.

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?

Front-loaded one-line summary, then a single sentence on the internal pipeline, then compact per-argument notes. Every sentence carries new information and nothing is repetitive.

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 return values need not be described, and the description adequately covers the mutation path and its dry-run escape hatch. The only real gap for a write tool with no annotations is post-write duplicate behavior.

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?

Schema description coverage is 0%, so the description must compensate, and the Args block explains all three: ISBN-10/13 with optional hyphens and checksum validation, an optional collection key, and dry_run defaulting to a non-writing preview. The collection_key note stops short of saying where the item lands when it is omitted.

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 first line names a specific verb (Add), resource (a reference in Zotero), and disambiguating identifier (by ISBN), which separates it from add_reference_by_doi and add_reference_by_arxiv. It is clear but never explicitly contrasts itself with those siblings.

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: an agent can infer this is the path when it holds an ISBN rather than a DOI or arXiv ID. There is no explicit statement of when to prefer a sibling tool, nor any note on prerequisites such as library authentication or what happens when the item already exists.

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