Skip to main content
Glama

Update Document Title & Metadata

update_document
Idempotent

Update a document's title and metadata in a single call. Specify only the fields you want to change; omitted fields remain unchanged.

Instructions

Update a document's title and/or its metadata (synopsis, notes, label, status, and custom fields) in a single call. Pass only the fields you want to change; omitted fields are left untouched. To change the body text use write_document; to move it use move_document. Requires an open project and a valid document id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNoLabel name (e.g. a POV character or chapter color label).
notesNoDocument notes (the inspector Notes pane).
titleNoNew title for the document. Omit to leave the title unchanged.
statusNoStatus name (e.g. "To Do", "First Draft", "Done").
synopsisNoSynopsis / index-card text shown in the Scrivener outliner.
documentIdYes
customMetadataNoMap of custom metadata field names to string values.
Behavior4/5

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

Annotations already indicate idempotent and non-destructive behavior. The description adds useful context: only passed fields are changed, others untouched. It also notes required preconditions (open project, valid documentId). 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?

Three sentences, front-loaded with purpose, then usage guidance, then preconditions. Every sentence serves a clear purpose with no wasted words.

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 7 parameters, nested objects, and no output schema, the description fully covers usage scenarios, partial updates, and prerequisites. No gaps for the agent to infer.

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?

With 86% schema coverage, the description still adds meaning beyond the schema. It clarifies the partial update pattern and gives context for fields like synopsis ('index-card text shown in the Scrivener outliner').

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?

Clearly states the tool updates document title and metadata, listing specific fields (synopsis, notes, label, status, custom fields). Distinguishes from siblings by mentioning write_document for body text and move_document for moving.

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?

Explicitly tells when to use this tool vs alternatives: 'To change the body text use write_document; to move it use move_document.' Also provides instructions on partial updates and prerequisites (open project, valid documentId).

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