Skip to main content
Glama

page.reload

Reloads a browser page, optionally bypassing cache; use same-URL navigation instead when unload handlers would reset app state in repeatable test loops.

Instructions

Reload the page, optionally bypassing the cache. Note: this fires pagehide/beforeunload, so an app that persists state in those handlers will not come back in the same state - page.navigate to the same URL skips them, which matters for repeatable test loops.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "page.reload"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
wait_untilNo
ignore_cacheNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and openWorldHint=true, so the description carries the real burden and does it well: it discloses that pagehide/beforeunload fire, that apps persisting state in those handlers will not return in the same state, and how navigate differs. That is exactly the side-effect context an agent needs before triggering a reload in a test loop.

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?

Two sentences, verb-first, with the cache-bypass fact front-loaded and the lifecycle caveat after. The dash-clause is dense but every element carries information; nothing is padding.

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 zero-required-param action tool with no output schema, the description covers the destructive side effects and the routing decision to a sibling, which are the two things an agent could get wrong. Only the wait_until parameter's semantics and return behavior remain uncovered.

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?

With 50% schema coverage, two parameters are undocumented in the schema; the description explains ignore_cache ('optionally bypassing the cache') but says nothing about wait_until, whose 'none' enum value is genuinely ambiguous. It adds meaning for one gap and leaves the other.

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?

States a specific verb and resource ('Reload the page') plus a scope modifier ('optionally bypassing the cache'), and explicitly names the sibling behavior it differs from (page.navigate to the same URL). An agent can distinguish it from page.navigate without opening either schema.

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?

Gives an explicit alternative and the condition selecting it: for repeatable test loops where lifecycle handlers would corrupt state, use page.navigate instead. It does not cover the broader question of when reload is preferred (e.g. verifying fresh-load behavior), so not quite a full when/when-not treatment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools