Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

Inspect a knowledge source and provenance

get_source
Read-onlyIdempotent

Retrieve a knowledge source by ID or title substring with its Obsidian path and all derived entities, concepts, relations, and passages to cite provenance or audit document contributions.

Instructions

Retrieve one knowledge source by id or title substring together with its Obsidian original path and every item derived from it (entity records, concepts, relations, and passages). Use to cite provenance or audit what a document contributed; use search_text to find sources by content and describe_table for physical database tables. Fails if no source matches or multiple titles match ambiguously.

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": {
      "source": "<source>"
    },
    "name": "get_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesSource id (e.g. '3' or 'source:3') or a substring of its title.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.2
    • changedInput schema / properties / source / description
      Previous value: -"Source id (e.g. '3' or 'source:3') or part of its title."New value: +"Source id (e.g. '3' or 'source:3') or a substring of its title."
  2. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile needs no restating. The description adds genuinely new behavior: the failure modes (no match, ambiguous multi-title match) and the breadth of derived items returned. It stops short of describing ordering or result size for a heavily connected source, which is the only remaining behavioral gap.

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?

Two sentences, both dense with content: the first defines the resource and its return payload, the second carries routing and error semantics. No filler, and the core specification is front-loaded.

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?

An output schema exists, so return shape need not be spelled out, and the description instead covers what an agent cannot infer: the alternate call sites, the provenance/audit framing, and the ambiguity error. For a one-parameter read tool this leaves nothing material missing.

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?

Schema coverage is 100% and the single parameter's description already covers both id and title-substring forms. The description repeats the accepted input forms but adds no resolution rules beyond the ambiguity failure note, so the baseline 3 is appropriate for a schema that does the heavy lifting.

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 resource ("Retrieve one knowledge source") plus its exact scope: id or title substring, the Obsidian original path, and all derived items (entities, concepts, relations, passages). This is distinguishable at a glance from search_text and describe_table, which are named directly.

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 explicit use cases (citing provenance, auditing a document's contribution) and routes the agent to the correct sibling for adjacent needs: search_text for content-based lookup and describe_table for physical tables. It also states the two failure conditions, so the agent knows when this call will error rather than return empty.

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