Skip to main content
Glama

Pull from Overleaf

sync_project
Idempotent

Pull Overleaf commits into one project's local clone to check it is current or after a collaborator pushes. It sends nothing, keeps local work, and reports pulled and unpushed commits.

Instructions

Pull the latest commits from Overleaf into one project's local clone. Nothing is sent to Overleaf and no local edit is discarded. The read tools pull on their own, so this is rarely needed first; call it to check explicitly that the clone is current, or after a collaborator says they have pushed. Use project_status for the full picture. If the pull cannot complete cleanly it fails and leaves local work untouched, rather than resolving the conflict on its own. Only the chosen project is pulled; a project not opened before is cloned instead, and reports nothing pulled. Returns how many commits were pulled and how many local commits are still unpushed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoWhich project to use: its Overleaf address, its 24-character id, or a registered project name. Omit to use the default project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.8

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that nothing is sent upstream, that local edits are never discarded, that a dirty pull fails without attempting conflict resolution, that an unopened project is cloned instead and reports nothing pulled, and that the response contains pulled/unpushed commit counts. That is exactly the conflict-safety and side-effect detail the readOnlyHint/destructiveHint flags cannot convey.

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?

Front-loads the core action and keeps every sentence load-bearing, but at six sentences it is denser than needed; the failure-mode and first-clone clauses could be tightened without losing 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?

No output schema exists, and the description compensates by stating what is returned (pulled commit count and remaining unpushed commits). Combined with the sibling pointer and conflict behavior, an agent has everything needed to call this correctly on the first attempt.

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, but the description adds behavior for the project argument that the schema does not: 'Only the chosen project is pulled; a project not opened before is cloned instead, and reports nothing pulled.' It maps the parameter to a distinct outcome rather than restating its format.

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 with directionality: 'Pull the latest commits from Overleaf into one project's local clone.' The direction is made unmistakable ('Nothing is sent to Overleaf'), which cleanly separates it from the sibling push_changes.

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 explicit when-to-use conditions ('call it to check explicitly that the clone is current, or after a collaborator says they have pushed') and when-not ('The read tools pull on their own, so this is rarely needed first'), plus a routing pointer to project_status for the broader picture.

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