Skip to main content
Glama

Find Broken Links

find_broken_links
Read-onlyIdempotent

Identify wikilinks that point to non-existent notes in an Obsidian vault. Returns grouped results by source note with broken link text and line numbers. Useful for cleaning up dangling references after renaming or deleting notes.

Instructions

Scan notes for wikilinks ([[target]]) whose target does not resolve to any existing note in the vault. Returns a per-source report grouping each note with its broken link text and line numbers, plus a total count. Use after renaming, moving, or deleting notes to catch dangling references. Resolution uses the whole vault even when scanning a single folder, so only truly unresolvable links are reported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoRestrict the scan to notes within this folder (resolution still uses the entire vault). Omit to scan every note.
maxResultsNoMaximum broken link entries to show (1-5000, default: 200). Grouped by source note. Remaining matches are summarized.
Behavior4/5

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

Adds detail beyond annotations: resolution uses whole vault even when scanning a folder, ensuring truly unresolvable links. Annotations already indicate read-only and idempotent, so description complements well.

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. Front-loaded with the primary action and result. Efficient and clear.

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?

With no output schema, description explains return format (per-source report with link text and line numbers) and total count. Covers scanning scope and resolution behavior. Fully sufficient for a read-only scan tool.

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 covers 100% of parameters with descriptions. Description does not add significant parameter-level detail beyond the schema, but clarifies the folder scope nuance. Baseline 3 is appropriate.

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?

Clearly states it scans notes for broken wikilinks and returns a per-source report. Verbs are specific and resource is well-defined. Distinguishes from sibling 'find_orphans' which targets unlinked notes.

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

Usage Guidelines4/5

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

Explicitly recommends use after renaming, moving, or deleting notes. Does not explicitly mention alternatives like get_backlinks or search_notes, but the context is clear. Lacks explicit 'when not to use' guidance.

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/rps321321/obsidian-mcp-pro'

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