Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

Export ontology as an Obsidian vault

export_wiki
Idempotent

Generate an Obsidian-compatible markdown vault for a datasource: term pages with aliases and links, source pages, index, and log, so you can browse the knowledge graph in Obsidian.

Instructions

Generate an Obsidian-compatible markdown vault for one datasource (defaulting to the knowledge store): one page per Term with synonym aliases, [[links]], and passages, one per source, plus index.md and log.md. Use to browse or inspect the knowledge graph in Obsidian; use export_ontology to serialize the semantic layer as a single portable YAML/JSON file. Writes into AUTO_ONTOLOGY_VAULT/auto-ontology (or ~/.auto-ontology-mcp/wiki/), prunes only previously generated pages, never alters originals, and is strictly one-way (Obsidian edits are not read back).

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

Input Schema

NameRequiredDescriptionDefault
datasourceNoDatasource name. Optional when only one datasource is registered.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, and the description is consistent with them while adding real context: exact write locations (AUTO_ONTOLOGY_VAULT/auto-ontology or ~/.auto-ontology-mcp/wiki/<datasource>), the pruning scope ('only previously generated pages, never alters originals'), and the one-way sync guarantee. It does not mention permissions or failure modes, which keeps it short of a 5 but well above the annotation baseline.

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?

Front-loaded with the verb and artifact, followed by a routing sentence and then side-effect disclosure — a sensible order with no filler. The output inventory sentence is dense but every clause carries distinct information.

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

Completeness5/5

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

For a write-emitting export tool, the description covers what is produced, where it lands, what is deleted, what is left untouched, and the limits of round-tripping. With an output schema present, it does not need to explain return values, so nothing an agent needs to invoke this safely is missing.

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 single parameter is already documented, and per the baseline this would be a 3. The description adds meaning by stating the default target ('defaulting to the knowledge store'), which the schema only expresses as a null default; this slightly overrides the raw baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and artifact ('Generate an Obsidian-compatible markdown vault') and enumerates the exact output contents (one page per Term with aliases, [[links]], passages; one per source; plus index.md and log.md). It also explicitly contrasts with the sibling export_ontology, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('browse or inspect the knowledge graph in Obsidian') and names the alternative with its own condition ('use export_ontology to serialize the semantic layer as a single portable YAML/JSON file'). The selective criterion is unambiguous.

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