Skip to main content
Glama
JackZhao98

chrome-automation-mcp

by JackZhao98

cleanup_sessions

Removes orphaned browser sessions and directories to reclaim resources without disrupting active sessions.

Instructions

Clean up inactive/orphaned browser sessions and directories without affecting active sessions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.8

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the affected scope and the active-session safety guarantee, but does not state whether cleanup is irreversible, what permissions are required, or what happens to the cleaned directories.

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?

A single front-loaded sentence with no wasted words. The scope and the key exclusion are both stated efficiently.

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-parameter cleanup tool, the description covers purpose, scope, and the active-session exclusion adequately. Minor gaps remain around destructive semantics, permissions, and output behavior, especially since there are no annotations or output schema.

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

Parameters4/5

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

The tool has zero parameters and an empty input schema. Per the rubric, zero-parameter tools receive a baseline of 4, and there are no parameters whose semantics need additional explanation.

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: 'Clean up inactive/orphaned browser sessions and directories.' The clause 'without affecting active sessions' distinguishes it from close_browser and close_all_browsers.

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?

Clearly implies when to use it: for inactive/orphaned sessions and directories, while excluding active sessions. It does not explicitly name alternatives such as list_sessions or close_browser, so it falls short of a full 5.

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