Skip to main content
Glama

update_item

Idempotent

Edit an existing Zotero item's bibliographic fields without changing its key, keeping citations intact; uses version checks to prevent overwriting concurrent updates.

Instructions

Edit bibliographic fields (title, date, DOI, url, abstractNote, publicationTitle, creators, etc.) on an existing item, in place. Safe: the item's key is unchanged, so any Word citation referencing it keeps working. creators (if included) replaces the whole author/editor list -- e.g. [{"creatorType": "author", "firstName": "Ada", "lastName": "Lovelace"}], not a merge into the existing list.

version: the item's current version (from search_items/get_item) -- the edit is refused if this doesn't match the server's current version (someone else changed the item since you read it; re-fetch and retry). fields may NOT include tags/collections -- use add_tags/remove_tags/ set_tags and add_to_collection/remove_from_collection for those.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
fieldsYes
versionYes
Behavior5/5

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

Goes well beyond annotations by disclosing in-place update behavior, key stability for Word citations, creators replacement semantics, version-check enforcement, and excluded fields. No contradiction with annotations.

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 description is somewhat long (~150 words) but every sentence adds essential detail. The creators JSON example is verbose but valuable for clarity. Structure is front-loaded with main purpose.

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?

Covers parameter semantics, restrictions, and conflict behavior thoroughly. Does not describe return value or success response, but no output schema exists; overall sufficient for a moderately complex update operation.

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

Parameters5/5

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

Schema has 0% coverage, so description fully compensates by explaining each parameter: key (implied), version (must match current, from get_item), and fields (bibliographic object, with creators example and restrictions).

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 clearly states the tool edits bibliographic fields on an existing item in place, with explicit field examples. It distinguishes from sibling tools like create_item, trash_item, and update_collection by targeting existing item metadata specifically.

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?

Provides explicit when-not-to-use guidance by stating fields may not include tags/collections and directing to add_tags/remove_tags/set_tags and collection tools. Also explains the version parameter requirement and retry logic for conflicts.

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

Install Server

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/herbertkokholm/cite-caddy'

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