Skip to main content
Glama

time.install

Install a controlled clock over Date, timers, animation frames, and performance.now to make page time deterministic; optionally start at an ISO timestamp and persist across navigation.

Instructions

Install a controlled clock over Date, setTimeout, setInterval, requestAnimationFrame and performance.now, optionally starting at a given time. Survives navigation.

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.install"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, so the description carries most of the burden. It usefully discloses the intercepted API surface and the non-obvious persistence trait ('Survives navigation'), which an agent needs. It omits reversibility (time.uninstall), behavior when a clock is already installed, and any page/target prerequisites.

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?

Two tight sentences with the core mechanism and the optional start time front-loaded, followed by the durability caveat. Zero filler and no redundancy with the name.

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?

For a mutating, open-world tool with no output schema, the description covers the core mechanics and the navigation-persistence trait. It still leaves gaps around idempotency, how to undo via time.uninstall, and how installation interacts with the other time-control siblings.

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 coverage is 100% and each parameter is already documented with format hints (tgt_*, br_*, ISO timestamp). The description only restates that a starting time is optional, adding no syntax or defaulting detail beyond the schema; baseline 3 applies.

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 gives a specific verb+resource ('Install a controlled clock') and enumerates exactly which APIs are intercepted (Date, setTimeout, setInterval, requestAnimationFrame, performance.now). It does not differentiate against the many overlapping time siblings (time.freeze, time.set_fixed_date, time.virtual), so it stops short of a 5.

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?

There is no when-to-use guidance, no exclusions, and no mention of alternatives despite a dense cluster of sibling time tools. The description explains the mechanism but leaves the agent to infer when this should be chosen over time.freeze, time.set_fixed_date, or time.virtual.

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