clear_browser_cache
Remove cached files and cookies from an Electron session to reset browser state for reliable automated tests.
Instructions
Clear browser cache and cookies
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |
Remove cached files and cookies from an Electron session to reset browser state for reliable automated tests.
Clear browser cache and cookies
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |
Changes observed during successful MCP inspections.
v1.0.3Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden but only says it clears cache and cookies. It doesn't state whether the operation affects only the session's browser, whether it requires an active session, or whether it is destructive or reversible.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single terse sentence that is front-loaded with the verb and resource. It is efficient, though it may be under-specified rather than concise for a state-changing operation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with no annotations, no output schema, and an undocumented required sessionId parameter, the description leaves significant gaps about scope, session targeting, and effect of clearing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and there is one parameter (sessionId), which the description does not mention. The description adds no meaning about the required session identifier from the schema's UUID pattern.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (clear) and resource (browser cache and cookies), so the action is unambiguous. It doesn't differentiate from siblings like clear_logs, though those operate on different resources, so the distinction is largely apparent from the name.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no indication of when clearing the cache is appropriate versus other reset or cleanup tools, nor does it mention prerequisites. There is no when-to-use or when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.