Skip to main content
Glama
emailmd

emailmd

Lint an email

lint
Read-onlyIdempotent

Check emailmd markdown for deliverability, accessibility, and readability issues before sending, including missing alt text, insecure links, Gmail clipping, generic link text, and spam-trigger phrases.

Instructions

Check emailmd markdown for deliverability, accessibility, and readability problems without rendering it: missing alt text, http:// links, Gmail's 102KB clip limit, generic link text, spam-trigger phrases, and more. Fix warnings before sending; suggestions are sometimes intentional (e.g. transactional emails without an unsubscribe link).

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

Input Schema

NameRequiredDescriptionDefault
markdownYesThe emailmd markdown document, optionally starting with YAML frontmatter.
partialsNoNamed markdown partials spliced in wherever the document says "::: include <name>".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that by disclosing a two-tier result model (warnings vs. suggestions) and the fact that suggestions can be legitimate, but it doesn't state the actual output shape or how findings are ordered/counted.

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?

Two sentences, purpose front-loaded, followed by a dense but scannable list of concrete checks and a single caveat. Every clause carries information an agent can act on; nothing is restated from the title or schema.

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?

No output schema exists, so the description has to convey what comes back; it implies a findings list split into warnings and suggestions, which is enough for an agent to plan. With only two well-documented parameters, the remaining gap is the absence of an explicit return-format or severity-ordering statement.

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?

Schema coverage is 100% and both parameters (markdown, partials) are documented in the schema, so baseline 3 applies. The description does add one piece of meaning not in the schema: it confirms the input is emailmd markdown whose deliverability constraints (102KB clip, http:// links) are being validated, framing why the format matters, though it says nothing about partials splicing.

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?

States a specific verb ('Check') and resource ('emailmd markdown') plus the exact defect classes it looks for (deliverability, accessibility, readability), with concrete examples like missing alt text and the Gmail 102KB clip limit. The phrase 'without rendering it' also separates it from the sibling 'render' without needing to open either schema.

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?

Explicitly scopes the tool to pre-send use ('Fix warnings before sending') and warns that some suggestions are intentional for transactional emails, which tells the agent when not to treat a finding as an error. It doesn't name an alternative tool or state the ordering relative to read_docs/render, so the routing guidance is contextual rather than exhaustive.

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