Skip to main content
Glama

BRAINIAC Accessibility Intelligence

Check document language

accessibility_document-language-check
Read-onlyIdempotent

Read the lang attribute on the html element. The page text is not compared with that value, and a fragment without html is not marked as a failure. Price $0.02 USDC. POST /api/v1/accessibility/document-language-check. An unpaid call returns the x402 payment terms and does not run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "accessibility_document-language-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNourl, string, length 8 to 2000. Optional.
htmlNohtml, string, length 1 to 200000. Optional.

Output Schema

NameRequiredDescriptionDefault
urlNourl. String.
issuesNoissues. Array.
sourceNosource. String.
statusNostatus. String.
languageNolanguage. String.
warningsNowarnings. Array.
checkedAtNocheckedAt. String.
limitationsNolimitations. Array.
languageStatusNolanguageStatus. String.
wcagComplianceNowcagCompliance. Boolean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / html / description
      Added value: +"html, string, length 1 to 200000. Optional."
    • addedInput schema / properties / url / description
      Added value: +"url, string, length 8 to 2000. Optional."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "checkedAt": {
      +      "description": "checkedAt. String.",
      +      "type": "string"
      +    },
      +    "issues": {
      +      "description": "issues. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "code": {
      +            "description": "code. String.",
      +            "type": "string"
      +          },
      +          "element": {
      +            "description": "element. String.",
      +            "type": "string"
      +          },
      +          "explanation": {
      +            "description": "explanation. String.",
      +            "type": "string"
      +          },
      +          "kind": {
      +            "description": "kind. String.",
      +            "type": "string"
      +          },
      +          "remediation": {
      +            "description": "remediation. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "language": {
      +      "description": "language. String.",
      +      "type": "string"
      +    },
      +    "languageStatus": {
      +      "description": "languageStatus. String.",
      +      "type": "string"
      +    },
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "description": "source. String.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "status. String.",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "url. String.",
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "description": "warnings. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "wcagCompliance": {
      +      "description": "wcagCompliance. Boolean.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources