Skip to main content
Glama

generate_aria_patterns

Generate accessible ARIA widget patterns (dialog, tabs, menu, combobox, listbox) with focus management

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": {
      "pattern": "<pattern>",
      "framework": "<framework>"
    },
    "name": "generate_aria_patterns"
  }
}

Input Schema

NameRequiredDescriptionDefault
patternYesARIA pattern
frameworkYesFrontend framework

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses that generated output includes accessibility semantics ('accessible') and focuses management behavior, which is meaningful beyond the name, but says nothing about whether it returns code text, writes files, or produces side effects, and nothing about permissions or reversibility.

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?

One compact, front-loaded sentence with no filler. The only small inefficiency is the partial enum restatement, which duplicates and slightly contradicts the schema's fuller list rather than adding information.

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

Completeness3/5

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

For a simple two-parameter generator this covers the what, but with no annotations and no output schema there is no disclosure of what is actually returned (code string? file? snippet per framework?) or any side-effect profile. An agent could call it but cannot predict the response shape.

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% with both parameters enumerated, so the schema already carries the parameter semantics. The description's parenthetical pattern list adds marginal value and is actually less complete than the enum (missing 'tree'), and framework options go unmentioned.

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?

Specific verb ('Generate') plus specific resource ('accessible ARIA widget patterns') with example pattern names and the distinguishing trait 'with focus management'. It is clearly distinct from the many sibling generate_* tools, though it omits 'tree' from its parenthetical list even though 'tree' is in the schema enum.

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 guidance, no prerequisite statements, and no exclusions or pointers to any alternative tool. Usage is only implied by the tool name and the example patterns, leaving the agent to infer context.

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.