Skip to main content
Glama

validation_matrix

Run multi-dimensional validation (functional, visual, performance, accessibility) with role-based permission checks and generate a comprehensive score report.

Instructions

执行多维度验证矩阵(功能/视觉/性能/a11y),输出综合评分报告。支持角色×功能权限矩阵验证,每个角色使用独立 session。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
harNo是否导出 HAR JSON,默认 true
urlYes目标页面 URL
nameNo矩阵验证名称
rolesYes角色列表,每个角色可包含 name、sessionName、url、setupSteps
featuresYes功能列表,每个功能可包含 name、steps、stepsByRole、expected、expectedByRole、assertions、assertionsByRole、focus
dimensionsNo验证维度列表,可选:functional、visual、performance、a11y
instrumentNo是否注入运行时探针,默认 true
clearErrorsNo执行前是否清空错误 checkpoint,默认 true
a11yStandardNoa11y 标准级别:wcag-a / wcag-aa / wcag-aaawcag-aa
outputFormatNo输出格式:json / markdownjson
clearArtifactsNo执行前是否清理证据产物,默认 false
visualBaselineNo视觉基线截图路径(可选)
continueOnFailureNo单元失败后是否继续执行后续功能,默认 false
investigateOnFailureNo失败时是否自动 debug_investigate,默认 true
performanceThresholdNo性能阈值(LCP ms),默认 2500
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions independent sessions per role but does not disclose side effects, auth requirements, rate limits, or whether the tool is read-only or mutates state. The behavioral impact is underdescribed.

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?

The description is two concise sentences that front-load the core purpose and key details. Every word contributes meaning, and there is no redundancy.

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?

With 15 parameters and no output schema or annotations, the description is too brief. It does not explain the output report format, prerequisites, or how to interpret results, leaving significant gaps for a complex 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 the schema documents all parameters. The description adds no additional semantic value beyond what the schema provides, meeting the baseline.

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 explicitly states the tool's function: executing a multi-dimensional validation matrix covering functional, visual, performance, and a11y dimensions, and outputting a comprehensive scoring report. It also mentions role×feature permission matrix validation with independent sessions, which clearly differentiates it from sibling tools like browser_matrix_test or validation_run.

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

Usage Guidelines3/5

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

The description implies usage for comprehensive multi-dimensional and role-based validation but does not explicitly state when to use this tool over alternatives or provide context on when not to use it. No comparisons or exclusions are given.

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/validpilot/ai-verify-mcp'

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