{"at":"2026-11-23T04:10:11.004Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:10:11.360Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:10:11.461Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:10:11.828Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"completions":{},"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"a11y-agent-team","version":"7.1.0"}}}}
{"at":"2026-11-23T04:10:11.828Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:10:11.828Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:10:11.837Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check Contrast Ratio"},"description":"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).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"background":{"description":"Background color as hex (e.g. \"#ffffff\" or \"#000\")","type":"string"},"foreground":{"description":"Foreground color as hex (e.g. \"#1a1a1a\" or \"#fff\")","type":"string"}},"required":["foreground","background"],"type":"object"},"name":"check_contrast","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"A short explanation of the result.","type":"string"},"level":{"description":"The conformance level this result is judged against.","type":"string"},"passes":{"description":"Whether the measurement meets the threshold.","type":"boolean"},"threshold":{"description":"The value required to pass.","type":"number"},"unit":{"description":"What the value is measured in.","type":"string"},"value":{"description":"The measured value.","type":"number"}},"required":["passes"],"type":"object"},"title":"Check Contrast Ratio"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check APCA Contrast (Experimental)"},"description":"Calculate APCA lightness contrast between two colours, an experimental perceptual method that no WCAG standard, and not the current WCAG 3.0 draft, includes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"background":{"description":"Background color as hex (e.g. \"#ffffff\" or \"#000\")","type":"string"},"foreground":{"description":"Text color as hex (e.g. \"#1a1a1a\" or \"#fff\")","type":"string"}},"required":["foreground","background"],"type":"object"},"name":"check_apca_contrast","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"A short explanation of the result.","type":"string"},"level":{"description":"The conformance level this result is judged against.","type":"string"},"passes":{"description":"Whether the measurement meets the threshold.","type":"boolean"},"threshold":{"description":"The value required to pass.","type":"number"},"unit":{"description":"What the value is measured in.","type":"string"},"value":{"description":"The measured value.","type":"number"}},"required":["passes"],"type":"object"},"title":"Check APCA Contrast (Experimental)"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Get Accessibility Guidelines"},"description":"Get detailed WCAG AA accessibility guidelines for a specific component type. Returns requirements, code examples, and common mistakes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"component":{"description":"The type of component to get guidelines for","enum":["modal","tabs","accordion","combobox","carousel","form","live-region","navigation","general"],"type":"string"}},"required":["component"],"type":"object"},"name":"get_accessibility_guidelines","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Get Accessibility Guidelines"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check Heading Structure"},"description":"Analyze HTML content for heading hierarchy issues: skipped levels, multiple H1s, missing H1.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"html":{"description":"HTML content to analyze","type":"string"}},"required":["html"],"type":"object"},"name":"check_heading_structure","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Check Heading Structure"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check Link Text"},"description":"Analyze HTML for ambiguous or missing link text. Checks for 'click here', 'read more', empty links.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"html":{"description":"HTML content to analyze","type":"string"}},"required":["html"],"type":"object"},"name":"check_link_text","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Check Link Text"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check Form Labels"},"description":"Analyze HTML form inputs for missing accessible labels. Checks <label for>, aria-label, aria-labelledby, and title.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"html":{"description":"HTML content to analyze","type":"string"}},"required":["html"],"type":"object"},"name":"check_form_labels","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Check Form Labels"},{"_meta":{"anthropic/maxResultSizeChars":60000},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Scan Office Document for Accessibility"},"description":"Scan a .docx, .xlsx, or .pptx file for accessibility issues. Checks title, language, alt text, headings, table headers, and more.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the Office document","type":"string"}},"required":["filePath"],"type":"object"},"name":"scan_office_document","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Scan Office Document for Accessibility"},{"_meta":{"anthropic/maxResultSizeChars":60000},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Scan PDF Document for Accessibility"},"description":"Scan a PDF file for accessibility issues using PDF/UA checks. Checks tagging, structure, language, alt text, bookmarks, forms, and more.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the PDF file","type":"string"},"reportPath":{"description":"File path to write a markdown accessibility report","type":"string"},"sarifPath":{"description":"File path to write SARIF 2.1.0 output","type":"string"}},"required":["filePath"],"type":"object"},"name":"scan_pdf_document","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Scan PDF Document for Accessibility"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Extract Document Metadata"},"description":"Extract accessibility-relevant metadata from an Office document or PDF. Returns title, author, language, page count, and accessibility property health.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the document file (.docx, .xlsx, .pptx, or .pdf)","type":"string"}},"required":["filePath"],"type":"object"},"name":"extract_document_metadata","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Extract Document Metadata"},{"_meta":{"anthropic/maxResultSizeChars":120000},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Batch Scan Documents"},"description":"Scan multiple Office and PDF documents for accessibility issues in a single call. Returns a summary with per-file results.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePaths":{"description":"Array of absolute file paths to scan (max 50)","items":{"type":"string"},"maxItems":50,"type":"array"}},"required":["filePaths"],"type":"object"},"name":"batch_scan_documents","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Batch Scan Documents"},{"_meta":{"anthropic/maxResultSizeChars":80000},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Run axe-core Accessibility Scan"},"description":"Run an axe-core scan against a URL or HTML file and return the violations as findings.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"exclude":{"description":"CSS selectors to exclude from scan","items":{"type":"string"},"type":"array"},"include":{"description":"CSS selectors to include in scan","items":{"type":"string"},"type":"array"},"tags":{"description":"axe-core tags to filter by (default: [\"wcag2a\", \"wcag2aa\", \"wcag21a\", \"wcag21aa\", \"wcag22aa\"], every WCAG 2.2 A and AA rule)","items":{"type":"string"},"type":"array"},"url":{"description":"URL to scan (http or https)","type":"string"}},"required":["url"],"type":"object"},"name":"run_axe_scan","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Run axe-core Accessibility Scan"},{"_meta":{"anthropic/maxResultSizeChars":80000},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get Accessibility Tree"},"description":"Capture the accessibility tree of a page via Playwright. Shows how screen readers perceive the page structure.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"root":{"description":"CSS selector for subtree root","type":"string"},"url":{"description":"URL to analyze","type":"string"}},"required":["url"],"type":"object"},"name":"run_playwright_a11y_tree","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Get Accessibility Tree"},{"_meta":{"anthropic/maxResultSizeChars":80000},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Keyboard Navigation Scan"},"description":"Test keyboard navigation by tabbing through all interactive elements on a page. Reports focus order, focus visibility, and keyboard traps.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"maxTabs":{"description":"Maximum Tab presses (default: 50)","type":"number"},"url":{"description":"URL to test","type":"string"}},"required":["url"],"type":"object"},"name":"run_playwright_keyboard_scan","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Keyboard Navigation Scan"},{"_meta":{"anthropic/maxResultSizeChars":80000},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Visual Contrast Scan"},"description":"Scan a page for text elements that fail WCAG AA contrast requirements by sampling computed styles.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"url":{"description":"URL to scan","type":"string"}},"required":["url"],"type":"object"},"name":"run_playwright_contrast_scan","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Visual Contrast Scan"},{"_meta":{"anthropic/maxResultSizeChars":80000},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Viewport Reflow Test"},"description":"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.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"url":{"description":"URL to test","type":"string"}},"required":["url"],"type":"object"},"name":"run_playwright_viewport_scan","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Viewport Reflow Test"},{"_meta":{"anthropic/maxResultSizeChars":80000},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Run veraPDF PDF/UA Scan"},"description":"Validate a PDF against PDF/UA with veraPDF and return the failed checks as findings.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the PDF file","type":"string"},"flavour":{"description":"veraPDF validation flavour (default: \"ua1\" for PDF/UA-1)","enum":["4","ua1","ua2","1a","1b","2a","2b","2u","3a","3b","3u","4e","4f"],"type":"string"},"sarifPath":{"description":"Optional path to write SARIF 2.1.0 output for CI/code scanning integration","type":"string"}},"required":["filePath"],"type":"object"},"name":"run_verapdf_scan","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Run veraPDF PDF/UA Scan"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check veraPDF Installation"},"description":"Health check for veraPDF CLI. Auto-detects installation, reports version, checks Java dependency, and provides platform-specific installation guidance if missing.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"check_verapdf_installation","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Check veraPDF Installation"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Convert PDF Form to Accessible HTML"},"description":"Extract form fields from a PDF and generate an accessible HTML representation. Useful for reviewing PDF form accessibility or migrating paper forms to web.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the PDF file","type":"string"}},"required":["filePath"],"type":"object"},"name":"convert_pdf_form_to_html","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Convert PDF Form to Accessible HTML"},{"_meta":{"anthropic/maxResultSizeChars":60000},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Scan EPUB Document"},"description":"Scan an .epub for EPUB Accessibility 1.1 conformance, reading order, navigation and metadata.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the .epub file","type":"string"},"reportPath":{"description":"Optional path to write a markdown accessibility report","type":"string"},"sarifPath":{"description":"Optional path to write SARIF 2.1.0 output","type":"string"}},"required":["filePath"],"type":"object"},"name":"scan_epub_document","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Scan EPUB Document"},{"_meta":{"anthropic/maxResultSizeChars":60000},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Scan Markdown Document"},"description":"Scan a markdown file for link text, alt text, heading order, table and emoji accessibility issues.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the .md file","type":"string"},"reportPath":{"description":"Optional path to write a markdown accessibility report","type":"string"}},"required":["filePath"],"type":"object"},"name":"scan_markdown_document","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Scan Markdown Document"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"GLOW Health Check"},"description":"Check health of a GLOW API endpoint (defaults to `https://letitglow.app/mcp`).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"baseUrl":{"description":"Optional GLOW API base URL","type":"string"},"timeoutMs":{"exclusiveMinimum":0,"maximum":300000,"type":"integer"}},"type":"object"},"name":"glow_health_check","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"GLOW Health Check"},{"_meta":{"anthropic/maxResultSizeChars":60000},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"GLOW Audit Document"},"description":"Upload a document to GLOW and run accessibility audit (/audit). Supports markdown, html, and docx.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"baseUrl":{"description":"Optional GLOW API base URL","type":"string"},"filePath":{"description":"Absolute path to local file","type":"string"},"format":{"description":"Document format","enum":["markdown","html","docx"],"type":"string"},"timeoutMs":{"exclusiveMinimum":0,"maximum":300000,"type":"integer"}},"required":["filePath","format"],"type":"object"},"name":"glow_audit_document","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"GLOW Audit Document"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"GLOW Fix Document"},"description":"Upload a document to GLOW and run auto-fix workflow (/fix). Supports markdown, html, and docx.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"baseUrl":{"description":"Optional GLOW API base URL","type":"string"},"filePath":{"description":"Absolute path to local file","type":"string"},"format":{"description":"Document format","enum":["markdown","html","docx"],"type":"string"},"timeoutMs":{"exclusiveMinimum":0,"maximum":300000,"type":"integer"}},"required":["filePath","format"],"type":"object"},"name":"glow_fix_document","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"GLOW Fix Document"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"GLOW Convert Document"},"description":"Upload a document to GLOW and convert format (/convert). Supports markdown, html, and docx.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"baseUrl":{"description":"Optional GLOW API base URL","type":"string"},"filePath":{"description":"Absolute path to local file","type":"string"},"fromFormat":{"description":"Source format","enum":["markdown","html","docx"],"type":"string"},"timeoutMs":{"exclusiveMinimum":0,"maximum":300000,"type":"integer"},"toFormat":{"description":"Target format","enum":["markdown","html","docx"],"type":"string"}},"required":["filePath","fromFormat","toFormat"],"type":"object"},"name":"glow_convert_document","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"GLOW Convert Document"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"GLOW Generate Report"},"description":"Upload a document to GLOW and generate report output (/report). Supports markdown, html, and docx.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"baseUrl":{"description":"Optional GLOW API base URL","type":"string"},"filePath":{"description":"Absolute path to local file","type":"string"},"format":{"description":"Document format","enum":["markdown","html","docx"],"type":"string"},"reportType":{"description":"Report type (default: json)","enum":["json","text","html"],"type":"string"},"timeoutMs":{"exclusiveMinimum":0,"maximum":300000,"type":"integer"}},"required":["filePath","format"],"type":"object"},"name":"glow_generate_report","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"GLOW Generate Report"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Save Audit Result"},"description":"Save a scan result to the audit history so later runs can show a delta and compliance evidence stays in the repository.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"errorCount":{"description":"Number of error-severity findings","type":"number"},"findingCount":{"description":"Total number of findings","type":"number"},"findings":{"description":"Array of individual findings (optional, for detailed storage)","items":{"properties":{"location":{"type":"string"},"message":{"type":"string"},"ruleId":{"type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"wcagCriterion":{"type":"string"}},"required":["ruleId","message"],"type":"object"},"type":"array"},"grade":{"description":"Letter grade (A-F)","enum":["A","B","C","D","F"],"type":"string"},"retention":{"description":"Max audits to keep per target (default: 30)","maximum":1000,"minimum":1,"type":"number"},"score":{"description":"Overall accessibility score (0-100)","maximum":100,"minimum":0,"type":"number"},"target":{"description":"Target that was scanned (URL, file path, or folder path)","type":"string"},"toolVersion":{"description":"Version of the scanning tool","type":"string"},"type":{"description":"Type of scan that produced these results","enum":["web","office","pdf","epub","markdown"],"type":"string"},"warningCount":{"description":"Number of warning-severity findings","type":"number"}},"required":["type","target","findingCount"],"type":"object"},"name":"save_audit_result","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Save Audit Result"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"List Audit History"},"description":"List stored accessibility audit results from .a11y-history/. Filter by scan type, target, or date range. Returns summaries with scores and finding counts.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"description":"Max results to return (default: 20, newest first)","maximum":100,"minimum":1,"type":"number"},"target":{"description":"Filter by target (exact match on path/URL)","type":"string"},"type":{"description":"Filter by scan type","enum":["web","office","pdf","epub","markdown"],"type":"string"}},"type":"object"},"name":"list_audit_history","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"items":{"description":"The records returned.","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"total":{"description":"How many records exist, when more than were returned.","type":"number"}},"required":["items"],"type":"object"},"title":"List Audit History"},{"_meta":{"anthropic/maxResultSizeChars":60000},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Get Audit Result"},"description":"Retrieve a specific stored audit result by its ID. Returns the full audit record including all findings.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"auditId":{"description":"Audit ID (filename without .json extension, from list_audit_history)","type":"string"}},"required":["auditId"],"type":"object"},"name":"get_audit_result","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Get Audit Result"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Prune Audit History"},"description":"Remove old audit results beyond the retention limit for each target. Keeps the newest N audits per target and deletes the rest.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"retention":{"description":"Max audits to keep per target (default: 30)","maximum":1000,"minimum":1,"type":"number"}},"type":"object"},"name":"prune_audit_history","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Prune Audit History"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Get Audit Score Trend"},"description":"Return the score history for one target, with direction, delta and finding velocity, so a trend can be reported.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"description":"Max historical scans to include (default: 20)","maximum":100,"minimum":2,"type":"number"},"target":{"description":"Target to compute trend for (URL or file path)","type":"string"}},"required":["target"],"type":"object"},"name":"get_audit_trend","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"items":{"description":"The records returned.","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"total":{"description":"How many records exist, when more than were returned.","type":"number"}},"required":["items"],"type":"object"},"title":"Get Audit Score Trend"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Render an accessibility report"},"description":"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.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"findings":{"description":"Findings payloads, each matching skills/a11y-core/schemas/findings.schema.json.","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"minItems":1,"type":"array"},"outputPath":{"description":"Where to write the report. Defaults to the template's standard filename in the working directory.","type":"string"},"template":{"default":"web","description":"Which report shape to render.","enum":["web","document","markdown"],"type":"string"}},"required":["findings"],"type":"object"},"name":"render_accessibility_report","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What the file contains.","type":"string"},"format":{"description":"The format written.","type":"string"},"path":{"description":"The file written.","type":"string"}},"required":["path"],"type":"object"},"title":"Render an accessibility report"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Fix Document Metadata"},"description":"Fix common metadata accessibility issues in Office documents: missing title, missing language, missing author. Returns a report of changes made.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"author":{"description":"Document author to set","type":"string"},"filePath":{"description":"Absolute path to the document (.docx, .xlsx, .pptx)","type":"string"},"language":{"description":"Document language to set (BCP 47 tag, e.g. \"en-US\")","type":"string"},"title":{"description":"Document title to set","type":"string"}},"required":["filePath"],"type":"object"},"name":"fix_document_metadata","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Fix Document Metadata"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Fix Document Headings"},"description":"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.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the document (.docx)","type":"string"}},"required":["filePath"],"type":"object"},"name":"fix_document_headings","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Fix Document Headings"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check Audit Cache"},"description":"Check whether a cached audit result exists and is still fresh for this target.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cacheFile":{"description":"Path to cache file (default: .a11y-cache.json in project root)","type":"string"},"filePaths":{"description":"Array of file paths to check against the cache","items":{"type":"string"},"maxItems":50,"type":"array"},"maxAgeDays":{"description":"Treat entries older than this many days as expired and needing re-scan. Default: no expiry","type":"number"},"useContentHash":{"description":"Use SHA-256 content hash instead of size+mtime (more reliable but slower). Default: false","type":"boolean"}},"required":["filePaths"],"type":"object"},"name":"check_audit_cache","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Check Audit Cache"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Update Audit Cache"},"description":"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.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cacheFile":{"description":"Path to cache file (default: .a11y-cache.json in project root)","type":"string"},"entries":{"description":"Array of scan results to cache","items":{"properties":{"errorCount":{"description":"Number of error-severity findings","type":"number"},"filePath":{"description":"Absolute path to the scanned file","type":"string"},"findingCount":{"description":"Number of accessibility findings in this file","type":"number"},"warningCount":{"description":"Number of warning-severity findings","type":"number"}},"required":["filePath","findingCount"],"type":"object"},"type":"array"},"useContentHash":{"description":"Use SHA-256 content hash instead of size+mtime. Default: false","type":"boolean"}},"required":["entries"],"type":"object"},"name":"update_audit_cache","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Update Audit Cache"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check Color Blindness"},"description":"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.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"colors":{"description":"Array of hex colors to compare (e.g. ['#FF0000', '#00FF00'])","items":{"type":"string"},"minItems":2,"type":"array"}},"required":["colors"],"type":"object"},"name":"check_color_blindness","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"A short explanation of the result.","type":"string"},"level":{"description":"The conformance level this result is judged against.","type":"string"},"passes":{"description":"Whether the measurement meets the threshold.","type":"boolean"},"threshold":{"description":"The value required to pass.","type":"number"},"unit":{"description":"What the value is measured in.","type":"string"},"value":{"description":"The measured value.","type":"number"}},"required":["passes"],"type":"object"},"title":"Check Color Blindness"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Check Reading Level"},"description":"Estimate the reading level of a passage and report whether it meets the requested grade.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"description":"Text content to analyze","maxLength":50000,"minLength":1,"type":"string"}},"required":["text"],"type":"object"},"name":"check_reading_level","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"A short explanation of the result.","type":"string"},"level":{"description":"The conformance level this result is judged against.","type":"string"},"passes":{"description":"Whether the measurement meets the threshold.","type":"boolean"},"threshold":{"description":"The value required to pass.","type":"number"},"unit":{"description":"What the value is measured in.","type":"string"},"value":{"description":"The measured value.","type":"number"}},"required":["passes"],"type":"object"},"title":"Check Reading Level"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Validate Caption File"},"description":"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).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"filePath":{"description":"Absolute path to the .vtt or .srt caption file","type":"string"}},"required":["filePath"],"type":"object"},"name":"validate_caption_file","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"findings":{"description":"One entry per defect found.","items":{"additionalProperties":false,"properties":{"component":{"description":"Component or template, when the defect repeats.","type":"string"},"confidence":{"enum":["high","medium","low"],"type":"string"},"evidence":{"description":"The offending markup, value or measurement.","type":"string"},"fix":{"description":"What to change.","type":"string"},"location":{"description":"Where the defect is, precisely enough to open.","type":"string"},"rule":{"description":"Stable rule identifier.","type":"string"},"severity":{"enum":["critical","serious","moderate","minor"],"type":"string"},"summary":{"description":"One sentence naming the defect.","type":"string"},"wcag":{"description":"WCAG 2.2 criterion and level, or 'n/a'.","type":"string"}},"required":["rule","wcag","severity","location","summary","fix"],"type":"object"},"type":"array"},"notes":{"description":"Anything a person must decide, and anything that could not be checked.","items":{"type":"string"},"type":"array"},"passed":{"description":"Checks that ran and found nothing, so 'clean' is distinguishable from 'not checked'.","items":{"type":"string"},"type":"array"},"scope":{"description":"Files, URLs or components examined.","items":{"type":"string"},"type":"array"}},"required":["scope","findings"],"type":"object"},"title":"Validate Caption File"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Generate Accessibility Statement"},"description":"Generate a W3C or EU model accessibility statement from provided information. Outputs a Markdown document ready for publishing.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"assessmentDate":{"description":"Date of last assessment (ISO format)","type":"string"},"assessmentMethod":{"description":"How the assessment was conducted","type":"string"},"compatibleWith":{"description":"Browsers and assistive technologies tested","items":{"type":"string"},"type":"array"},"conformanceLevel":{"description":"Target WCAG level (default: AA)","enum":["A","AA","AAA"],"type":"string"},"conformanceStatus":{"description":"Overall conformance status","enum":["fully","partially","non-conformant"],"type":"string"},"contactEmail":{"description":"Accessibility feedback contact email","type":"string"},"format":{"description":"Statement format: w3c (default) or eu","enum":["w3c","eu"],"type":"string"},"knownLimitations":{"description":"Known accessibility limitations","items":{"properties":{"description":{"type":"string"},"wcag":{"type":"string"},"workaround":{"type":"string"}},"required":["description"],"type":"object"},"type":"array"},"organization":{"description":"Organization name","type":"string"},"technologies":{"description":"Technologies relied upon (e.g. HTML5, CSS3, WAI-ARIA)","items":{"type":"string"},"type":"array"},"websiteUrl":{"description":"Website URL covered by the statement","type":"string"}},"required":["organization","websiteUrl","contactEmail","conformanceStatus"],"type":"object"},"name":"generate_accessibility_statement","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"detail":{"description":"What happened, in one sentence.","type":"string"},"ok":{"description":"Whether the operation succeeded.","type":"boolean"},"path":{"description":"A file this call wrote or read, when there is one.","type":"string"},"version":{"description":"Version of an external tool, when relevant.","type":"string"}},"required":["ok"],"type":"object"},"title":"Generate Accessibility Statement"}]}}}
