Skip to main content
Glama

overleaf

Compare a local LaTeX folder with its hosted project and report differences, then fetch remote edits or push local commits.

Instructions

Compare this folder with its Overleaf project. state reads Overleaf again and reports only what differs: get (Overleaf's edits not here), send (edits here not on Overleaf), choose (files waiting for the reviewer to choose), and, in a git clone, the commits behind and ahead. suggested lists the edits made on Overleaf with track changes on, which wait for the reviewer to accept or reject them on the page; Overleaf's text contains the words of a suggested insertion but not those of a suggested deletion. get brings Overleaf's edits into this folder (git pull in a git clone, Get otherwise); it changes only files here, and a conflict changes nothing. push sends a git clone's commits (git push). Without git, only the reviewer sends edits, from the page.

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": "overleaf"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNostate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose meaningful behavior: get is a git pull in a clone and a fetch otherwise, it changes only files here, and a conflict changes nothing, while push is a straight git push. That conflict and locality detail is genuinely valuable. However, it omits auth requirements, what happens on partial failure, and whether sync state is cached, which for a mutating sync tool with zero annotation coverage leaves a gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded with the core comparison statement and nearly every sentence carries information, so it is not padded. But it is a single dense paragraph of run-on clauses that mixes action names with report-category names, which hurts scanability. Structuring the action semantics separately from the state-report contents would materially help.

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?

For a one-parameter sync tool with no annotations and no output schema, the description does the needed work: it explains what state reports, how suggested edits are represented in Overleaf's text, and how get and push differ in and out of a git clone. The remaining gap is the association between this folder and its Overleaf project, which is assumed rather than explained.

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 0%, so the description must supply the meaning of the single action parameter, and it does define state, get, and push in prose. The problem is that the same paragraph introduces 'choose' and 'suggested' in the same list-like syntax as the actions, even though they are status report categories and not valid enum values. An agent skimming this could plausibly try to pass an unsupported action.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb and resource: compare this folder with its Overleaf project, then pull or push edits. That is distinguishable from the listed siblings (compile, guide, read_comments), which handle building and commenting rather than sync. It falls short of 5 because the purpose is entangled with a taxonomy of status categories, so the agent must parse carefully to see that the tool is a three-way sync.

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?

The description gives concrete conditions for each action: state to see what differs, get to bring Overleaf's edits into this folder, push to send a git clone's commits. It also gives an explicit exclusion, noting that without git only the reviewer sends edits from the page, which effectively tells the agent when push is unavailable. It stops short of 5 because it never states prerequisites such as how the folder is associated with a specific Overleaf project or what auth is needed.

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