Skip to main content
Glama

zen_keep_alive

Prevent Zen's Tab Unloader from discarding tabs during multi-tab workflows by pinging tabs at a set interval to reset idle timers.

Instructions

Keep tabs warm so Zen's Tab Unloader won't discard them mid-workflow.

Starts a background pinger in the bridge that fires a no-op JS evaluation at each listed tab on the given interval. Any script access resets Zen's idle timer, so the tabs stay loaded. Replaces any existing keep-alive for the same tabs (use a new interval to change cadence).

Use this at the start of parallel multi-tab work: open your tabs, call zen_keep_alive with their IDs, drive them in parallel via zen_parallel or by passing tab_id to individual commands, then zen_keep_alive_stop when done. The pinger auto-stops if the bridge restarts.

Args: tab_ids: Tab IDs to keep loaded. interval_seconds: How often to ping each tab. Minimum 10s, default 60s. Should be well under Zen's unloader timeout (commonly 20+ minutes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tab_idsYes
interval_secondsNo
Behavior5/5

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

The description fully discloses the mechanism (fires no-op JS, resets idle timer), lifecycle (replaces existing keep-alive, auto-stops on bridge restart), and constraints (minimum 10s interval, default 60s, should be under unloader timeout). No annotations are provided, but the description compensates completely.

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 well-structured with a punchy first sentence, followed by a mechanism explanation, usage guidance, and parameter documentation. Every sentence contributes essential information without redundancy, making it efficient for an AI agent.

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

Completeness5/5

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

Given the tool's moderate complexity, the description covers mechanism, usage, lifecycle, and parameters completely. It addresses replacement behavior, auto-stop, and interval constraints. No output schema exists, but the description doesn't need to explain return values as the tool is side-effect focused.

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

Parameters5/5

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

With 0% schema coverage, the description fully explains both parameters: tab_ids ('Tab IDs to keep loaded') and interval_seconds ('How often to ping each tab. Minimum 10s, default 60s. Should be well under Zen's unloader timeout'). This adds significant meaning beyond the schema's type definitions.

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 (keeping tabs warm to prevent unloading) using specific verbs like 'Keep tabs warm', 'starts a background pinger', and 'fires a no-op JS evaluation'. It distinguishes itself from the sibling tool zen_keep_alive_stop and provides context on when it should be used (start of parallel multi-tab work).

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

Usage Guidelines5/5

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

Explicitly states when to use the tool ('Use this at the start of parallel multi-tab work'), how to drive tabs in parallel via zen_parallel or individual commands, and when to stop (zen_keep_alive_stop). Also notes that it replaces any existing keep-alive for the same tabs and auto-stops on bridge restart.

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/JayQuan-McCleary/ZenLink-MCP'

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