Skip to main content
Glama

markdown-lint

Markdown lint. Any markdown document in, URL-encoded as the text query parameter (up to 12,000 bytes), a structure scorecard out: nine rules (heading jumps, duplicate headings, unterminated code fences, empty image alt text, bare URLs, hard tabs, trailing whitespace, mixed bullet markers, long lines), every hit counted with line numbers, a structure/hygiene/readability summary, the rule table beside the verdict. Price: $0.05 per call, paid in USDC on Base mainnet over x402; an unpaid call answers HTTP 402 with the exact machine-readable payment terms.

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": {
      "text": "<text>"
    },
    "name": "markdown-lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe markdown document to lint (up to 12,000 bytes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden, and it does disclose several important traits: the 12,000-byte cap, the $0.05 USDC-on-Base x402 pricing, and the HTTP 402 response with machine-readable terms for unpaid calls. However, it omits whether the operation is purely read-only/non-destructive, whether repeated calls are billed each time, and whether payment happens automatically or requires a separate step.

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?

It is a single dense sentence, but it is front-loaded with the purpose and then packs in rules, output shape, and payment terms with no filler. Readability suffers slightly from the run-on structure, but nearly every clause earns its place.

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?

With no output schema and no annotations, the description compensates fully: it names the nine checks, states that hits are counted with line numbers, describes the structure/hygiene/readability summary and rule table, and covers the payment flow. An agent has everything needed to call it and interpret the result.

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%, so the single text parameter is already documented with its byte limit, establishing a baseline of 3. The description does add one genuinely useful detail the schema lacks, namely that the value must be URL-encoded, which justifies a higher mark but not a full 5 since no encoding edge cases are addressed.

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?

The description opens with a specific verb+resource ("Markdown lint") and enumerates the nine rules it checks, so an agent knows exactly what analysis it performs. It does not differentiate itself from the sibling style-lint, which is the main thing keeping it below a 5.

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?

It says "Any markdown document in" but gives no when-to-use framing, no exclusions, and no routing to an alternative (e.g., style-lint) when a document needs style rather than structure checks. The agent must infer applicability entirely from the rule list.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources