Skip to main content
Glama

刷新

web_refresh

Refresh the active page to force the browser to re-request all resources, ensuring you see updated content.

Instructions

重新加载活动标签页。

权限说明:重新请求当前页面全部资源。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo超时毫秒数,默认 60 秒,0 表示不限制
wait_untilNo等待策略:commit=请求已发出 / domcontentloaded=DOM 就绪 / load=资源加载完成 / networkidle=网络空闲
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses that the tool re-requests all resources of the current page, which is useful, but it does not mention potential side effects like form resubmission or whether it cancels pending tasks.

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 short sentences, both purposeful. It is front-loaded with the core action and adds a concise permission note without unnecessary fluff.

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

Completeness4/5

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

For a simple refresh tool, the description with full schema coverage is mostly complete. It lacks a few details such as potential side effects or behavior on pages with unsaved forms, but overall it is adequate for the tool's simplicity.

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?

The input schema fully describes both parameters (timeout, wait_until) with clear descriptions and enums. The tool description adds no extra parameter context, but this is acceptable given high schema coverage.

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?

The description '重新加载活动标签页' clearly states the action (reload) and resource (active tab). It is specific and distinguishable from sibling navigation tools like web_back or web_open, though it does not explicitly name alternatives.

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?

No guidance is provided on when to use this tool versus alternatives or what conditions make it appropriate. The permission note only explains behavior, not usage context.

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/JohnXu22786/browser-automation'

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