Skip to main content
Glama

Get Outlinks

get_outlinks
Read-onlyIdempotent

List all outgoing wikilinks from a note, separating valid links, broken targets, and file embeds so you can audit references and detect broken links.

Instructions

List every outgoing wikilink from a note, partitioned into valid links (resolve to an existing note), broken links (target not found), and file embeds (![[...]]). Returns the raw link text and resolved paths. Use to audit a note's references, detect broken links, or follow downstream dependencies.

Input Schema

NameRequiredDescriptionDefault
pathYesSource note path relative to vault root (e.g., 'folder/note.md'). Extension optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv2.0.0
  3. Removedv1.9.0
  4. Addedv0.1.6
  5. Removedv0.1.4
  6. Changed1 schema field changedv0.1.2
    • changedInput schema / properties / path / description
      Previous value: -"The note path (relative to vault root)"New value: +"Source note path relative to vault root (e.g., 'folder/note.md'). Extension optional."
  7. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so safety is covered; the description adds genuinely new behavior by disclosing the three-way result partitioning and that raw link text plus resolved paths are returned. It says nothing about ordering, limits, or whether nested/transcluded links are followed.

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 tight sentences: the first front-loads the operation and the exact result shape, the second front-loads the use cases. No redundant restatement of the title or annotations.

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?

No output schema exists, and the description compensates well by describing the partition and returned fields; safety comes from annotations and the single param is fully covered by the schema. Minor gaps remain on edge behavior (missing source note, link ordering, non-wikilink URLs).

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?

With 100% schema description coverage on a single 'path' parameter, the schema carries the semantics (vault-relative path, extension optional). The description adds no further meaning about how path is interpreted or what happens if the note does not exist — baseline 3 applies.

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 specific verb ('List') and resource ('every outgoing wikilink from a note') and even describes the output partitioning into valid/broken/embeds. The word 'outgoing' implicitly separates it from get_backlinks, but the overlap with find_broken_links (also named as a use case here) is never resolved.

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?

Gives three concrete use cases (audit references, detect broken links, follow downstream dependencies), which is clear context for invocation. It stops short of exclusions or naming alternatives such as find_broken_links or get_backlinks when those would be the better choice.

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