Skip to main content
Glama

Scan any URL for accessibility issues

scan_url
Read-only

Scan a single web page for WCAG 2.2 AA accessibility violations (axe-core + HTML_CodeSniffer + APCA). Returns a score (0-100), a severity breakdown, and up to 20 violations, each with WCAG criteria, description, and how to fix. Works for any public URL, no account needed. Automated testing detects common WCAG failure patterns; it cannot establish conformance, and no finding is not evidence of conformance. Determining conformance also needs manual review.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "scan_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL to scan, e.g. https://example.com/pricing
freshNoAuthenticated callers only: bypass the 24-hour cache and run a new scan. Use for CI/release verification.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "description": "Single-page WCAG scan result.",
      +    "properties": {
      +      "cached": {
      +        "description": "Present and true when served from the 24h per-URL cache.",
      +        "type": "boolean"
      +      },
      +      "get_full_site_scan_and_ai_fixes": {
      +        "description": "Signup URL for full-site scans + AI fixes.",
      +        "type": "string"
      +      },
      +      "grade": {
      +        "description": "Letter grade derived from score.",
      +        "enum": [
      +          "A",
      +          "B",
      +          "C",
      +          "D",
      +          "F"
      +        ],
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Unique scan id; use with report_url.",
      +        "type": "string"
      +      },
      +      "note": {
      +        "description": "Coverage/limitation disclaimer.",
      +        "type": "string"
      +      },
      +      "report_url": {
      +        "description": "Shareable JSON report for this scan id.",
      +        "type": "string"
      +      },
      +      "scanned_at": {
      +        "description": "ISO-8601 scan timestamp.",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "scope": {
      +        "description": "Always \"single_page\" for this tool.",
      +        "type": "string"
      +      },
      +      "score": {
      +        "description": "Accessibility score, 0-100.",
      +        "type": "number"
      +      },
      +      "summary": {
      +        "description": "Severity roll-up.",
      +        "properties": {
      +          "critical": {
      +            "type": "number"
      +          },
      +          "minor": {
      +            "type": "number"
      +          },
      +          "moderate": {
      +            "type": "number"
      +          },
      +          "needs_manual_review": {
      +            "description": "Advisory items needing human review.",
      +            "type": "number"
      +          },
      +          "serious": {
      +            "type": "number"
      +          },
      +          "total_violations": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "total_violations",
      +          "critical",
      +          "serious",
      +          "moderate",
      +          "minor",
      +          "needs_manual_review"
      +        ],
      +        "type": "object"
      +      },
      +      "url": {
      +        "description": "The URL that was scanned.",
      +        "type": "string"
      +      },
      +      "violations": {
      +        "description": "Up to 20 violation groups, most severe first.",
      +        "items": {
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "element_count": {
      +              "description": "Total matching elements (elements[] is capped at 3).",
      +              "type": "number"
      +            },
      +            "elements": {
      +              "items": {
      +                "properties": {
      +                  "failure_summary": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "html": {
      +                    "type": "string"
      +                  },
      +                  "screenshot": {
      +                    "description": "Per-element screenshot URL (axe-found, visible elements only).",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "screenshot_height": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "screenshot_width": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "selector": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "selector",
      +                  "html"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "how_to_fix": {
      +              "type": "string"
      +            },
      +            "impact": {
      +              "enum": [
      +                "critical",
      +                "serious",
      +                "moderate",
      +                "minor"
      +              ],
      +              "type": "string"
      +            },
      +            "reference": {
      +              "description": "Learn-more link (internal KB or external spec).",
      +              "type": "string"
      +            },
      +            "reference_internal": {
      +              "description": "True when reference points to AllyProof's knowledge base.",
      +              "type": "boolean"
      +            },
      +            "rule": {
      +              "description": "Engine rule id (axe-core or HTML_CodeSniffer).",
      +              "type": "string"
      +            },
      +            "wcag": {
      +              "description": "WCAG success criteria, e.g. \"1.4.3\".",
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "rule",
      +            "impact",
      +            "wcag",
      +            "description",
      +            "how_to_fix",
      +            "reference",
      +            "reference_internal",
      +            "element_count",
      +            "elements"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "url",
      +      "scanned_at",
      +      "score",
      +      "grade",
      +      "summary",
      +      "violations",
      +      "scope",
      +      "note",
      +      "report_url",
      +      "get_full_site_scan_and_ai_fixes"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "payment": {
      +        "type": "object"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "status"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / description
      Removed value: -"Single-page WCAG scan result."
    • removedOutput schema / properties
      Removed value: -{
      -  "cached": {
      -    "description": "Present and true when served from the 24h per-URL cache.",
      -    "type": "boolean"
      -  },
      -  "get_full_site_scan_and_ai_fixes": {
      -    "description": "Signup URL for full-site scans + AI fixes.",
      -    "type": "string"
      -  },
      -  "grade": {
      -    "description": "Letter grade derived from score.",
      -    "enum": [
      -      "A",
      -      "B",
      -      "C",
      -      "D",
      -      "F"
      -    ],
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "Unique scan id; use with report_url.",
      -    "type": "string"
      -  },
      -  "note": {
      -    "description": "Coverage/limitation disclaimer.",
      -    "type": "string"
      -  },
      -  "report_url": {
      -    "description": "Shareable JSON report for this scan id.",
      -    "type": "string"
      -  },
      -  "scanned_at": {
      -    "description": "ISO-8601 scan timestamp.",
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "scope": {
      -    "description": "Always \"single_page\" for this tool.",
      -    "type": "string"
      -  },
      -  "score": {
      -    "description": "Accessibility score, 0-100.",
      -    "type": "number"
      -  },
      -  "summary": {
      -    "description": "Severity roll-up.",
      -    "properties": {
      -      "critical": {
      -        "type": "number"
      -      },
      -      "minor": {
      -        "type": "number"
      -      },
      -      "moderate": {
      -        "type": "number"
      -      },
      -      "needs_manual_review": {
      -        "description": "Advisory items needing human review.",
      -        "type": "number"
      -      },
      -      "serious": {
      -        "type": "number"
      -      },
      -      "total_violations": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "total_violations",
      -      "critical",
      -      "serious",
      -      "moderate",
      -      "minor",
      -      "needs_manual_review"
      -    ],
      -    "type": "object"
      -  },
      -  "url": {
      -    "description": "The URL that was scanned.",
      -    "type": "string"
      -  },
      -  "violations": {
      -    "description": "Up to 20 violation groups, most severe first.",
      -    "items": {
      -      "properties": {
      -        "description": {
      -          "type": "string"
      -        },
      -        "element_count": {
      -          "description": "Total matching elements (elements[] is capped at 3).",
      -          "type": "number"
      -        },
      -        "elements": {
      -          "items": {
      -            "properties": {
      -              "failure_summary": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "html": {
      -                "type": "string"
      -              },
      -              "screenshot": {
      -                "description": "Per-element screenshot URL (axe-found, visible elements only).",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "screenshot_height": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "screenshot_width": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "selector": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "selector",
      -              "html"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "how_to_fix": {
      -          "type": "string"
      -        },
      -        "impact": {
      -          "enum": [
      -            "critical",
      -            "serious",
      -            "moderate",
      -            "minor"
      -          ],
      -          "type": "string"
      -        },
      -        "reference": {
      -          "description": "Learn-more link (internal KB or external spec).",
      -          "type": "string"
      -        },
      -        "reference_internal": {
      -          "description": "True when reference points to AllyProof's knowledge base.",
      -          "type": "boolean"
      -        },
      -        "rule": {
      -          "description": "Engine rule id (axe-core or HTML_CodeSniffer).",
      -          "type": "string"
      -        },
      -        "wcag": {
      -          "description": "WCAG success criteria, e.g. \"1.4.3\".",
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "rule",
      -        "impact",
      -        "wcag",
      -        "description",
      -        "how_to_fix",
      -        "reference",
      -        "reference_internal",
      -        "element_count",
      -        "elements"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "id",
      -  "url",
      -  "scanned_at",
      -  "score",
      -  "grade",
      -  "summary",
      -  "violations",
      -  "scope",
      -  "note",
      -  "report_url",
      -  "get_full_site_scan_and_ai_fixes"
      -]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, so the safety profile is covered; the description adds value by disclosing the return shape (score 0-100, severity breakdown, up to 20 violations with criteria and fix guidance) and a 24-hour caching behavior implied by the `fresh` flag. It also honestly bounds reliability: automated scanning detects common patterns but cannot establish conformance. Rate limits, timeouts, and page-size limits are not mentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then outputs, then the conformance caveat — a logical order with no filler. The final two sentences both concern the limits of automated testing and could be merged into one without losing meaning, which keeps it just short of a 5.

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?

The tool is simple (one required param, output schema present) and the description covers purpose, result shape, auth/caching expectations, and interpretation limits. Only operational constraints — rate limits, request timeouts, or what happens for non-public/blocked URLs — are absent.

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

Parameters3/5

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

Schema description coverage is 100%, so `url` format and the `fresh` cache-bypass/auth restriction are already fully documented in the schema. The description adds no further parameter-level meaning, so the baseline of 3 applies.

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?

Opens with a specific verb+resource ("Scan a single web page") and immediately scopes it to WCAG 2.2 AA, naming the three engines used (axe-core, HTML_CodeSniffer, APCA). An agent knows exactly what this tool does and how it differs from any general-purpose fetch or fetch-and-parse tool.

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?

Explicitly states eligibility ("works for any public URL, no account needed") and, via the description plus schema, the CI/release case for bypassing the cache. It does not give an explicit when-not-to-use rule or name an alternative path (e.g. scanning an authenticated/intranet page), so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources