Skip to main content
Glama
adsandcode

mcp-server-contentgate

by adsandcode

contentgate

Pre-deploy guards for content sites. Python CLI and an MCP server, sharing one test suite.

Documentation and background: adsandcode.com/en/open-source/contentgate

These checks exist because each of them was written the day after the thing it checks for went live and cost something.

negative tests
  keywords
    [ok] expected block got block  primary keyword appears once, threshold is three
    [ok] expected block got block  spaced variant must not satisfy the unspaced keyword
    ...
  160 passed, 0 failed

checks
  [ ok ] keywords   choosing-a-cms (1200/1200 volume covered)
  [FAIL] keywords   headless-vs-monolith (300/750 volume covered)
      missing keyword 'headless cms' (volume 450): found 2 time(s), needs 3
  [ ok ] i18n       fr: 19 document(s)
  [ ok ] lastmod    19 page(s), 0 genuinely changed

[FAIL] 1 check(s) failed. Deploy blocked.

The one design rule

A guard that has never been shown to fail is decoration.

Every check ships negative tests: inputs it is required to reject. The suite runs before any verdict is reported, and a failing suite exits 2 without saying anything about your content. A checker that cannot prove it still catches a known-bad input does not get to tell you your site is fine.

This is not theoretical. Guards written for this project have included: one that read its keyword out of the site-wide footer and therefore passed every page ever; one that ran after the step that regenerated the file it was checking; and one whose exit code was discarded by the shell pipeline it lived in, so it printed "deploy blocked" while the deploy proceeded. All three looked fine. All three were found by asking them to fail on purpose.

Related MCP server: Agentimus MCP Server

The checks

Check

What it catches

keywords

The page covers the topic and never contains the term people search for.

translation

A translation that is no longer structurally the same document: dropped table row, changed price, internal link that lost its locale prefix.

internal_links

A guide that ranks, gets read, and sends nobody anywhere, because its only commercial link lives in site-wide boilerplate or points at another site.

claims

Affirmative performance claims in regulated copy, without firing on the disclaimer that negates them.

lastmod

A sitemap that stamps today's date on every URL every build and trains crawlers to ignore the field.

Three details that look fussy and are not:

Whitespace is never normalised in keyword matching. web hosting and webhosting are different strings with different search volumes, and in languages that do not put spaces between words the gap between the two forms can be an order of magnitude. Letting one satisfy the other is how a guard passes a page that targets neither. This was found twice, on two pages, after publication.

Boilerplate is excluded from every body check. A call-to-action block present on every page will otherwise satisfy keywords and internal_links everywhere, which means both checks pass always.

Ties are not broken by dictionary order. Every keyword at the highest volume is primary. The alternative, taking the first maximum, makes the verdict depend on the order of keys in a JSON file, which is stable right up until someone reorders the table.

Two more that changed in 0.2.0:

A commercial link has to point at your own site. A relative link counts. An absolute link counts only when its host is in site_hosts or a subdomain of one, compared on label boundaries and read the way a browser reads it; without site_hosts, absolute links never count. A link to https://competitor.example/pricing/ ends in /pricing/ and sells someone else's product. The money path is matched against the path, not the query string, so /blog/?next=/pricing/ is not a pricing link.

A disclaimer has to negate the claim itself. A negation anywhere in the sentence used to be enough, so 「保證獲利,絕不會虧損」 (guaranteed profit, never a loss) passed because it negates the loss. Now a claim is exempt only when a negator or prohibition stands shortly before it in the same clause (at most three words or two Han characters between, no comma): 不保證獲利, 不做保證獲利宣稱, "we do not guarantee profit", "no guaranteed returns", "never promise guaranteed income". Idioms that only look negative ("not only", "don't miss", "no risk", 不僅, 不斷, 沒有風險) do not count, the 不 inside 穩賺不賠 is part of the claim, every phrase in a governed list shares the exemption, and a phrase named as forbidden ("guaranteed profit claims are banned", 保證獲利等字眼一律不得使用) is not asserted. It is a net for copy review, not a legal opinion, and it errs towards flagging.

