Skip to main content
Glama

List pending tracked changes across the open project

list_tracked_changes
Read-only

Lists every pending tracked-change suggestion in an Overleaf project with author, document path, operation type, position, and change_id, so you can collect IDs to accept or reject specific edits.

Instructions

Enumerates every pending tracked-change suggestion in the open project (across all docs), with author name + email, doc path, op kind ('insert' | 'delete'), position, inserted/deleted text, and a stable change_id. Use this to plan an accept_changes or reject_changes call: filter the result by author / doc / kind / text, collect the matching change_id values, then pass them. Tracked changes only — review-panel comments are listed by list_comments.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_tracked_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoFilter by op kind.any
limitNoMax changes to return (newest first).
full_textNoInclude the full op text. Default truncates each to 200 chars to keep responses compact.
project_idNoOverleaf project id from list_projects or open_project. Opens the project if it is not already active. Pass it on every call when MCP sessions may change between calls. Writes without it only go to the project last confirmed by open_project or by a write naming it.
author_emailNoFilter to changes by this exact author email.
path_containsNoFilter to changes in docs whose project-relative path matches this substring.
text_containsNoCase-insensitive substring filter on the inserted/deleted text.
author_id_endswithNoFilter to changes by user_id matching this suffix (handy when you don't know the email).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "Overleaf project id from list_projects or open_project. Opens the project if it is not already active. Pass it on every call when MCP sessions may change between calls. Writes without it only go to the project last confirmed by open_project or by a write naming it.",
      +  "minLength": 8,
      +  "type": "string"
      +}
  2. First observedv0.3.5

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, and nothing in the description contradicts that. Beyond the annotations it adds real behavioural detail: the result set spans all docs, each change carries a stable change_id suitable for later writes, and text is truncated to 200 chars unless full_text is set. It does not discuss pagination beyond 'newest first' or what happens when no changes exist, so it stops short of full disclosure.

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 the enumeration, then the workflow, then the sibling boundary. Nothing is repeated and every clause carries new information.

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?

There is no output schema, and the description compensates by enumerating the returned fields and the truncation behaviour. Combined with the accept/reject workflow and the comments exclusion, an agent has everything needed to call this correctly without opening another tool.

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 every filter (kind, limit, full_text, author_email, path_contains, text_contains, author_id_endswith, project_id) is already documented in the schema. The description reinforces the filter dimensions ('author / doc / kind / text') and ties them to a purpose, but adds no syntax, default, or edge-case meaning beyond what the schema states. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Enumerates every pending tracked-change suggestion in the open project') plus the scope ('across all docs') and the exact fields returned (author name + email, doc path, op kind, position, text, change_id). It explicitly excludes a neighbouring concept: 'Tracked changes only — review-panel comments are listed by `list_comments`'.

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?

Gives an explicit workflow: 'Use this to plan an `accept_changes` or `reject_changes` call: filter the result by author / doc / kind / text, collect the matching change_id values, then pass them.' It also names the alternative tool for the adjacent use case (list_comments) and the boundary that separates them.

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