Skip to main content
Glama
markdown-lint-mcp

markdown-lint-mcp

by dougis-org

lint_markdown

Analyze a Markdown file to return detailed linting issues, so you can catch formatting and style violations against markdownlint, CommonMark, and GitHub Flavored Markdown standards before fixing them.

Instructions

Analyze a Markdown file and return detailed linting issues

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filePath": "<filePath>"
    },
    "name": "lint_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesPath to the Markdown file to lint

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not say whether the file is modified, whether it fails on a missing file, which rule set/config is applied, or how severe/useful the reported issues are. "Detailed linting issues" is the only hint about output shape and it is not elaborated despite there being no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the action and resource, with no filler. The only weakness is the vague qualifier "detailed," which spends words without conveying specifics.

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?

For a simple one-parameter tool with full schema coverage, the core is covered, but the absence of an output schema means the description should say more about what the reported issues look like. Read-only safety and error behavior are also 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 coverage is 100% for the single filePath parameter, so the schema already defines it and a baseline of 3 applies. The description does not clarify whether the path should be relative or absolute or whether it must exist, adding nothing beyond the schema.

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 and resource: "Analyze a Markdown file" plus the outcome, "return detailed linting issues". This clearly identifies it as a read/analysis operation, but it never contrasts with the sibling fix_markdown, which an agent could plausibly confuse it with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/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 agent must infer that this is the diagnostic counterpart to fix_markdown, and nothing says whether to run this first, whether a config is required, or what to do with the results.

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