Skip to main content
Glama
aniketbiswas

Obsidian MCP Server

by aniketbiswas

get_link_graph_data

Retrieve the link graph for a folder or entire vault to visualize note relationships as nodes and edges.

Instructions

Get link graph data for a folder or the entire vault. Returns nodes (notes) and edges (links) for visualization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoFolder to analyze. Defaults to entire vault.
maxNotesNoMaximum number of notes to include (default: 100).
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It discloses the output shape (nodes and edges) and the scope (folder/vault), but does not mention limitations, performance implications, or that it is a read-only operation. This adds some context beyond the schema but is not rich.

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?

The description is two concise sentences, front-loaded with the action and resource, and contains no filler. Every word contributes to conveying what the tool does and what it returns.

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 the tool's simplicity and the absence of an output schema, the description adequately covers the core aspects: what data is returned (nodes/edges), the scope (folder/vault), and the purpose (visualization). It is missing explicit alternative guidance, but remains sufficient for an agent to invoke correctly.

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?

The schema covers 100% of parameters with descriptions for 'folder' and 'maxNotes', so the baseline is 3. The description adds context about the overall purpose but does not enhance parameter understanding beyond what the schema already provides.

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 the tool retrieves link graph data for a folder or the entire vault, and specifies the output as nodes and edges for visualization. This is a specific verb+resource that distinguishes it from sibling tools like get_outgoing_links or get_backlinks, which focus on individual note links.

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 description implies usage for graph-wide visualization by mentioning 'folder or entire vault' as the scope, but it does not explicitly say when to use this tool versus alternatives such as get_outgoing_links, get_backlinks, or find_broken_links. The context is clear but lacks exclusions or alternative guidance.

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/aniketbiswas/obsidian-mcp'

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