Skip to main content
Glama
pvliesdonk

markdown-vault-mcp

by pvliesdonk

OKF: Convert Wikilinks

okf_convert_links
DestructiveIdempotent

Convert resolvable wikilinks in your vault to OKF bundle-root-absolute markdown links, preserving the link graph. Unresolvable links are left unchanged.

Instructions

Rewrite wikilinks as OKF bundle-root-absolute markdown links.

A migration transform (Open Knowledge Format): converts every resolvable [[wikilink]] in the vault (or one folder) into [text](/path/note.md), OKF's recommended link style. Only links whose target is indexed are converted, so the link graph is preserved exactly — a converted link points at the same note the wikilink resolved to. Unresolvable wikilinks are left untouched and counted as skipped. Each changed note is written through the normal write path (git commit if configured). Re-running is safe: already- converted links are plain markdown and are not touched again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoRestrict to this folder subtree (e.g. "guides"). Omit to convert the whole vault.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description adds substantial behavioral detail beyond the annotations: writes go through the normal write path, git commit occurs if configured, re-running is safe, resolvability determines conversion, and the link graph is preserved exactly. This gives an agent a clear model of side effects and safety considerations, complementing the destructiveHint and idempotentHint 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?

The description is compact, front-loaded with the primary action, and every subsequent sentence adds meaningful information about behavior, edge cases, or safety. There is no filler or repetition that detracts from its usefulness.

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?

The tool has a rich description, an output schema, and annotations covering mutability and idempotency. The description covers the main action, scope, exceptions, side effects, re-run behavior, and link-graph preservation, leaving no material gap for an agent to select and invoke the tool correctly.

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?

The single parameter 'folder' is fully described in the schema with default and behavior (restrict to folder subtree, omit for whole vault). The description reiterates the 'vault or folder' scope but does not add new parameter-level semantics beyond what the schema already provides, so the baseline score of 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?

The description states a specific action ('Rewrite wikilinks as OKF bundle-root-absolute markdown links') and identifies the exact resource (resolvable wikilinks in the vault or a folder). It clearly differentiates this migration tool from siblings like okf_validate and okf_generate_index by describing its unique transformation purpose.

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 clearly establishes when to use the tool: during an OKF migration to convert wikilinks to markdown links. It also specifies constraints on usage, such as only converting indexed targets and leaving unresolvable links untouched. It does not explicitly name alternative tools, but the context is strong enough to make the intended use clear.

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/pvliesdonk/markdown-vault-mcp'

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