Skip to main content
Glama

Turn tracked changes on or off

set_track_changes
Idempotent

Toggle Overleaf track changes for your own user, so every edit you make is recorded as a pending tracked suggestion without affecting collaborators' settings.

Instructions

Turns Overleaf's 'Track changes' mode on or off for the logged-in user only, the same switch as in the Review panel. Other collaborators' and guests' settings are left as they are. While it is on for you, the server records every edit you make (including track:"off" edits) as a tracked change. Returns the per-user state after the change.

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": {
      "on": "<on>"
    },
    "name": "set_track_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYestrue turns tracked changes on for you, false turns them off for you.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply idempotentHint, so the description carries the load and does it well: it discloses that the setting is per-user, that other collaborators and guests are unaffected, that every edit made while on is recorded as a tracked change (including edits sent with track:"off"), and that the per-user state is returned.

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 short sentences, front-loaded with the action and scope, then the side effect, then the return value. The Review-panel analogy is compact and informative; nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 correctly states what is returned ('the per-user state after the change'), and the per-user scoping plus edit-recording side effect covers the main behavioral risk. Slightly short on whether any project/authorization precondition is required to toggle it, but nothing essential for correct invocation is missing.

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 description coverage is 100% — the 'on' boolean and project_id (source, activation behavior, session caveat) are fully documented in the schema. The description's 'for the logged-in user only' reinforces the meaning of 'on' but adds no syntax or format detail beyond what the schema provides, so baseline 3 applies.

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 ('Turns Overleaf's Track changes mode on or off') and immediately narrows scope to 'the logged-in user only', which separates it from list_tracked_changes, accept_changes and reject_changes without needing their schemas.

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?

Gives clear context for when this applies: per-user toggle, same switch as the Review panel, collaborators untouched. It does not explicitly name an alternative tool or an exclusion case beyond the per-user scope, so it falls just short of full when/when-not guidance.

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