Skip to main content
Glama
aleksakarac

Obsidian MCP Extended

by aleksakarac

get_link_graph_tool

Build a complete link graph of all note connections in your Obsidian vault, tracking inlinks, outlinks, and link types to analyze vault structure and connectivity.

Instructions

Get complete link graph for the vault (filesystem-native, offline).

Builds a comprehensive graph of all note connections, tracking:

  • Inlinks (notes linking TO each note)

  • Outlinks (notes linked FROM each note)

  • Link types (wikilinks, markdown links, embeds)

When to use:

  • Understanding vault structure and relationships

  • Analyzing note connectivity

  • Building visualization data

  • Identifying connection patterns

Performance:

  • 1,000 notes: < 10 seconds

  • 10,000 notes: < 100 seconds

Returns: Complete link graph with all note connections and link type counts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vault_pathNoPath to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided)
ctxNo
Behavior4/5

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

Without annotations, the description adds value by noting performance characteristics and stating it is 'filesystem-native, offline'. It implies read-only operation and provides return expectations.

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?

Well-structured with clear sections, bullet points, and front-loaded purpose. Efficiently conveys necessary information without excessive verbosity.

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

Completeness4/5

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

Given no output schema and no annotations, the description covers purpose, usage, performance, and return type fairly well. Some details like exact output format could be added but not critical.

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% with only vault_path described in schema. The description adds no extra parameter details; ctx remains undocumented. Parameter semantics are weak.

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?

The description clearly states it fetches a 'complete link graph for the vault', specifying verb 'get', resource 'link graph', and details inlinks, outlinks, and link types. This distinguishes it from sibling tools like get_note_connections_tool or get_backlinks_tool.

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

Usage Guidelines4/5

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

The 'When to use' section lists appropriate scenarios like understanding vault structure and building visualization data. It does not explicitly mention when not to use or alternatives, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aleksakarac/obsidian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server