Skip to main content
Glama

start_sync

Starts real-time bidirectional sync between a CSTCloud LaTeX project and a local folder, performs an initial sync, then keeps syncing in the background so you can edit files in your IDE.

Instructions

Start real-time bidirectional sync between a CSTCloud LaTeX project and a local folder, so you can open and edit the project directly in your IDE. Performs an initial sync immediately and keeps syncing in the background.

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": {
      "project_id": "<project_id>",
      "local_dir": "<local_dir>"
    },
    "name": "start_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
local_dirYesAbsolute or relative local directory path to sync the project into
project_idYesThe CSTCloud project ID (from list_projects)
setup_ide_taskNoAuto-create .vscode/tasks.json for folderOpen auto-sync (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose two genuinely useful traits: an initial sync happens immediately, and syncing continues in the background. However, it omits the risky behaviors an agent needs — whether the call blocks or returns immediately, whether existing local files can be overwritten or deleted, auth prerequisites, and conflict resolution.

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?

Two sentences, zero filler, with the operation and its immediate/background sync behavior front-loaded. Nothing repeats the name or the schema.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating, long-running background operation with no annotations and no output schema, the definition covers the 'what' but not the 'then what'. It does not say what the call returns (a handle, a status, or nothing), how to observe progress (sync_status), or how to terminate (stop_sync), which leaves the agent guessing about lifecycle.

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 all three parameters (project_id, local_dir, setup_ide_task) are already documented in the schema. The description adds only the general framing that a project is synced into a local folder; it gives no extra detail on path expectations, default behavior of setup_ide_task, or why one would disable it. Baseline 3 applies.

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 description uses a specific verb and resource combination ('Start real-time bidirectional sync between a CSTCloud LaTeX project and a local folder') and even states the user-facing motive (editing in your IDE). It is clear what the tool does, but it never names or contrasts with the obvious siblings stop_sync or sync_status, so differentiation relies on the agent inferring from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the scenario ('so you can open and edit the project directly in your IDE'). There is no explicit statement of when not to call it, what happens if a sync is already running, or that sync_status should be consulted afterward and stop_sync to terminate — all of which a sibling-aware agent would want.

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