Skip to main content
Glama

find_broken_links

Read-onlyIdempotent

Detect broken or unresolved links in an Obsidian vault, grouped by missing target and showing source notes and lines; optionally flag missing headings or blocks.

Instructions

Unresolved links (to notes/files that don't exist), grouped by missing target, with the notes and lines that contain them. Also flags #headings/#^blocks that no longer exist when check_subpaths is true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_broken_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 500)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)
check_subpathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description is free to add value — and it does, by disclosing the grouping key and the exact payload (notes and lines per broken link). It also discloses the conditional extra behavior under check_subpaths, which is not visible in annotations.

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 filler, and the primary behavior plus return shape come first with the conditional flag stated last. Every clause carries information the agent needs.

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

Completeness4/5

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

With no output schema, the description still conveys the return structure (grouped by missing target, with source notes and lines) and the scope caveat for subpath checking. Minor gaps remain around scan scope and the 500-result default, but the schema covers the latter.

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?

Schema coverage is 75% and the single undocumented parameter, check_subpaths, is explained in the description: it additionally flags #headings and #^blocks that no longer resolve. That is genuine meaning added beyond the schema, compensating for the coverage gap.

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 resource (unresolved links to non-existent notes/files) plus the result shape (grouped by missing target, with containing notes and lines). It is clearly a diagnostic read tool, though it never names the sibling fix_broken_link, so differentiation is left to the agent.

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 content: an audit of dangling links, and a deeper check when check_subpaths is set. There is no explicit 'use this instead of X' routing against fix_broken_link or get_outgoing_links, and no stated preconditions.

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