Skip to main content
Glama

sync

Controls repository state by checking status, running incremental or full re-indexing, analyzing files or MySQL schemas, and exporting/importing knowledge records between databases and Markdown files.

Instructions

Controls repository synchronization. Actions: status (show current state), incremental (process changes), full (complete re-index), analyze_file (single file), analyze_schema (MySQL), knowledge_export (DB → git-friendly Markdown files), knowledge_import (Markdown files → DB).

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": {
      "action": "<action>"
    },
    "name": "sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFile path (for analyze_file)
forceNoForce re-analysis even without changes. Default: false
actionYesSync operation
connectionNoMySQL connection (for analyze_schema)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.2/5.0
Behavior2/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: it says nothing about which actions mutate state, whether full re-index destroys prior data, whether knowledge_import overwrites existing records, permission or credential requirements for analyze_schema, or expected runtime or rate limits. Only the parenthetical hints ('complete re-index', 'Markdown files → DB') gesture at side effects.

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?

One front-loaded sentence, with the general purpose first and the action inventory second; every clause is doing work. The opening 'Controls repository synchronization' is the weakest part, since it adds little beyond the name.

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

Completeness2/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 no annotations, so the description should cover what the modes return (notably status) and the behavioral contract of the mutating modes. With seven actions and a nested connection object, the omission of return shapes and side effects leaves the definition under-specified.

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 would be 3, but the description adds real meaning beyond the schema by glossing each enum value of action, which the schema lists only as bare strings under 'Sync operation'. It still says nothing about force or the nested connection object, which are documented in the schema itself.

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 names a specific resource (repository synchronization) and then enumerates seven concrete operations with one-line glosses, so an agent can tell what each mode does. It does not distinguish this tool from siblings such as search, graph, or impact, so it falls short of the top score.

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?

The action list implies the available modes, but the description never says when to choose incremental over full, or when this tool is the right one versus a sibling. Usage is inferable rather than stated.

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

Deploy Server

Other Tools