rnw_close
Close the browser and end the session for React Native Web automation, terminating all open tabs.
Instructions
Close the browser and end the session
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Close the browser and end the session for React Native Web automation, terminating all open tabs.
Close the browser and end the session
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v2.0.1Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. 'End the session' hints at finality, but it does not disclose what is destroyed (tabs, cookies, in-page state), whether the session can be resumed, or what happens if called with no active session. For a terminal teardown operation this is a notable gap.
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 front-loaded sentence with zero filler; every word earns its place and the action is stated first.
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?
The tool is simple (zero params, no output schema), so a terse description is mostly sufficient. Still, with no annotations and no output schema, it omits the teardown side effects and error behavior an agent would want before invoking a session-ending call.
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?
The tool takes zero parameters, so there is no parameter semantics to convey. The baseline for a parameterless tool applies, and nothing in the description misrepresents the empty schema.
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+resource ('Close the browser') plus the terminal effect ('end the session'), which implicitly distinguishes it from rnw_tabs_close. However, it never explicitly names that sibling, so the differentiation is left to inference.
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?
There is no guidance on when to use this versus rnw_tabs_close, nor any note about prerequisites, ordering (e.g., use after all work is done), or what to do instead if only one tab should be closed. Usage is left entirely to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.