Skip to main content
Glama

find_path_between_notes

Read-onlyIdempotent

Trace the path of links that connects two Obsidian notes, optionally following directed links, to see how the notes relate.

Instructions

Shortest chain of links connecting two notes (treating links as undirected unless directed:true).

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "find_path_between_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
fromYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
directedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral detail — links are traversed as undirected by default — but says nothing about what happens when no path exists or how the result is shaped.

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?

A single front-loaded sentence with the core operation first and the traversal caveat parenthetically attached. No filler, no restatement of the tool name.

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?

With four parameters, no output schema, and a pure read operation, the definition covers the essentials for invocation but leaves the return value ambiguous (a chain of note paths? links? an empty result?). For a graph search where 'no path found' is a common outcome, one clause on the result would have closed the gap.

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?

The schema documents 'from', 'to', and 'vault' at 75% coverage, and the description supplies the missing meaning for the undocumented 'directed' parameter by stating the default undirected treatment. That is real value beyond the schema, though the direction semantics of 'from' vs 'to' under directed:true are still left implicit.

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 operation (find the shortest chain of links) over a specific resource pair (two notes), which is clear enough to act on. It does not distinguish itself from graph-adjacent siblings like find_similar_notes or find_broken_links, so an agent must infer the boundary from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The agent can infer this is for connectivity questions between two specific notes, but nothing states that find_similar_notes or query_notes should be used for related-but-different questions.

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

Deploy Server

Other Tools