Skip to main content
Glama

validation_chain

Automates a 5-step browser validation chain (navigate, click, type, wait, validate) with error detection and immediate termination on failure, returning a comprehensive report.

Instructions

完整功能链路闭环验证工具,按步骤依次执行 navigate/click/type/wait/validate 操作,每步自动检查控制台错误和网络错误,发现错误立即终止并返回详细的失败信息,输出完整的链路验证报告。支持强制执行5步链路验证,缺少关键步骤时拒绝执行。step.type 与 step.action 互为别名,二者至少传一个。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYes验证步骤列表,每步包含 type(或 action 别名)和相关参数
timeoutNo整个流程超时时间(毫秒),默认 60000
failOnErrorNo是否在发现错误时立即停止,默认 true
networkFilterNo网络请求过滤条件
requiredStepsNo是否强制执行5步链路验证(navigate/click/type/wait/validate),缺少关键步骤时拒绝执行,默认 true
captureScreenshotsNo是否每步截图,默认 false
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses automatic error checking per step, immediate termination on error, alias support for type/action, and the 5-step requirement. However, it does not explicitly state that operations like click and type modify page state (destructive hint), though this is implied.

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?

The description is relatively concise, starting with the purpose and then detailing behavior. It could be slightly more streamlined but effectively communicates the key points without unnecessary words.

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?

Given the nested object (steps) and 6 parameters, the description provides adequate context for the input behavior but does not describe the output report format. Since there is no output schema, mentioning what the report contains (e.g., step results, errors, screenshots) would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds meaning beyond the schema: it explains that step.type and step.action are aliases, clarifies the purpose of each step type, and notes the refusal behavior when required steps are missing. This helps the agent understand the step structure and constraints.

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 it's a 'complete functional chain closed-loop verification tool' that executes navigate/click/type/wait/validate steps in order, checks errors, and produces a report. It distinguishes itself from siblings like browser_chain and validation_flow by specifying the exact step types and error-checking behavior.

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

Usage Guidelines4/5

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

The description implies usage for full 5-step chain validation and states it refuses execution if required steps are missing. However, it does not explicitly contrast with alternative tools like browser_step or validation_flow for simpler cases, or state 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/validpilot/ai-verify-mcp'

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