Skip to main content
Glama
ARIA Validate MCP Server

ARIA Validate MCP Server

by yamanoku

validate_role_attribute

Validate a specified ARIA role to confirm it is valid and retrieve its properties, required attributes, and supported attributes.

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": {
      "role": "<role>"
    },
    "name": "validate_role_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesThe ARIA role to validate - must be one of the valid ARIA roles

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does disclose the return content (properties, required attributes, supported attributes), which is genuine behavioral information. It does not say what happens for an invalid role — whether an error is raised or a negative result is returned — and says nothing about read-only/side-effect-free nature, leaving a meaningful gap for a tool invoked with zero safety metadata.

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?

A single well-formed sentence with no filler, front-loading the validation action before the return fields. It could be marginally tighter by separating purpose from return value, but nothing is wasted.

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?

For a one-parameter, no-output-schema lookup tool, the description is largely sufficient: it explains both the check performed and the shape of the result, which compensates for the absence of an output schema. What is missing is failure behavior for an unrecognized role, which matters given the strict enum.

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 single 'role' parameter carries a full enum of valid ARIA roles plus its own description, so the schema does the documentation work. The description adds no further semantics such as case sensitivity or handling of prefixed/abstract roles, so the baseline of 3 applies.

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

Purpose4/5

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

The description states a specific verb and resource ('validates whether the specified ARIA role is valid') and even names the return payload (properties, required attributes, supported attributes). It does not differentiate itself from the sibling 'validate_aria_attribute', so an agent must infer the distinction from the name alone.

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?

There is no explicit when-to-use statement, no exclusion of alternatives, and no prerequisite described. A reader can infer that this is the role-validation counterpart to the attribute-validation sibling, but the description never says so or states any condition under which a different tool should be chosen.

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