Skip to main content
Glama

sync_memory_index

Scans .manthan/memory Markdown files, parses frontmatter, synchronizes the SQLite FTS5 search index, and stamps the Git commit SHA to keep version-controlled project memory searchable.

Instructions

Sidecar Maintenance: scans .manthan/memory/, parses Markdown frontmatter, synchronizes the SQLite FTS5 index, and stamps the current Git commit SHA.

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

Input Schema

NameRequiredDescriptionDefault
force_rebuildNoWhether to drop the existing SQLite index and rebuild completely from scratch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does partly meet it by disclosing the concrete mechanics: file scanning, frontmatter parsing, FTS5 index synchronization, and commit-SHA stamping. That reveals a mutating operation with real side effects on the search index. However, it omits whether the Markdown files themselves are modified, whether the operation is idempotent or safe to repeat, and what permissions or runtime cost are involved.

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?

A single densely packed sentence front-loaded with the maintenance label and then the operation sequence. Every clause (scan, parse, sync, stamp) contributes distinct information with no filler.

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 one-parameter tool with no annotations and no output schema, the agent still lacks whether the memory files are written to, whether the operation must be run before recall_memory returns fresh results, and any failure behavior. The description is accurate but not sufficient for safely deciding when to trigger a mutating reindex.

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?

The single parameter force_rebuild has its destructive drop-and-rebuild semantics fully documented in the schema, whose coverage is 100%. The description adds no parameter-level meaning beyond that, so the baseline 3 for high schema coverage 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 names a specific verb set and resource: scans .manthan/memory/, parses frontmatter, synchronizes the SQLite FTS5 index, and stamps the Git commit SHA. That tells an agent exactly what the tool operates on and what it leaves behind. It does not explicitly contrast itself with siblings like recall_memory or commit_memory, keeping it at 4.

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

Usage Guidelines2/5

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

The only usage signal is the 'Sidecar Maintenance' prefix, which implies this is a maintenance-time operation rather than part of normal query flow, but the description never says when to run it, whether it should follow memory edits, or why an agent would choose it over recall_memory or commit_memory. There are no exclusions or prerequisites, leaving the agent to infer the trigger condition.

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