Skip to main content
Glama

get_backlinks

Retrieves all notes in an Obsidian vault that link to a specified note via [[wikilinks]], helping you trace backlinks and understand note relationships.

Instructions

Find all notes in the vault that [[wikilink]] to the given note.

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": "get_backlinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVault-relative path of the target note.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.5/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 disclosure burden. "Find" implies a read-only lookup and "all notes in the vault" discloses scope, but it says nothing about whether unresolved/broken links count, how aliases or embedded links are treated, or what ordering applies.

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?

One short sentence that is front-loaded with the verb and resource and contains no filler. Every clause (vault scope, wikilink relation, target note) earns its place.

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?

For a one-parameter, low-risk query tool this covers the core intent, but with no output schema and no annotations the description should say what is returned (paths, titles, snippets) and whether unresolvable links appear. It is adequate but leaves a real gap.

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 100% and the single path parameter is fully documented as vault-relative in the schema. The description only restates it as "the given note" and adds no format or path-resolution detail beyond the schema, so the baseline 3 applies.

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 concrete verb (Find) and a precise resource (notes that [[wikilink]] to the given note), including the link direction, which implicitly separates it from get_outgoing_links. It does not explicitly name a sibling or state the boundary, so it stops short of a 5.

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 directional phrasing ("link TO the given note") makes the intended use inferable, but there is no explicit when-to-use statement, no mention of get_outgoing_links or get_graph_stats as alternatives, and no prerequisites. Usage is implied rather than guided.

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