Skip to main content
Glama

Read Document Annotations

read_annotations
Read-onlyIdempotent

Retrieve inline comments and footnotes from a document to review editorial notes and references without reading the full body. Requires an open project and document ID.

Instructions

Return the inline comments and footnotes attached to a document, grouped by type. Use this to review editorial notes and references without reading the full body; use read_document for the prose itself. Requires an open project and a valid document id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentIdYesScrivener document UUID, as returned by get_structure (a binder item "id").
includeCommentsNoInclude inline comments. Default true.
includeFootnotesNoInclude footnotes. Default true.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentsYesInline comments as [key, value] pairs, where key identifies the comment and value is its text.
footnotesYesFootnotes as [key, value] pairs, where key identifies the footnote and value is its text.
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds behavioral context by stating the requirement for an open project and valid document ID, which is not in annotations. It also mentions grouping by type, giving output structure insight.

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?

The description is only two sentences, front-loaded with the core purpose. Every sentence adds distinct value: purpose, usage guidance, and prerequisites. No unnecessary details or repetition.

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 the presence of an output schema and comprehensive annotations, the description covers all necessary context: what the tool returns (grouped by type), when to use it, prerequisites, and sibling differentiation. It is complete for a read-only tool with three parameters.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description does not add additional meaning to parameters beyond what the schema already provides; it only mentions the grouping by type, which applies to the output, not parameter 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 uses a specific verb 'Return' and identifies the exact resource (inline comments and footnotes) with grouping by type. It explicitly distinguishes from the sibling tool 'read_document' by contrasting its purpose.

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 provides explicit guidance on when to use this tool (reviewing editorial notes) and when to use the alternative (read_document for full prose). It also notes a prerequisite (open project and valid document id).

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