Skip to main content
Glama

Request Zotero write access

zotero_authorize
Idempotent

Request a local API key by prompting a Zotero dialog, enabling write tools to run. Pick 'Always Allow' for sessions with multiple write operations.

Instructions

Request a local API key so write tools (creating collections, items, and attachments) can run. This raises a modal dialog inside Zotero on the user's screen with three choices: "Allow" issues a single-use key, "Always Allow" issues a persistent one, and "Deny" refuses. Tell the user to expect the dialog, and to pick "Always Allow" for a session that will perform several writes. The key is stored locally and reused; write tools also re-authorize on their own when a single-use key is spent, so calling this manually is only needed to grant access up front. Calling it when a key is already stored reuses that key and shows no dialog.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoRequest a new key even though one is already stored. Rarely needed: a stored key is reused, and replacing a persistent key with a single-use one makes things worse.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
authorizedYes
persistentYesTrue when the key persists; false keys are consumed by the next write.
alreadyHeldYesTrue when an existing stored key was reused and no dialog appeared.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and readOnlyHint=false, but the description adds substantial behavioral detail: it raises a modal dialog with three choices, explains the difference between single-use and persistent keys, describes local storage and reuse, and notes that write tools auto-reauthorize. This goes well beyond the structured annotations.

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?

Four sentences, all information-dense and front-loaded. The first sentence states the core purpose; subsequent sentences cover dialog behavior, user guidance, and reuse semantics. No filler or repetition of schema content.

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

Completeness5/5

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

For an authorization tool with an output schema and clear annotations, the description is complete. It explains the dialog, user choices, key lifecycle, when manual invocation is needed, and the no-op case when a key already exists. Nothing essential is missing.

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?

The schema has 100% coverage for the single optional `force` parameter, so baseline is 3. The description adds practical context about key reuse and the no-dialog behavior, which reinforces when `force` would matter, though it does not name the parameter directly. The schema and description together fully explain the parameter's semantics.

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 opens with a specific verb and resource: 'Request a local API key so write tools ... can run.' This clearly distinguishes it from sibling tools, which all operate on collections, items, or libraries. The title 'Request Zotero write access' reinforces the purpose without ambiguity.

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 explicitly states when to call it manually ('only needed to grant access up front'), when not to ('calling it when a key is already stored reuses that key and shows no dialog'), and gives user-facing guidance ('Tell the user to expect the dialog, and to pick "Always Allow" for a session that will perform several writes'). It also notes that write tools re-authorize on their own, so alternatives are clear.

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

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/dvdsosa/zotero-native-mcp'

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