Skip to main content
Glama

Lint text

lint_text
Read-onlyIdempotent

Run text-target checks (direct-answer/BLUF lead, repeated-phrase stuffing, paragraph length) over markdown or plain text and return detailed results with rule IDs, fix hints, and the same work list as a keyed scan. Batched callers pass detail=failures to drop passing checks. Use when: The draft is markdown or plain text. Avoid when: The draft is HTML (lint_html) or already a public URL (scan_url). Do not claim: A grade or a pass is not a citation. The check says the page matches the rulebook. Verify: Edit the text and call lint_text again. judge: engine — trust the pass/fail from the deterministic check (access, rendering, and mechanical structure). judge: agent — your agent re-reads the rule text and decides; the label comes from the deterministic judgeForCheck mapping, not an LLM on our side.

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

Input Schema

NameRequiredDescriptionDefault
detailNoKeyed callers only; a free scan already lists failures alone and ignores it. full (default): every check. failures: only failed and skipped checks plus the page and group grades, grade_basis and the do-not-claim guidance — use it for batched calls or when a full response would be truncated.
markdownYesMarkdown or plain text to lint, at most 2 MB.
content_typeNoContent type used to select applicable checks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive properties, so the bar is lower. The description nonetheless adds real caveats: the result is a rulebook match rather than a citation ('a grade or a pass is not a citation'), the pass/fail comes from a deterministic judge rather than an LLM, and results are reproducible by re-running after edits. The 'judge: engine / judge: agent' phrasing is internal jargon that is hard to act on, 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.

Conciseness4/5

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

It is front-loaded with purpose before the labeled 'Use when / Avoid when / Do not claim / Verify' blocks, which read well. Some content duplicates the schema (detail=failures) and the trailing judge passages are dense and marginal for tool selection, but nothing is grossly padded for a tool of this complexity.

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?

With no output schema, the description usefully previews the return shape (rule IDs, fix hints, grades) and explains the failure-only mode, so an agent knows what it will get back. The one gap is that a pass/fail semantics is asserted but the notion of grade_basis and group grades is only referenced in passing, leaving part of the output unexplained.

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%, so the schema already documents detail, markdown and content_type fully. The description only restates the detail=failures behavior for batched callers and says nothing about content_type or the size limit, so it adds little beyond the structured fields — baseline 3.

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 opens with a specific verb and resource — 'Run text-target checks ... over markdown or plain text' — and names the exact checks (BLUF lead, repeated-phrase stuffing, paragraph length) plus the return payload (rule IDs, fix hints). It also explicitly distinguishes itself from two siblings, so an agent can separate it from lint_html and scan_url without opening a schema.

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

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states an explicit 'Use when' condition (draft is markdown or plain text) and an explicit 'Avoid when' condition that routes to lint_html for HTML and scan_url for a live URL. It also adds a verification loop ('Edit the text and call lint_text again') and a batching cue for detail=failures.

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.