Skip to main content
Glama

atlas_lint

Read-onlyIdempotent

Audit indexed documentation for structural and formatting issues that degrade retrieval quality. Run after edits to catch duplicate headings, heading jumps, empty or oversized sections, and missing status markers.

Instructions

Audit indexed documentation for structural and formatting problems that degrade retrieval quality.

Takes no parameters. Checks managed documentation for duplicate headings, heading level jumps,
empty headings/sections, oversized sections (>5,000 chars), TOC navigation lines, export escapes,
and Work Orders missing a status marker (`⬜`/`🚧`/`✅`). Use this tool after editing documentation
or running `atlas init`.

Behavior & Output:
- Read-only structural check; respects `.atlas/managed.json` (separating managed docs from legacy discovered docs).
- Returns a JSON string `{ok, sections, counts, issues, managed_issues, discovered_issues, truncated}` detailing each issue by file and line.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, and the description adds real context beyond them: it respects `.atlas/managed.json`, splits managed versus legacy-discovered docs, and states the >5,000-char threshold and the status-marker convention. It restates the return keys already present in the output schema, which keeps it from a 5.

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?

Front-loaded purpose sentence, a compact list of checks, a one-line usage trigger, and a bulleted behavior block. No filler; the only minor redundancy is the recital of output keys, which is brief.

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?

For a parameterless audit tool, the agent gets purpose, trigger timing, scoping rules, the full defect taxonomy, and confirmation of a structured JSON result. Nothing needed to invoke it correctly or interpret its findings is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero parameters, and the description explicitly states "Takes no parameters," removing any doubt. There is nothing further to add beyond that baseline confirmation.

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?

Opens with a specific verb and resource ("Audit indexed documentation") plus the goal it serves (retrieval quality), then enumerates the exact defect classes it detects. The enumerated checks (duplicate headings, level jumps, TOC lines, Work Order status markers) let an agent distinguish it from atlas_outline or atlas_links without inspecting schemas.

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 a clear trigger condition: "Use this tool after editing documentation or running `atlas init`." It does not name an alternative tool or state when not to run it, so the routing guidance stops short of the 5 level.

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