Skip to main content
Glama

lint_note

Read-onlyIdempotent

Check a note or every note in a folder for invalid frontmatter, broken links and embeds, missing heading or block targets, duplicate or skipped headings, empty links and unclosed code fences.

Instructions

Check a note (or every note in a folder) for problems: invalid frontmatter, broken links/embeds, missing #heading/#^block targets, duplicate headings, skipped heading levels, empty links, unclosed code fences.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 and non-destructive behavior, so the description is free to spend its budget on substance; it does so by disclosing precisely what classes of problems are reported, which is real behavioral information. It stops short of describing result shape or severity ordering, which matters somewhat since no output schema exists.

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?

A single sentence, front-loaded with the action and scope, followed by a tight comma-separated inventory of checks. Nothing is padded and no sentence is wasted.

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?

Because there is no output schema, the enumerated defect list is effectively the agent's guide to what comes back, and it is thorough. What is missing is how results are structured or truncated when limit applies, but for a read-only diagnostic tool the coverage is close to sufficient.

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 75% and already documents vault, folder and limit semantics, so the schema carries most of the load. The description only echoes the file-vs-folder targeting distinction implicit in the file and folder parameters and says nothing about the limit parameter or how folder and file interact.

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 gives a specific verb ("Check") and resource ("a note or every note in a folder") and then enumerates the exact defect classes it detects: invalid frontmatter, broken links/embeds, missing heading/block targets, duplicate/skipped headings, empty links, unclosed code fences. This makes it unmistakably the validation tool among siblings like read_note, get_note_metadata or edit_note.

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?

Use is implied by the parenthetical "(or every note in a folder)", which tells the agent it can be scoped broadly as well as to a single note. However, there is no explicit statement of when to prefer it over read_note or get_note_metadata, nor any when-not guidance or prerequisites.

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