Skip to main content
Glama

brain_lint

Run a read-only integrity check on the Markdown vault to find broken wikilinks, orphan notes, incomplete frontmatter, and superseded-entry mismatches before they disrupt agent memory.

Instructions

Esegue un controllo di integrità read-only sul vault (wikilink rotti, note orfane, frontmatter incompleto e disallineamenti superseded).

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

Input Schema

NameRequiredDescriptionDefault
db_pathNoPercorso opzionale del database SQLite.
vault_pathNoPercorso opzionale della root del vault. Se omesso, usa quello configurato.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does the single most important thing: it declares the operation "read-only," so an agent knows nothing is mutated. However, it says nothing about cost/runtime on a large vault, whether a report is persisted anywhere, or how results are delivered, which is a meaningful gap for a full-vault scan tool with zero annotation coverage.

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 with zero filler: the read-only guarantee and the check list are both front-loaded and every clause earns its place. The parenthetical enumeration is an efficient way to convey scope.

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?

There is no output schema and no annotations, so the description is the only place an agent could learn what a lint run returns; it never says whether results are a list of findings, counts, or a report path. Safety and scope are covered adequately, but the result shape for a diagnostic tool is left unstated.

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 description coverage is 100% and both parameters (db_path, vault_path) are documented in the schema, including the fallback to configured paths, so the schema already does the work. The description adds no parameter-level meaning beyond that, which is the expected baseline 3.

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?

Uses a specific verb and resource ("Esegue un controllo di integrità read-only sul vault") and enumerates the concrete checks performed: broken wikilinks, orphan notes, incomplete frontmatter, superseded misalignments. An agent immediately knows this is a diagnostic/validation tool, and it is clearly distinct in kind from the memory-oriented siblings, though the description does not explicitly mention that distinction.

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?

No explicit when-to-use or when-not-to-use guidance is given; the usage is only implied by the enumerated check categories (call it when you want to validate vault health). There is no mention of alternatives, prerequisites, or how often it should be run relative to tools like brain_sync.

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