Page-level SEO/GEO audit

New in 0.2.0: checks on a built page that is meant to be found, both through search engines (SEO) and through AI assistants that read and cite pages (GEO). Run them on the HTML your server actually sends, not on the source.

Check

Fails when

visible_text

fewer than min_chars characters are readable with JavaScript off

structured_data

a JSON-LD block does not parse, a required @type is missing, or there is no dateModified

outbound_links

an external link carries none of nofollow, sponsored, ugc and its site is not in cite_ok

images

an <img> has no alt or no width

favicon

the home page declares no icon in its head, or only formats Google Search does not list

stock_phrases

a phrase from your list appears in the body copy

duplicate_sentences

two pages share more than max_share of their sentences word for word

Text a crawler sees without JavaScript. Google renders JavaScript before indexing. Many AI crawlers do not: a December 2024 measurement by Vercel found that the crawlers behind ChatGPT and Claude do fetch JavaScript files but do not execute them, and that none of the major AI crawlers it observed render JavaScript. An article written into the page by a script is, to them, a navigation bar and a footer. The check drops <script> and <style>, drops <template> elements and any element with the hidden attribute, children included (aria-hidden is left alone: it hides an element from assistive technology, not from the screen), reads only <main> when the page has one, drops <nav> and <footer>, removes <wbr> and zero-width spaces without leaving a gap (a word broken for line wrapping is still one word), decodes entities and counts what is left. The default of 1200 characters is a house rule, not a number any search engine publishes. Short pages such as author profiles need a lower min_chars or no visible_text check at all.

