Skip to main content
Glama

ao_kg_populate

Populate the knowledge graph from every vault note by extracting wikilinks, tags, folder structure, and dates into citable triples.

Instructions

Populate the knowledge graph from all vault notes. Extracts wikilinks, tags, folder structure, and dates into triples.

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_kg_populate"
  }
}

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
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 behavioral burden, and it omits the traits that matter for a graph mutation: whether existing triples are replaced, merged, or duplicated on re-run (idempotency), whether stale edges are removed, and whether the operation is long-running or costly across an entire vault.

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?

Two compact sentences, front-loaded with the action and followed by the extraction detail; nothing is padded or redundant. It is efficient, though brevity comes partly at the cost of the missing behavioral detail noted above.

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?

With no annotations, no output schema, and half the parameters undocumented, the description should tell an agent what comes back (counts of nodes/edges indexed?) and what state it leaves behind. As written, an agent knows what the tool ingests but not the effect, cost, or result of running it.

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?

Only 50% of parameters carry schema descriptions ('principal' does; 'vault_path' has just a default of '.'), so the description is expected to compensate and does not. Neither parameter is mentioned in the text, leaving the scope of 'all vault notes' ambiguous with respect to the vault_path argument.

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?

Names a specific verb and resource ('Populate the knowledge graph') and enumerates what is extracted (wikilinks, tags, folder structure, dates) into triples. It is clearly a bulk-build operation, distinguishable by scope from an incremental add tool, though no sibling is named explicitly.

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 phrase 'from all vault notes' implies this is the full-vault rebuild rather than a single-entity insert, which is implicit usage guidance. However, there is no explicit when-to-use, no prerequisites (e.g. whether the vault/graph must be initialized first), and no named alternative for incremental additions.

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