Skip to main content
Glama

time.virtual

Control Chromium's native virtual time to advance, pause, or pause pending network fetches, governing page loading and rendering for deterministic browser testing.

Instructions

Chromium native virtual time, which also governs loading and rendering. Stronger but experimental; cannot be combined with the controlled clock.

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": "time.virtual"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already flag this as a non-read-only, open-world operation, so the description's added "experimental" caution and mutual-exclusion constraint are genuine extra context. It still omits what state is changed, whether the setting persists across navigations or sessions, and how to revert — the things an agent most needs for a mutable mode switch.

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 short sentences with no filler, and the capability statement comes before the caution. Slight loss for the fragmentary style, which reads as notes rather than a call-ready instruction.

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

Completeness2/5

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

For a mutable, experimental mode-setting tool with no output schema and only 40% parameter coverage, the definition leaves major gaps: no explanation of the policy modes, no budget semantics, no lifecycle or revert guidance. The mutual-exclusion note is the only real compensating information.

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

Parameters2/5

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

Only two of five parameters (target_id, browser_id) carry schema descriptions, leaving 60% undocumented. The description contributes nothing about policy, budget_ms, or initial_time — notably the policy enum values (advance/pause/pauseIfNetworkFetchesPending) are never explained, and budget_ms interpretation is entirely left to guesswork.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the mechanism ("Chromium native virtual time") and its scope (loading and rendering), which distinguishes it conceptually from the controlled-clock siblings. But it never states the action the tool performs — whether it installs, enables, or configures a virtual-time policy — so an agent cannot tell from the text what calling it actually does to the page.

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

Usage Guidelines3/5

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

It gives one explicit exclusion ("cannot be combined with the controlled clock") and implies a preference ordering via "stronger but experimental," which nudges toward the alternative. There is no positive statement of when this tool is the right choice, no prerequisites, and no mention of how to leave the mode.

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