Skip to main content
Glama
MauricioPerera

content-contracts-mcp-server

Lint de contenido web contra SEO.md

lint_web_content
Read-onlyIdempotent

Validates HTML pages against SEO.md content contracts, checking title length, meta description, language, pillar links, and more. Returns PASS/FAIL with violation details.

Instructions

Valida una o más páginas HTML contra los techos/pisos duros declarados en un SEO.md (protocolo: github.com/MauricioPerera/seo-md).

No escribe contenido — solo verifica lo que ya se escribió. Chequea: / dentro de sus presupuestos de caracteres (max_chars, y min_chars si está declarado), contra locale, que cada página no-pilar linkee a una pillar_page, títulos duplicados entre páginas, términos prohibidos bloqueados en / (informados, no bloqueados, si aparecen en el body — evita falsos positivos en frases comparativas), techo de densidad de keywords (nunca exige presencia), forbidden_structure (solo "table" tiene sentido en HTML), y validez del JSON-LD si está presente.

Args:

  • config (string): el bloque YAML de frontmatter de tu SEO.md, tal cual (sin los ---).

  • pages (array): páginas a validar, cada una { ruta, html }.

Returns: texto "PASS"/"FAIL" seguido del detalle por página (✗ = gate duro que bloquea, · = señal blanda informativa que nunca bloquea), más structuredContent con el resultado crudo.

Errores: si config no es YAML válido, o si a una página le falta /, se reporta como violación de gate duro, no como excepción — sigue devolviendo PASS/FAIL sobre el resto.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesYesPáginas a validar.
configYesFrontmatter YAML de un SEO.md (sin los delimitadores ---).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
passYes
pagesYes
Behavior5/5

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

Even with annotations declaring readOnlyHint, idempotentHint, and destructiveHint, the description adds deep behavioral detail: hard vs. soft gates, 'términos prohibidos' handling in body vs. title/meta, density never requiring presence, forbidden_structure, JSON-LD validation, and error handling as violations. This goes far beyond the structured annotations.

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?

The description is long but every sentence carries substantive information. It is front-loaded with the core purpose, then organized into validation checks, arguments, return value, and error behavior. No fluff or redundancy undermines its usefulness.

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?

Given the tool's complexity, the description is remarkably complete: it covers return format ('PASS'/'FAIL' plus detailed per-page output), structuredContent, error conditions, and edge cases like false-positive prevention for forbidden terms in body. The existence of an output schema further reduces the burden, but the description is still thorough.

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?

The input schema already provides 100% coverage with descriptions for both config and pages. The description mostly restates this info (e.g., 'config (string): el bloque YAML de frontmatter', 'pages (array): páginas a validar') without adding significant new semantic detail beyond the schema.

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 clearly states a specific action: 'Valida una o más páginas HTML contra los techos/pisos duros declarados en un SEO.md'. It names the resource (HTML pages, SEO.md) and distinguishes from siblings like lint_producthunt_post and lint_linkedin_content by targeting web content.

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?

The description provides clear context: it is a read-only validation tool for HTML pages against SEO.md rules, and explicitly says 'No escribe contenido — solo verifica lo que ya se escribió'. However, it does not explicitly name alternative tools or state when not to use it versus the sibling linters.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MauricioPerera/content-contracts-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server