Skip to main content
Glama
mdvault-mcp
by 0xmortuex

broken_links

Finds links that point nowhere or match multiple notes, reporting file:line locations, suggested similar notes, and all candidate paths; optionally scan only a folder.

Instructions

List links that point nowhere (BROKEN, with a did-you-mean when a similar note exists) and links that match several notes (AMBIGUOUS, with every candidate path), as file:line. Optionally limited to a folder.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
folderNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose useful return semantics: the BROKEN/AMBIGUOUS split, did-you-mean hints, all candidate paths, and file:line output. It never states that the operation is read-only, what a full-vault scan costs, or whether links inside a folder argument are resolved against the vault root, leaving gaps the annotations would normally fill.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the primary purpose and the result categories before the optional scoping clause. There is no filler, though the parenthetical detail on did-you-mean and candidate paths makes the first sentence dense.

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 simple two-parameter read tool with an output schema that already documents return structure, the description covers purpose, result kinds, and output format adequately. The unexplained limit parameter and the lack of any read-only reassurance keep it from being fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it only partially does: "Optionally limited to a folder" explains the folder parameter but is silent on whether it is a path, a name, or recursive. The limit parameter (default 200) is not mentioned at all, so half the parameters gain no meaning from the description.

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?

The description gives a specific verb and resource ("List links") and defines two precise result categories: BROKEN links with did-you-mean suggestions and AMBIGUOUS links with all candidate paths. It is clear what the tool returns, though it never distinguishes itself from the sibling note_links, which likely also reports links.

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 only implied through the concept of broken/ambiguous links, which an agent can map to a vault-health task; there is no explicit statement of when to prefer this over note_links or search_notes. "Optionally limited to a folder" is scope guidance for a parameter rather than when-to-use guidance, and no exclusion conditions are given.

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