Skip to main content
Glama

validation_flow

Executes a sequence of browser actions (navigate, click, type, wait, eval, screenshot) for flow or chain verification, with configurable failure handling.

Instructions

多步流程验证工具(v1.9.5 起合并 validation_chain),按步骤依次执行 navigate/click/type/wait/eval/screenshot 等操作,支持失败可配置继续执行。step.action 与 step.type 互为别名,二者至少传一个;navigate 也支持别名 goto。通过 mode 参数区分子模式:flow(默认,标准流程验证)/ chain(链式验证,等价于已废弃的 validation_chain,失败即停止并返回失败步骤详情)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo编排模式:flow(默认,标准流程验证,支持 continueOnFailure)/ chain(链式验证,等价于已废弃的 validation_chain,失败即停止)flow
stepsYes验证步骤列表,每个步骤的 action/type 字段互为别名,至少传一个
timeoutNo整个流程超时时间(毫秒),默认 30000
stopOnErrorNochain 模式专用:某步骤失败后是否停止(默认 true)。等价于 continueOnFailure 的反义,stopOnError=true 等价于 continueOnFailure=false
continueOnFailureNo某步骤失败后是否继续执行后续步骤,默认 false
Behavior3/5

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

No annotations are provided, so the description must disclose behavioral traits. It does explain the sequential execution of steps, the alias relationship between action and type, and the mode-specific failure behavior. However, it does not mention potential side effects (e.g., state changes from clicks/types), authentication requirements, rate limits, or what happens to the browser session. Given the tool's mutating nature, more transparency would be beneficial.

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 a single paragraph that covers the core purpose, version context, supported actions, alias relationships, and mode semantics. It is concise but could benefit from better structure (e.g., bullet points or separation of mode descriptions). The most critical information is front-loaded. Every sentence adds value, though the alias explanation could be slightly more streamlined.

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?

The description explains the two modes and their behavior, but it does not describe the return value or output format. For chain mode, it mentions 'returns failure step details' but for flow mode it is implicit. The tool has no output schema, so the description should compensate. It also omits what happens on success, how errors are reported, and whether the tool produces any artifact (e.g., screenshots). Given the complexity (5 parameters, nested steps), the description is somewhat incomplete.

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?

The input schema has 100% description coverage, so each parameter's purpose is already documented. The description adds value by clarifying that step.action and step.type are aliases (both acceptable, at least one required) and that navigate also accepts the alias 'goto' (though 'goto' is not listed in the schema enum, which is a minor inconsistency). The mode parameter's semantics are reinforced. No additional parameter details beyond schema are provided, but the alias clarification is helpful.

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 identifies the tool as a multi-step flow validation tool that executes browser operations like navigate/click/type/wait/eval/screenshot. It distinguishes between two modes (flow and chain) and mentions it merged the now-deprecated validation_chain. The verb 'validate' and resource 'flow' are specific, and the description differentiates it from sibling single-step tools like browser_click or browser_navigate.

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 explains the two modes: flow (default, with configurable continueOnFailure) and chain (equivalent to deprecated validation_chain, stops on failure). This provides clear context on when to use each mode. However, it does not explicitly state when not to use this tool or mention alternative tools (e.g., for single-step actions use browser_* tools). The context is sufficient but lacks explicit exclusions.

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