Skip to main content
Glama
bezata

kObsidian MCP

Get Backlinks

links.backlinks
Read-onlyIdempotent

Find all notes that link to a target note using wiki or markdown links, with optional surrounding context to evaluate link intent.

Instructions

Find every note that links TO a target note (inbound references). Supports both wiki-style [[Note]] and markdown-style [text](Note.md) links. When includeContext:true, each result carries a contextLength-char snippet of surrounding text so the agent can judge link intent without re-reading each source. Read-only. For outbound links (what a note points AT), use links.outgoing.

Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesVault-relative path of the note whose inbound links we want.
includeContextNoWhen true, each result carries a snippet of surrounding text for each backlink.
contextLengthNoCharacters of context per hit. Default 80.
vaultPathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYesNumber of items in `items`.
itemsYesList of result items; per-item shape depends on the tool.
Behavior4/5

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

Annotations already declare read-only, non-destructive, idempotent. Description adds that it's read-only and explains context snippet behavior (contextLength). Consistent and complementary.

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?

Three concise sentences, front-loaded with core purpose, no redundancy or filler. Efficiently conveys key 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?

Given output schema exists and annotations cover safety, description adequately covers vault behavior, link types, and context snippets. No missing critical information.

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 descriptions cover 3 of 4 parameters (75%). Description adds meaning by explaining that `vaultPath` overrides session vault and that `contextLength` controls snippet size. Provides value beyond the schema.

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?

Description explicitly states finding notes linking TO a target note (inbound references), mentions both wiki and markdown link styles, and differentiates from sibling tool `links.outgoing`.

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?

Clearly explains when to use (inbound references), what the `includeContext` option does, and explicitly names the alternative `links.outgoing` for outbound links. Also notes vault scoping and vaultPath override.

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/bezata/kObsidian'

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