Skip to main content
Glama
AdrianV101

obsidian-pkm

by AdrianV101

vault_links

Get incoming and outgoing links for a note, with paths as clickable markdown links to open in Obsidian. Choose direction to view links.

Instructions

Get incoming and outgoing links for a note. Paths in this tool's output are formatted as markdown links [vault-relative-path.md](obsidian://...) so users can Cmd/Ctrl-click to open in Obsidian. Preserve the link form when relaying paths to the user; pass only the bracket text (e.g. 01-Projects/Foo/note.md) to other vault tools' path arguments, never the full markdown link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the note (supports short names, e.g. 'devlog')
directionNoboth
Behavior4/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. It discloses a non-obvious behavior: output paths are formatted as markdown links with obsidian:// protocol, and it warns against passing full markdown links to other tools. This adds significant context beyond the schema.

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 exactly two sentences, front-loaded with the core purpose and followed by a critical output-formatting instruction. Every sentence adds necessary value with no redundancy.

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 or annotations, the description adequately covers purpose, output format, and a usage caveat. It is sufficiently complete for a simple retrieval tool, though it could explicitly mention the response structure (e.g., grouping by direction) for fuller transparency.

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 50%; only the path parameter has a description, and direction has none. The description clarifies that path arguments for other vault tools expect plain vault-relative paths, adding some meaning, but it does not explicitly explain the direction parameter or further refine path syntax, leaving gaps.

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 first sentence 'Get incoming and outgoing links for a note' clearly states the tool's purpose with a specific verb and resource. It distinguishes from sibling tools like vault_add_links (which adds links) and vault_link_health (which checks link health) by focusing on retrieval.

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 retrieving links but provides no explicit when-to-use or alternatives among sibling tools. The path-handling instruction about preserving link form and passing bracket text is useful but addresses output handling, not tool selection.

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/AdrianV101/obsidian-pkm-plugin'

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