Skip to main content
Glama

browser_quick_fix

Automatically fix common browser automation problems like missing, invisible, or unclickable elements by trying multiple repair strategies and validating each step.

Instructions

快速修复验证闭环。自动尝试常见修复策略(等待加载、滚动到元素、强制可见、移除遮挡、注入JS等),每步验证是否修复成功。返回修复尝试记录、最终状态、建议的下一步操作。支持批量传入多个 problem。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
problemNo问题描述(单问题模式,与 problems 互斥):not_found(元素未找到)、not_visible(不可见)、not_interactable(不可交互)、click_failed(点击失败)、type_failed(输入失败)、js_error(JS错误)、api_failed(API请求失败)、page_crashed(页面崩溃)、resource_blocked(资源被拦截)
problemsNo批量问题列表(数组模式,与 problem 互斥):按顺序依次尝试每个 problem 的修复策略
selectorYes目标元素选择器(必填)
maxAttemptsNo最大修复尝试次数,默认5
waitStrategyNo等待策略:smart(智能等待)、fixed(固定等待)、none(不等待)smart
Behavior3/5

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

With no annotations, the description carries full burden. It explains the iterative fix-and-verify process and return values. However, it omits potential side effects (e.g., page state changes), failure handling, or whether operations are read-only/destructive.

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 concise and front-loaded with the main action. Every sentence adds value. Minor improvement: could be slightly more structured for readability.

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 tool's complexity (5 parameters, no output schema, many sibling browser tools), the description lacks comparison to similar tools (e.g., browser_verify_fix) and doesn't detail return structure. It is adequate but leaves gaps for an AI agent to fully understand when to use this 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% - all parameters are already well documented in the input schema. The description adds only high-level context about fix strategies, not specific parameter details beyond what the schema provides.

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 the tool's purpose: automatically attempt common fix strategies to resolve browser interaction problems. It specifies actions (wait, scroll, force visible, remove occlusion, inject JS) and return values (logs, status, next action). This distinguishes it from sibling tools like browser_click or browser_find.

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 when encountering problems (supported by 'problem' parameter enum). It mentions batch support. However, it does not explicitly say when NOT to use it or provide alternatives, leaving some ambiguity.

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