Structured data, parsed. Every application/ld+json block goes through a real JSON parser, so a trailing comma or a NaN is a failure rather than something a text search would count as present. Types are collected from each item, from @graph, and from author, publisher and creator, where Organization and Person usually sit. The default requirement is Article, BreadcrumbList and Organization. A required type is satisfied by its schema.org subtypes: Article by all eighteen of them (NewsArticle and BlogPosting, which Google's Article documentation names, plus TechArticle, ScholarlyArticle, Report, SocialMediaPosting, LiveBlogPosting, the *NewsArticle family and the rest), and Organization by its direct subtypes (Corporation, NGO, NewsMediaOrganization, EducationalOrganization, OnlineBusiness, LocalBusiness ...) and the common families under them (schools, medical organisations, restaurants and other food establishments, lodging, stores, financial services). The Organization list is a curated part of the schema.org tree, not all of it; the full table is SUBTYPES in src/contentgate/guards/structured_data.py, and a type it does not list has to be required by name. A page that declares ProfilePage is not required to be an Article, since Google's ProfilePage documentation lists an author page on a news site among its intended uses. Requiring a type does not make any search engine show anything; it checks that what you meant to declare is there and parses. dateModified has to be true to mean anything: a date that moves on every build is the same lie the lastmod guard exists to stop.

Outbound links, resolved the way a browser resolves them. Google asks for paid and affiliate links to carry rel="sponsored", user-generated links rel="ugc", and nofollow where neither fits; an ordinary editorial link needs no rel at all, and several values may be given space- or comma-separated. A program cannot tell a citation from a placement, so every external link without one of the three is reported unless its site is in cite_ok. Before deciding where a link goes, the href is read as a browser reads it: tabs and newlines removed, a backslash treated as a slash, any run of slashes after https: starting the host. Without that, https://partner.example\.gov.example/ looks to urllib like a host under gov.example, while every browser opens partner.example. Hosts are compared on label boundaries, so evilexample.org is not under example.org, and a page's own subdomains count as internal. When a tag repeats rel, the first one wins, as it does in the browser.

A reported citation is not a reason to add nofollow to it. Google does not ask for any rel on ordinary editorial links, and marking every citation nofollow to make the check pass would misdescribe them. List the sites you cite in cite_ok instead, matched with their subdomains, for example ["gov.uk", "who.int"]: a suffix only government bodies can register is a reasonable entry. A registry anyone can register under, such as co.uk, github.io or pages.dev, is refused with an error, because listing it would exempt every site below it. Paid or affiliate partners never belong in cite_ok: they need rel="sponsored".

Images. Google uses alt text, together with the image and the page around it, to understand what an image shows; alt="" is a deliberate statement that an image is decorative and passes. A missing width lets text jump when the image arrives. web.dev also accepts reserving the space with CSS aspect-ratio, which an attribute check cannot see; if that is how your site does it, leave images out of the checks.

Favicon. Google reads the icon from a <link> in the head of the home page, so the check runs only when the page URL's path is empty or /. Accepted rel values are the ones Google documents (icon, which shortcut icon contains, apple-touch-icon, apple-touch-icon-precomposed). Google Search "supports the following favicon file formats: BMP, GIF, ICO, PNG, JPEG, PPM, and TIFF", so an SVG or WebP icon on its own fails. The format is read from the file extension of the URL path, ignoring any query string or fragment, or, for a data: URI, from its MIME type (data:image/png;... passes, data:image/svg+xml,... does not). Whether the file exists, its size and whether it is square need the built files and are not checked here.

Stock phrases. An editorial style check, not a detector of machine-written text: it finds phrases you have decided read as filler, and proves nothing about who or what wrote the page. The default list is Traditional Chinese, because that is where it was built and tested (總的來說, 值得注意的是, 綜上所述 and nine more). It is one editor's taste, and it is meant to be replaced: connectives such as 因此, and 然而, will flag perfectly ordinary sentences. For any other language, supply your own list; the defaults will never match. Matching is literal and case-insensitive, on the text a crawler sees, so a phrase inside a script or in the navigation does not count.

Duplicate sentences. Sentences are split on 。!? and on ., ! or ? followed by whitespace, so 4.99 does not end a sentence; sentences under ten characters are ignored. The share is measured in characters and in both directions, and the larger figure decides, because a short page copied whole into a long one is a small share of the long page and all of the short one. The default limit of 15% is a house rule.

Sources, checked when this release was written: qualifying outbound links (Google Search Central, updated 2025-12-10), favicons in search results (Google Search Central, updated 2026-08-28), ProfilePage structured data (Google Search Central, updated 2026-09-08), Article structured data (Google Search Central, updated 2026-09-08), image SEO (Google Search Central, updated 2026-03-02), optimizing layout shift (web.dev, updated 2025-02-07), and, as a third-party measurement, AI crawlers and JavaScript (Vercel, 2024-12-17).

Install

Python 3.8+, standard library only, no dependencies.

git clone https://github.com/adsandcode/contentgate
cd contentgate
python -m contentgate init          # writes contentgate.json
python -m contentgate check

Exit codes are the contract:

Code

Meaning

0

everything passed

1

a guard failed on your content

2

the guards' own negative tests failed, so no verdict was given

Wire it in front of your deploy and honour the exit code:

python -m contentgate check || exit 1
npx wrangler pages deploy site

The page audit also runs on a single built file, without a config:

python -m contentgate audit site/guide/index.html --url https://www.example.org/guide/
python -m contentgate audit site/index.html --url https://www.example.org/ \
    --cite-ok gov.uk --phrases phrases.txt --only visible_text --only favicon
python -m contentgate compare site/a/index.html site/b/index.html --max-share 0.15

--url is the address the page is served at: it decides which links are external and whether the page is the home page. --phrases is a UTF-8 file with one phrase per line and replaces the default list.

Configuration

contentgate.json, next to your project:

{
  "root": ".",
  "scope": ["article", "post"],
  "exclude_classes": ["cta"],
  "guards": {
    "keywords": {
      "enabled": true,
      "table": "content/keywords.json",
      "page_for_slug": "site/blog/{slug}/index.html",
      "primary_min_hits": 3
    },
    "internal_links": {
      "enabled": true,
      "pages": "site/blog/*/index.html",
      "money_paths": ["/products/", "/plans/"],
      "require_figure": true,
      "site_hosts": ["www.example.org"]
    },
    "translation": {
      "enabled": true,
      "source_dir": "content/blog",
      "locales": ["de", "fr", "ja"],
      "same_script_locales": [],
      "native": "content/blog/_native.json"
    },
    "lastmod": {
      "enabled": true,
      "pages": "site/**/index.html",
      "state": ".contentgate-lastmod.json",
      "strip_classes": [],
      "bulk_change_threshold": 0.3
    }
  }
}

scope is the element that holds the real content, as [tag, class]. exclude_classes is your boilerplate. Both matter more than they look.

same_script_locales is for targets that legitimately share the source script, such as Simplified Chinese from a Traditional Chinese source. Without it, the leftover-characters check fails every document in that locale forever.

bulk_change_threshold stops a run that moves more than that share of lastmod dates at once. Adding a block to every page changes every hash, which moves every date, which is the lie the check exists to prevent. It looks identical to a legitimate mass edit, so the run stops and asks rather than writing silently.

content/keywords.json maps a page to its terms and their real monthly volumes:

{
  "choosing-a-cms": { "headless cms": 450, "cms comparison": 200 }
}

Use numbers from a tool. A guard fed invented volumes enforces invented priorities.

The page audit and the duplicate check read the built site:

{
  "guards": {
    "page_audit": {
      "enabled": true,
      "site_dir": "site",
      "site_url": "https://www.example.org",
      "pages": "**/*.html",
      "skip": ["404.html"],
      "checks": ["visible_text", "structured_data", "outbound_links", "images", "favicon", "stock_phrases"],
      "min_chars": 1200,
      "require_types": ["Article", "BreadcrumbList", "Organization"],
      "require_date_modified": true,
      "cite_ok": ["gov.uk"],
      "stock_phrases": null
    },
    "duplicate_sentences": {
      "enabled": true,
      "site_dir": "site",
      "pages": "**/*.html",
      "skip": ["404.html"],
      "max_share": 0.15
    }
  }
}

Each file is judged under the URL it is served at: index.html is /, guide/index.html is /guide/, guide/faq.html is /guide/faq.html. Files named in skip are left out at every level. A glob that matches nothing fails rather than passing an empty site. stock_phrases: null keeps the default list; [] flags nothing. The duplicate check finds pairs through an index of shared sentences instead of comparing every page with every other.

MCP server

The same checks as tools an assistant can call while it is writing a page, rather than after the page is deployed.

npx mcp-server-contentgate
{
  "mcpServers": {
    "contentgate": { "command": "npx", "args": ["-y", "mcp-server-contentgate"] }
  }
}

Tools: check_keywords, check_translation, check_internal_links, check_claims, sitemap_lastmod, content_hash, audit_page (the six single-page checks above, each switchable) and compare_pages (duplicate sentences between two pages).

Every tool is pure: content in, verdict out. No filesystem access, no network access, nothing written. The server runs its negative tests at startup and refuses to start if they fail.

The same guards are importable as plain functions, without starting anything: import { checkClaims, auditPage } from "mcp-server-contentgate". The package's main is a module with no side effects; only the mcp-server-contentgate command starts the server.

Why there are two implementations

The Python CLI runs in a deploy pipeline. The MCP server runs inside an assistant while the content is being written. Neither replaces the other.

They share fixtures/cases.json, and both are required to produce identical verdicts on every case in it. If they disagree, one has drifted and CI fails.

python -m contentgate selftest     # 160 passed, 0 failed
cd mcp && npm run build && npm run selftest

Agreeing on page markup takes more than the same regular expressions. The Python side reads links, images and icons with the standard library's HTML parser and decodes entities with html.unescape; the TypeScript side carries a port of that parser's tokeniser and of html.unescape with the full entity table, so &hellip; is one character in both. The parser itself changed how it reads badly malformed markup in 2025, so the shared cases stick to markup every supported Python version reads the same way.

Contributing

A pull request that adds a check must add its negative tests to fixtures/cases.json and implement it on both sides. That is the whole bar.

If you found a way to make a guard pass something it should have caught, that is the most useful issue you can file.

Licence

MIT.

Maintainer

Built and maintained by Ads & Code.

Available Tools

6 tools
check_claimsA

Scan copy for affirmative performance claims of the kind that get finance, gambling and health advertising rejected: guaranteed profit, stated win rates, promised returns. Sentences that exist to disclaim or prohibit those phrases are not flagged.

NameRequiredDescriptionDefault
textYesPlain text or HTML. HTML tags are ignored.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It clearly states that disclaimers/prohibitions are not flagged, which is a meaningful behavioral nuance. It also notes that HTML tags are ignored, which is a useful input-handling detail. It does not disclose output format or whether the tool returns matches, counts, or a pass/fail, but the core behavior is transparent enough for a scanning tool.

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, no filler, and the key scoping information is front-loaded. The first sentence defines the target precisely; the second sentence clarifies an important exclusion. Every word earns its place.

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 single-parameter scanning tool with no output schema, the description is nearly complete. It tells the agent what to scan for, what not to flag, and how the input is handled. The only missing piece is what the tool returns (e.g., list of flagged phrases, boolean, count), but that is not required by the rubric since there is no output schema. Still, a brief note on return format would make it fully complete.

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 the single parameter 'text' is described as 'Plain text or HTML. HTML tags are ignored.' The description adds context about what kind of text is relevant (copy with performance claims) and the exclusion of disclaimers, which goes beyond the schema. Since there is only one parameter and the schema already covers it, the description's additional context earns a 4.

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 states a specific verb ('scan'), a specific resource ('copy'), and a precise target ('affirmative performance claims' in finance, gambling, and health advertising). It also explicitly excludes disclaimers/prohibitions, which distinguishes it from a generic keyword checker. This is a clear, specific purpose that an agent can act on.

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 implies when to use this tool: when you need to detect affirmative performance claims in copy, especially in regulated advertising contexts. It does not explicitly name alternatives or state when not to use it, but the sibling list (check_keywords, check_translation, etc.) and the specific claim-focused language make the intended use clear. A small gap: no explicit 'use check_keywords for simple keyword matching' guidance.

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

check_keywordsA

Verify that target keywords actually appear in a rendered page. Every term tied at the highest search volume must appear at least primary_min_hits times; every other term at least once. Matching is literal and case-insensitive: whitespace is never normalised, because 'web hosting' and 'webhosting' are different terms with different search volumes.

NameRequiredDescriptionDefault
htmlYesRendered HTML of the page.
scopeNoElement to look inside, as [tag, class], e.g. ["article","post"]. Omit to read the whole document.
keywordsYesMap of keyword to monthly search volume, taken from real tool data.
exclude_classesNoClasses whose subtree is ignored. Use this for site-wide call-to-action blocks, otherwise they satisfy the check on every page.
primary_min_hitsNo

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full transparency burden. It discloses important behavioral nuances: literal case-insensitive matching, whitespace not normalized, and the special rule for highest-search-volume terms. It stops short of describing the return value, but the core verification behavior is clearly explained.

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?

Three sentences deliver purpose, threshold behavior, and matching semantics with no filler. The most important action is front-loaded, and every sentence adds distinct value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Input semantics are well covered, but there is no output schema and the description does not state what the tool returns (boolean, counts, missing keywords, etc.). Minor edge cases like empty keyword maps or invalid HTML are also unaddressed, leaving some uncertainty for an agent.

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?

The description adds real meaning beyond the schema by explaining how keyword search volumes determine which terms require primary_min_hits. It also clarifies that term matching is literal and case-insensitive, which directly informs how the keywords map is interpreted. Other parameters rely on the schema, but schema coverage is already high.

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?

Description opens with a clear verb and resource: 'Verify that target keywords actually appear in a rendered page.' It is easily distinguished from siblings such as check_translation, check_internal_links, and check_claims, which address different page qualities.

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 intended use is implied: call this tool when you need to confirm keyword presence in rendered HTML. However, the description never explicitly says when to prefer it over alternatives or when not to use it, so routing guidance is weak.

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

check_translationA

Compare a translation against its source document for structural drift: heading sequence, HTML tag sequence, table row count, internal link paths, price tokens, locale prefix on internal links, leftover source-script characters, introduced em dashes and emoji. This checks structure, not meaning: it cannot tell you a translation is good, only that it is no longer the same document.

NameRequiredDescriptionDefault
localeYesLocale code of the translation, e.g. "es". Internal links are expected to carry it as a prefix.
sourceYesThe source-language markdown.
translationYesThe translated markdown.
check_locale_prefixNo
forbid_source_scriptNoSet false when the target legitimately shares the source script, e.g. Simplified Chinese from a Traditional Chinese source.
require_front_matterNoRequire line 1 to be an H1 and line 2 to be a summary blockquote.

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure burden. It details the specific checks performed and explicitly states what the tool does not do, which is valuable transparency. It stops short of describing the output format or any error conditions, but for a read-only comparison tool this is substantial coverage.

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 with no filler. The first sentence front-loads the core purpose and then lists the concrete checks, while the second sentence immediately clarifies the tool's limitation. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is strong on scope and limits, but because there is no output schema, it does not explain the return value or how the agent should interpret the results. An agent invoking this tool would not know whether it returns a boolean, a list of mismatches, or a detailed report, which is a meaningful gap for a tool with no output schema.

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 83%, and the schema already documents parameters like locale, forbid_source_script, and require_front_matter well. The description adds context around what 'structural drift' means and references locale prefixes and source-script characters, mildly reinforcing parameter intent, but it does not add 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 uses a specific verb ('Compare') and resource ('a translation against its source document') and enumerates the exact structural dimensions checked. It also explicitly distinguishes this from meaning-based evaluation, which helps separate it from the sibling check_* tools.

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 clearly states the tool's scope ('structural drift') and its limitation ('cannot tell you a translation is good'), which gives a strong when-to-use signal. It does not explicitly name alternative tools, but the 'not meaning' exclusion effectively guides the agent away from using it for semantic checking.

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

content_hashA

Hash the meaningful content of a page, with volatile blocks and scripts removed. Use it to tell a real edit from a rebuild.

NameRequiredDescriptionDefault
bodyYes
strip_classesNo
strip_patternsNo

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It does disclose a key trait: volatile blocks and scripts are removed before hashing. However, it does not state whether the hash is deterministic, what algorithm is used, what the return value looks like, or whether the operation has side effects.

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, zero filler. The operation is first, the use case second. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although the tool's concept is simple, the missing parameter explanations and lack of any return-value description leave an agent under-informed. For a tool with no annotations and no output schema, the description should at least connect strip_classes/strip_patterns to the stripping behavior and indicate the type of result produced.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description mentions none of the three parameters by name. 'body' is only indirectly implied by 'content of a page', and 'strip_classes' and 'strip_patterns' — which presumably customize the volatile-block removal — are completely unexplained, forcing the agent to guess their meaning.

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 states a specific verb and resource ('Hash the meaningful content of a page') with a defining behavioral qualifier ('with volatile blocks and scripts removed'). It also gives the outcome ('tell a real edit from a rebuild'), which clearly differentiates it from the sibling check_* tools.

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 phrase 'Use it to tell a real edit from a rebuild' gives a concrete, actionable scenario for when this tool is appropriate. It does not explicitly name alternatives or exclusions, but the use case is specific enough that an agent can judge when to reach for it.

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

sitemap_lastmodA

Decide a sitemap lastmod date honestly. Hash the meaningful content of a page, compare it against the stored hash, and move the date only when the content genuinely changed. Stamping today's date on every URL every build teaches crawlers that the field carries no information.

NameRequiredDescriptionDefault
bodyYesCurrent HTML of the page.
todayYesToday's date, ISO format.
previous_hashNoStored hash from the last run, or null for a page seen for the first time.
strip_classesNoClasses to remove before hashing: visitor counters, build ids, anything that changes on its own.
strip_patternsNoRegular expressions to remove before hashing.
previous_lastmodNoStored lastmod, ISO date.

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does transparently reveal the core decision logic — content is hashed, compared to the stored hash, and the date advances only on real change — which is the tool's essential behavioral trait. But it omits the return value format, first-seen behavior when previous_hash is null, and failure modes for malformed strip_patterns.

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?

Three sentences with the purpose front-loaded in the first, the mechanism in the second, and a brief rationale in the third that explains why the behavior matters. No filler; every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 6 parameters, no annotations, and no output schema, so the description must disclose the return contract — but it never states what the function returns (a date string? a boolean? a full update?) or how it handles first-run cases (null previous_hash / null previous_lastmod). These are essential for an agent to invoke it correctly.

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 description coverage is 100%, putting the baseline at 3. The description's narrative adds an interaction model beyond the individual schema entries: body is hashed after stripping, compared against previous_hash, and previous_lastmod advances to today only on genuine change. This workflow-level meaning connects the parameters in a way the schema alone does not.

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 states a specific verb-resource pair — 'Decide a sitemap lastmod date honestly' — and explains the mechanism (hash content, compare with stored hash, move the date only on genuine change). This clearly differentiates the tool from sibling check_* tools and content_hash: the siblings inspect content or compute hashes, while this one decides a date.

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 use case is implied — computing honest lastmod dates during sitemap builds — and the anti-pattern ('Stamping today's date on every URL every build') is described well. However, the description never explicitly names an alternative or states when not to use this tool (e.g., when only a raw hash is needed, use content_hash), leaving the routing guidance implicit.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv0.1.0
    • First observedcheck_claims
    • First observedcheck_internal_links
    • First observedcheck_keywords
    • First observedcheck_translation
    • First observedcontent_hash
    • First observedsitemap_lastmod

TDQS

A4/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct content-quality dimension: keyword presence, translation structure, internal linking, advertising claims, sitemap lastmod dating, and hashing. Even the two hashing-related tools are cleanly separated as utility versus policy. No tool appears to duplicate another.

Naming Consistency3/5

Four tools follow a clear check_<object> pattern, but sitemap_lastmod and content_hash break the verb-first convention and read as nouns. The mixed style is still readable and predictable enough for moderate coherence.

Tool Count5/5

Six tools is well-scoped for a content-gate server, covering distinct compliance checks plus hashing support. Each tool earns its place, and the count is comfortably in the ideal range.

Completeness4/5

The tool surface covers the main content-gate checks and provides hashing support for honest lastmod decisions. Broader content QA checks like metadata validation or broken-link detection are absent, but those are outside the server's apparent specialization.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to capture screenshots, run visual diffs, accessibility audits, and batch sweep plans for web pages via MCP tools.
    33 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to interact with WordPress sites over MCP, providing read-only tools for AEO/GEO readiness, AI visibility, traffic, request logs, bot identification, page checks, and schema/markdown previews, plus opt-in write tools to draft, edit, and publish posts with permission checks and auditing.
    2
    GPL 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables editorial content QA over the Model Context Protocol with four local tools that analyze readability, AI-sounding language, SEO on-page factors, and produce full reports where every finding includes an actionable fix.
    4
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to audit URLs or raw HTML for SEO, AEO, and GEO performance, generate llms.txt manifests, and check the tool version via MCP tools.
    1
    MIT