Skip to main content
Glama

ao_sync

Sync vault notes by rebuilding the knowledge graph, palace metadata, and search index so agents can retrieve current, citable memory.

Instructions

Full sync: rebuild knowledge graph, palace metadata, and search index from vault notes.

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

Input Schema

NameRequiredDescriptionDefault
principalNoUser/agent id to act as (ACL + audit actor); ignored if the server pins $OMPA_PRINCIPAL
vault_pathNo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.9/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. It does disclose the important behavioral trait that three existing stores are rebuilt rather than appended to, which tells an agent data is being regenerated. However it omits whether existing graph metadata is discarded, whether credentials/ACL apply, and the cost/duration of a full rebuild.

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?

A single front-loaded sentence that leads with 'Full sync:' and then lists the affected stores; every clause earns its place and there is no filler. It is on the terse side for a whole-store rebuild, but nothing is wasted.

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?

For a heavyweight, potentially overwriting sync operation with no annotations and no output schema, the definition says what gets rebuilt but not what the agent needs before calling it: safety of existing data, expected runtime, prerequisites, or what constitutes success. The gap is significant given the blast radius described.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: 'principal' is documented in the schema, but 'vault_path' has only a default of '.' and no explanation. The description adds no parameter meaning whatsoever, so it fails to compensate for the undocumented vault_path (is it relative? can it point outside the vault?).

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 gives a specific verb ('rebuild') and enumerates the three concrete artifacts affected: knowledge graph, palace metadata, and search index. It clearly signals a full/whole-vault operation, which separates it from incremental siblings like ao_kg_add, though it never names a sibling to contrast with directly.

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?

There is no when-to-use guidance at all: nothing says whether this is a recovery/repair operation, whether it should run after ao_import or ao_init, or when a narrower tool (ao_kg_populate, ao_search) would suffice. The only hint is the word 'Full', which implies a heavier operation but leaves the agent to infer the preconditions.

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