Skip to main content
Glama

link_notes

Links two Obsidian notes by appending a wiki-link with a context sentence to the source, recording the connection for graph analytics.

Instructions

Add a wiki-link from one note to another with a context sentence describing why they're connected. Appends the link to the source note and records the edge in the graph so analytics pick it up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesSource note to add the link from (path or fuzzy match).
targetYesTarget note to link to (path, title, or new wiki-link ref).
contextYesOne-sentence explanation of why these notes are connected.
dryRunNoIf true, return the line that would be appended without writing.
Behavior3/5

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

Without annotations, the description carries the full burden. It discloses that the tool 'appends the link to the source note and records the edge in the graph,' and mentions a dryRun parameter. However, it does not specify permissions, reversibility, idempotency, or what happens if a link already exists.

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?

Two sentences, no wasted words. The first sentence states the core action, the second explains the effect (appending and recording). Information is front-loaded and efficient.

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?

The description explains the action and side effects, but with no output schema and no annotations, it should clarify the return value (e.g., success message or the appended line). It also omits error conditions, such as when source or target notes do not exist, and does not mention prerequisites (e.g., notes must exist).

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 description coverage is 100%, so the baseline is 3. The description adds meaning by explaining the overall purpose of the context parameter ('why they're connected') and the effect of dryRun. However, it does not provide additional nuance beyond the schema for each parameter.

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 description states the specific action: 'Add a wiki-link from one note to another with a context sentence.' It clearly identifies the verb (add), resource (wiki-link), and the linking action, distinguishing it from sibling tools like create_note or edit_note.

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?

No guidance on when to use this tool versus alternatives (e.g., find_connections). The description implies usage for creating connections, but does not provide contexts where it is appropriate or when to avoid it, nor mentions prerequisites or alternatives.

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/sweir1/obsidian-brain'

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