Skip to main content
Glama
ARIA Validate MCP Server

ARIA Validate MCP Server

by yamanoku

validate_aria_attribute

Validates whether an ARIA attribute exists, is compatible with a specified role, and has a valid value to prevent accessibility errors.

Instructions

ARIA属性が存在するか確認し、指定されたロールとの互換性をチェックし、属性値を検証します

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": {
      "attribute": "<attribute>"
    },
    "name": "validate_aria_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNoThe value to validate for the attribute
attributeYesThe ARIA attribute to validate - must be one of the valid ARIA properties

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations and no output schema, the description must carry the full behavioral burden. It does not state what a failed validation returns (error vs. result payload), whether it throws, or what 'valid value' means for each attribute type, and it promises a role check the parameter set cannot perform.

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

Conciseness3/5

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

A single front-loaded sentence with no wasted wording, but one third of it describes a capability the tool's inputs do not support, which is wasted or misleading content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter validation tool with no annotations and no output schema, the description should clarify return behavior and the omitted role-check discrepancy. It leaves the agent unsure what the call actually produces and unable to supply the role it claims to require.

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% and the attribute enum fully enumerates valid ARIA properties, so the schema does the heavy lifting. The description adds only the notion of value validation, and it references an undeclared role parameter that adds confusion rather than clarity.

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

Purpose3/5

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

The description names three concrete operations (existence check, role compatibility, value validation), which is more specific than the name alone. However, the 'role compatibility' claim is unsupported by the schema, which exposes only 'attribute' and 'value' — no role parameter — so the stated purpose is partly misleading.

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 indication of when to use this versus validate_role_attribute or list_arias_roles_data, and no prerequisites or exclusions are given. The only implied usage comes from the verb list itself.

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