Skip to main content
Glama
Obsidian CDP MCP Server

Obsidian CDP MCP Server

obsidian_get_backlinks

Retrieve all incoming links for a specified Obsidian file to identify which notes reference it.

Instructions

Get all backlinks (incoming links) for a file. Returns files that link to the specified file.

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": {
      "path": "<path>"
    },
    "name": "obsidian_get_backlinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file relative to vault root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.2

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does at least confirm this is a lookup that returns linking files rather than mutating anything. It omits whether unresolved/alias links are included, whether the file must exist, and what error behavior to expect. For a read-only one-parameter tool the gap is modest but real.

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?

Two short sentences, front-loaded with the verb and resource. The second sentence largely restates the first ('Returns files that link to' ≈ backlinks), so it spends words without adding information.

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

Completeness3/5

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

There is no output schema, so the description must say what comes back; it does so only loosely ('files that link'), leaving unclear whether results are paths, links, or objects with context. For a simple read tool with a fully documented single parameter this is adequate but thin.

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?

Only one parameter, and the schema documents it fully ('Path to the file relative to vault root', 100% coverage). The description adds nothing about path format, vault-root relativity, or whether extensions/trailing slashes matter, so it sits at the baseline the schema already earns.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Get') and resource ('all backlinks') and disambiguates the term inline with '(incoming links)'. That parenthetical distinguishes it from obsidian_get_outlinks by direction, though it never names that sibling.

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?

Usage is implied by the declared direction ('incoming' vs a file's own outgoing links), which is enough to pick the right tool in this vault context. However, it never states when to use this versus obsidian_get_outlinks or obsidian_resolve_link, and gives no preconditions such as whether the target file must exist.

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