Accessibility Agents
v7.1.0WCAG 2.2 scanners for web pages, Office, PDF, ePub and Markdown: contrast, axe, veraPDF and more.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_contrast Check Contrast Ratio
Calculate WCAG contrast ratio between two colors. Returns the ratio and whether it passes AA for normal text (4.5:1), large text (3:1), and UI components (3:1).
| Parameter | Type | Description |
|---|---|---|
background * | string | Background color as hex (e.g. "#ffffff" or "#000") |
foreground * | string | Foreground color as hex (e.g. "#1a1a1a" or "#fff") |
check_apca_contrast Check APCA Contrast (Experimental)
Calculate APCA lightness contrast between two colours, an experimental perceptual method that no WCAG standard, and not the current WCAG 3.0 draft, includes.
| Parameter | Type | Description |
|---|---|---|
background * | string | Background color as hex (e.g. "#ffffff" or "#000") |
foreground * | string | Text color as hex (e.g. "#1a1a1a" or "#fff") |
get_accessibility_guidelines Get Accessibility Guidelines
Get detailed WCAG AA accessibility guidelines for a specific component type. Returns requirements, code examples, and common mistakes.
| Parameter | Type | Description |
|---|---|---|
component * | string | The type of component to get guidelines for |
check_heading_structure Check Heading Structure
Analyze HTML content for heading hierarchy issues: skipped levels, multiple H1s, missing H1.
| Parameter | Type | Description |
|---|---|---|
html * | string | HTML content to analyze |
check_link_text Check Link Text
Analyze HTML for ambiguous or missing link text. Checks for 'click here', 'read more', empty links.
| Parameter | Type | Description |
|---|---|---|
html * | string | HTML content to analyze |
check_form_labels Check Form Labels
Analyze HTML form inputs for missing accessible labels. Checks <label for>, aria-label, aria-labelledby, and title.
| Parameter | Type | Description |
|---|---|---|
html * | string | HTML content to analyze |
scan_office_document Scan Office Document for Accessibility
Scan a .docx, .xlsx, or .pptx file for accessibility issues. Checks title, language, alt text, headings, table headers, and more.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the Office document |
scan_pdf_document Scan PDF Document for Accessibility
Scan a PDF file for accessibility issues using PDF/UA checks. Checks tagging, structure, language, alt text, bookmarks, forms, and more.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the PDF file |
reportPath | string | File path to write a markdown accessibility report |
sarifPath | string | File path to write SARIF 2.1.0 output |
extract_document_metadata Extract Document Metadata
Extract accessibility-relevant metadata from an Office document or PDF. Returns title, author, language, page count, and accessibility property health.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the document file (.docx, .xlsx, .pptx, or .pdf) |
batch_scan_documents Batch Scan Documents
Scan multiple Office and PDF documents for accessibility issues in a single call. Returns a summary with per-file results.
| Parameter | Type | Description |
|---|---|---|
filePaths * | array | Array of absolute file paths to scan (max 50) |
run_axe_scan Run axe-core Accessibility Scan
Run an axe-core scan against a URL or HTML file and return the violations as findings.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to scan (http or https) |
exclude | array | CSS selectors to exclude from scan |
include | array | CSS selectors to include in scan |
tags | array | axe-core tags to filter by (default: ["wcag2a", "wcag2aa", "wcag21a", "wcag21aa", "wcag22aa"], every WCAG 2.2 A and AA rule) |
run_playwright_a11y_tree Get Accessibility Tree
Capture the accessibility tree of a page via Playwright. Shows how screen readers perceive the page structure.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to analyze |
root | string | CSS selector for subtree root |
run_playwright_keyboard_scan Keyboard Navigation Scan
Test keyboard navigation by tabbing through all interactive elements on a page. Reports focus order, focus visibility, and keyboard traps.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to test |
maxTabs | number | Maximum Tab presses (default: 50) |
run_playwright_contrast_scan Visual Contrast Scan
Scan a page for text elements that fail WCAG AA contrast requirements by sampling computed styles.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to scan |
run_playwright_viewport_scan Viewport Reflow Test
Load the page at 320, 768, 1024 and 1280 CSS pixels wide and report horizontal scrolling, a WCAG 1.4.10 Reflow check that does not test zoom or text resize.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to test |
run_verapdf_scan Run veraPDF PDF/UA Scan
Validate a PDF against PDF/UA with veraPDF and return the failed checks as findings.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the PDF file |
flavour | string | veraPDF validation flavour (default: "ua1" for PDF/UA-1) |
sarifPath | string | Optional path to write SARIF 2.1.0 output for CI/code scanning integration |
check_verapdf_installation Check veraPDF Installation
Health check for veraPDF CLI. Auto-detects installation, reports version, checks Java dependency, and provides platform-specific installation guidance if missing.
convert_pdf_form_to_html Convert PDF Form to Accessible HTML
Extract form fields from a PDF and generate an accessible HTML representation. Useful for reviewing PDF form accessibility or migrating paper forms to web.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the PDF file |
scan_epub_document Scan EPUB Document
Scan an .epub for EPUB Accessibility 1.1 conformance, reading order, navigation and metadata.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the .epub file |
reportPath | string | Optional path to write a markdown accessibility report |
sarifPath | string | Optional path to write SARIF 2.1.0 output |
scan_markdown_document Scan Markdown Document
Scan a markdown file for link text, alt text, heading order, table and emoji accessibility issues.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the .md file |
reportPath | string | Optional path to write a markdown accessibility report |
glow_health_check GLOW Health Check
Check health of a GLOW API endpoint (defaults to `https://letitglow.app/mcp`).
| Parameter | Type | Description |
|---|---|---|
baseUrl | string | Optional GLOW API base URL |
timeoutMs | integer |
glow_audit_document GLOW Audit Document
Upload a document to GLOW and run accessibility audit (/audit). Supports markdown, html, and docx.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to local file |
format * | string | Document format |
baseUrl | string | Optional GLOW API base URL |
timeoutMs | integer |
glow_fix_document GLOW Fix Document
Upload a document to GLOW and run auto-fix workflow (/fix). Supports markdown, html, and docx.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to local file |
format * | string | Document format |
baseUrl | string | Optional GLOW API base URL |
timeoutMs | integer |
glow_convert_document GLOW Convert Document
Upload a document to GLOW and convert format (/convert). Supports markdown, html, and docx.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to local file |
fromFormat * | string | Source format |
toFormat * | string | Target format |
baseUrl | string | Optional GLOW API base URL |
timeoutMs | integer |
glow_generate_report GLOW Generate Report
Upload a document to GLOW and generate report output (/report). Supports markdown, html, and docx.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to local file |
format * | string | Document format |
baseUrl | string | Optional GLOW API base URL |
reportType | string | Report type (default: json) |
timeoutMs | integer |
save_audit_result Save Audit Result
Save a scan result to the audit history so later runs can show a delta and compliance evidence stays in the repository.
| Parameter | Type | Description |
|---|---|---|
findingCount * | number | Total number of findings |
target * | string | Target that was scanned (URL, file path, or folder path) |
type * | string | Type of scan that produced these results |
errorCount | number | Number of error-severity findings |
findings | array | Array of individual findings (optional, for detailed storage) |
grade | string | Letter grade (A-F) |
retention | number | Max audits to keep per target (default: 30) |
score | number | Overall accessibility score (0-100) |
toolVersion | string | Version of the scanning tool |
warningCount | number | Number of warning-severity findings |
list_audit_history List Audit History
List stored accessibility audit results from .a11y-history/. Filter by scan type, target, or date range. Returns summaries with scores and finding counts.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results to return (default: 20, newest first) |
target | string | Filter by target (exact match on path/URL) |
type | string | Filter by scan type |
get_audit_result Get Audit Result
Retrieve a specific stored audit result by its ID. Returns the full audit record including all findings.
| Parameter | Type | Description |
|---|---|---|
auditId * | string | Audit ID (filename without .json extension, from list_audit_history) |
prune_audit_history Prune Audit History
Remove old audit results beyond the retention limit for each target. Keeps the newest N audits per target and deletes the rest.
| Parameter | Type | Description |
|---|---|---|
retention | number | Max audits to keep per target (default: 30) |
get_audit_trend Get Audit Score Trend
Return the score history for one target, with direction, delta and finding velocity, so a trend can be reported.
| Parameter | Type | Description |
|---|---|---|
target * | string | Target to compute trend for (URL or file path) |
limit | number | Max historical scans to include (default: 20) |
render_accessibility_report Render an accessibility report
Render a complete audit report from findings JSON. Produces every required section, computes the score and grade, and embeds the merged findings so the next run can show a delta.
| Parameter | Type | Description |
|---|---|---|
findings * | array | Findings payloads, each matching skills/a11y-core/schemas/findings.schema.json. |
outputPath | string | Where to write the report. Defaults to the template's standard filename in the working directory. |
template | string | Which report shape to render. |
fix_document_metadata Fix Document Metadata
Fix common metadata accessibility issues in Office documents: missing title, missing language, missing author. Returns a report of changes made.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the document (.docx, .xlsx, .pptx) |
author | string | Document author to set |
language | string | Document language to set (BCP 47 tag, e.g. "en-US") |
title | string | Document title to set |
fix_document_headings Fix Document Headings
Analyze and report heading structure issues in Office documents with fix instructions. Detects skipped levels, missing Heading 1, visual-only formatting, and provides remediation steps.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the document (.docx) |
check_audit_cache Check Audit Cache
Check whether a cached audit result exists and is still fresh for this target.
| Parameter | Type | Description |
|---|---|---|
filePaths * | array | Array of file paths to check against the cache |
cacheFile | string | Path to cache file (default: .a11y-cache.json in project root) |
maxAgeDays | number | Treat entries older than this many days as expired and needing re-scan. Default: no expiry |
useContentHash | boolean | Use SHA-256 content hash instead of size+mtime (more reliable but slower). Default: false |
update_audit_cache Update Audit Cache
Update the component audit cache (.a11y-cache.json) after scanning files. Stores file hashes, finding counts, severity breakdown, and scan timestamp so unchanged files can be skipped on re-audit.
| Parameter | Type | Description |
|---|---|---|
entries * | array | Array of scan results to cache |
cacheFile | string | Path to cache file (default: .a11y-cache.json in project root) |
useContentHash | boolean | Use SHA-256 content hash instead of size+mtime. Default: false |
check_color_blindness Check Color Blindness
Simulate how a color pair looks under different types of color vision deficiency (protanopia, deuteranopia, tritanopia, achromatopsia). Returns simulated colors and whether distinction is maintained.
| Parameter | Type | Description |
|---|---|---|
colors * | array | Array of hex colors to compare (e.g. ['#FF0000', '#00FF00']) |
check_reading_level Check Reading Level
Estimate the reading level of a passage and report whether it meets the requested grade.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text content to analyze |
validate_caption_file Validate Caption File
Validate a WebVTT or SRT caption file for syntax errors, timing overlaps, excessive caption rate, and missing speaker identification. Helps ensure media accessibility compliance (WCAG 1.2.2, 1.2.4).
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the .vtt or .srt caption file |
generate_accessibility_statement Generate Accessibility Statement
Generate a W3C or EU model accessibility statement from provided information. Outputs a Markdown document ready for publishing.
| Parameter | Type | Description |
|---|---|---|
conformanceStatus * | string | Overall conformance status |
contactEmail * | string | Accessibility feedback contact email |
organization * | string | Organization name |
websiteUrl * | string | Website URL covered by the statement |
assessmentDate | string | Date of last assessment (ISO format) |
assessmentMethod | string | How the assessment was conducted |
compatibleWith | array | Browsers and assistive technologies tested |
conformanceLevel | string | Target WCAG level (default: AA) |
format | string | Statement format: w3c (default) or eu |
knownLimitations | array | Known accessibility limitations |
technologies | array | Technologies relied upon (e.g. HTML5, CSS3, WAI-ARIA) |