Skip to main content
Glama

Read tracked changes and comments

read_review
Read-only

Reads Overleaf's live review panel to list pending tracked changes and comment threads, including unaccepted suggestions, so you can check what exists before suggesting, replying, or resolving.

Instructions

Read what is waiting in Overleaf's review panel. It reads the live editor rather than the Git bridge, so it sees suggestions nobody has accepted yet, which no other tool here can. Call it before suggesting, deciding, replying or resolving, to see what is already there. Do not use it to read a document's text, which read_file returns. tracked_changes lists one document's suggestions, each with its line, its text and the id manage_tracked_changes takes, plus the text each comment thread in that document is anchored to. comments lists threads under their documents, in the order their anchors appear, each with its line, the anchored text, whether it is open or resolved, and every message with its author, time and the ids manage_comments takes. path must name one of the project's editable documents, as read_project (view files) lists them. Any other path is refused, and the reply names the documents that exist. Leaving out path in the comments view also counts threads whose anchored text was deleted, which reading one document cannot find. When includeResolved is false, a note counts the resolved threads left out. An argument the chosen view does not take, such as includeResolved with tracked_changes, is refused. Returns plain text grouped by document, cut off after 60,000 characters.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "view": "<view>"
    },
    "name": "read_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNotracked_changes view, required: the document to read, relative to the project root, for example main.tex. comments view: only this document; omit to read every document.
viewYesWhat to read. The tool description says what each view lists.
projectNoWhich project to use: its Overleaf address, its 24-character id, or a registered project name. Omit to use the default project.
includeResolvedNocomments view only: also list resolved threads (default false, which matches what the review panel shows first).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.2
    • changedInput schema / properties / view / description
      Previous value: -"What to read: tracked_changes (one document's suggestions, with the ids manage_tracked_changes takes) or comments (comment threads with their messages, with the thread and message ids manage_comments takes)."New value: +"What to read. The tool description says what each view lists."
  2. Addedv0.5.3

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint, it discloses that the tool reads the live editor rather than the Git bridge and can see unaccepted suggestions, which is non-obvious behavioral context. It also states refusal behavior for invalid paths and for arguments a view does not accept, plus a 60,000-character truncation limit, all of which are real operational facts an agent needs.

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 definition is front-loaded with purpose and the strongest differentiator (live editor, unaccepted suggestions) before the mechanical details. It is dense and long, but nearly every sentence carries distinct information; the view-by-view enumeration could be tightened slightly without losing 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?

With no output schema, the description still explains the return shape: plain text grouped by document, truncated after 60,000 characters, with per-thread fields enumerated for both views. Combined with refusal and omission behavior, an agent has everything needed to call it correctly and interpret the result.

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%, so the baseline is 3; the description adds genuine meaning on top: path must name one of the project's editable documents as listed by read_project, omitting path in the comments view widens results to threads whose anchors were deleted, and includeResolved=false produces a count of omitted resolved threads. These are semantic consequences not fully expressed in the schema, though the per-parameter mechanics remain largely schema-driven.

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 states a specific verb and resource ('Read what is waiting in Overleaf's review panel') and immediately distinguishes itself from the Git-based siblings by noting it reads the live editor. It also separates itself from read_file (document text) and names the two views, so an agent can identify it without opening the schema.

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?

It gives explicit when-to-use guidance ('Call it before suggesting, deciding, replying or resolving') and an explicit when-not with the alternative named ('Do not use it to read a document's text, which read_file returns'). View selection is also covered by describing what each view lists.

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