Skip to main content
Glama
mdvault-mcp
by 0xmortuex

note_links

Lists a note's backlinks and outgoing links, showing where each resolves (note, file, broken, ambiguous) for wikilinks, embeds, and Markdown links.

Instructions

Show a note's links. direction="in" lists backlinks: every note linking here, with the file:line and the line of text around the link, plus ambiguous links that might point here; direction="out" lists the note's own links and where each resolves (a note, a file, BROKEN, or AMBIGUOUS with the candidate paths); "both" does both. Covers [[wikilinks]], ![[embeds]] and markdown; links inside code blocks are ignored.

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": {
      "note": "<note>"
    },
    "name": "note_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYes
limitNo
directionNoboth

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/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 does well: it discloses that backlinks include ambiguous candidates, that outgoing links resolve to note/file/BROKEN/AMBIGUOUS with candidate paths, which link syntaxes are covered, and that links inside code blocks are ignored. It omits read-only framing, ordering, and how the limit parameter bounds results, so it is rich but not complete.

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?

The description is front-loaded with the action, then organized by direction mode, then by syntax coverage, so structure is strong. It is a single dense paragraph with heavy semicolon chaining and parenthetical detail, which is efficient but slightly harder to scan than a short bulleted breakdown would be.

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?

An output schema exists, so the description earns credit for not needing to explain return shapes, yet it still usefully characterizes what each mode yields. The remaining gap is the unexplained 'limit' parameter and unspecified note-identifier format, which matter for correct invocation of a three-parameter tool with no schema descriptions.

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 coverage is 0%, so the description must compensate, and it only does so for one of three parameters: it defines the semantics of direction='in'/'out'/'both' in detail. The 'note' parameter's accepted form (title vs. path vs. identifier) and the 'limit' parameter's meaning and default are never addressed, leaving real gaps.

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 first sentence states a concrete verb and resource ('Show a note's links') and immediately enumerates the three direction modes, spelling out exactly what 'in' (backlinks), 'out' (outgoing with resolution status), and 'both' return. This is far more specific than a restatement of the name and lets an agent distinguish this from link-integrity or note-reading siblings.

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?

The description gives clear mode-selection guidance by defining what each direction value surfaces, which is effectively when-to-use guidance for each parameter choice. It stops short of naming an alternative tool (e.g., a broken-links-only query) or stating exclusions/prerequisites, so it is clear context without explicit alternatives.

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