Skip to main content
Glama

Truvek Design

Lint email HTML

design_lint
Read-onlyIdempotent

Checks any email HTML (hand-written, AI-generated, from an ESP or a CRM) against 51 rules covering Outlook, Gmail, mobile, dark mode, accessibility, merge tags, links, images, deliverability, Spam Act basics and code-generation leftovers (unrendered ${}, 'undefined', JSX attributes, Tailwind classes, localhost links). Every finding includes rule id, line, affected clients, why it matters and the fix. Use stage=rendered on the exact HTML a recipient would get.

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": {
      "html": "<html>"
    },
    "name": "design_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes
kindNomarketing
stageNotemplate
verbosityNofull

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond that by disclosing the output shape ('rule id, line, affected clients, why it matters and the fix'), which matters because no output schema exists, plus coverage breadth (51 rules, named client targets and spam-law checks).

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?

Three sentences, front-loaded with the core check and followed by output shape and a usage tip; little is wasted. The domain enumeration ('Outlook, Gmail, mobile, dark mode, accessibility, merge tags, links, images...') is a long list but earns its place by conveying coverage, though it could be tightened.

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?

For a four-parameter analysis tool with no output schema, the description covers what is checked, what a finding contains, and the key staging caveat, which is nearly everything an agent needs. The remaining gap is the unexplained kind and verbosity parameters, which could change results or output volume.

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 0%, so the description carries the burden, and it only partially pays it: it clarifies that stage=rendered should be used on the exact recipient-received HTML, which adds genuine meaning to that enum. The kind (marketing/transactional) and verbosity (full/compact) enums are never mentioned, so their effect on rules or output size is left to inference.

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?

Uses a specific verb ('Checks') on a specific resource ('any email HTML') and enumerates the exact rule domains covered, including code-generation leftovers. The checking-only framing implicitly distinguishes it from fixer/compiler siblings such as design_autofix and design_compile, so an agent knows this is the diagnostic tool rather than the remediation one.

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

Usage Guidelines3/5

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

The only actionable guidance is 'Use stage=rendered on the exact HTML a recipient would get', which is a parameter-level instruction rather than a when-to-use rule. There is no statement of when to prefer this over design_autofix or design_compile, nor any prerequisite or exclusion, so usage is only implied by the word 'Checks'.

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.