Skip to main content
Glama

Simple fixes (deterministic a11y)

simple_fixes

Fix missing lang attribute, missing title, and unlabeled form controls in HTML. Returns patched HTML and a list of applied fixes.

Instructions

Apply deterministic structural fixes to HTML: missing lang, missing title, unlabeled form controls. Returns the patched HTML and the list of fixes. No LLM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesHTML source to remediate
langNoLanguage code for <html lang="…"> (default "en")
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It states 'No LLM' and returns patched HTML and fix list, but does not mention if the input is modified in-place, permissions needed, error handling, or side effects.

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

Conciseness5/5

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

Two sentences, concise and front-loaded. First sentence states purpose and scope, second sentence clarifies return and deterministic nature. No wasted words.

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?

Given only 2 parameters and no output schema, the description adequately covers purpose, fix types, and return value. Missing edge case handling or validation info, but sufficient for a simple tool.

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 baseline is 3. The description links the 'lang' parameter to fixing missing lang attribute, adding slight value beyond schema. No further semantics added.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool applies deterministic structural fixes to HTML, specifically targeting missing lang, missing title, and unlabeled form controls. It distinguishes from siblings by emphasizing deterministic, non-LLM fixes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use or avoid this tool versus alternatives like audit_page or fix_contrast. It does not mention prerequisites or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/P4ST4S/mcp-a11y'

If you have feedback or need assistance with the MCP directory API, please join our Discord server