Skip to main content
Glama

List Document Snapshots

list_snapshots
Read-onlyIdempotent

List Scrivener's saved snapshots for documents. Provide a documentId to view version history, or omit it to see all snapshots across the project.

Instructions

List the snapshots Scrivener has saved of a project's documents (from the .scriv package's Snapshots/ directory). Pass documentId to list one document's snapshots, or omit it to list snapshots for every document that has any. Each entry gives the owning document id and title, a snapshotId (pass it to read_snapshot to get the text), the snapshot's title, and its date. Read-only. Returns an empty list when nothing has been snapshotted. Requires an open project (call open_project first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentIdNoUUID of a single document to list snapshots for. Omit to list all documents.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentsYesOne entry per document that has snapshots.
Behavior4/5

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

Annotations already provide readOnlyHint, destructiveHint, idempotentHint. Description adds context: returns empty list when none, lists returned fields, and reinforces read-only. No contradictions.

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 efficient sentences: purpose, parameter usage, output description, prerequisite. No wasted words, front-loaded.

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?

Given simple schema, rich annotations, and presence of output schema, description covers all necessary context: prerequisite, empty result, linkage to read_snapshot, and return fields.

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 coverage is 100%, and description adds meaning: clarifies effect of omitting vs including documentId, and its optional nature. Does not add format details but fully explains behavior.

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?

Description clearly states it lists snapshots, with specific verb 'list' and resource. Distinguishes from read_snapshot by mentioning snapshotId usage for getting text, and from write operations by stating read-only.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use when listing snapshots, explains parameter behavior (omit for all, specify for one), and notes prerequisite call open_project first. Lacks explicit statement of when not to use, but context implies read-only nature.

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/writerslogic/scrivener-mcp'

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