browser_close
Close a page opened by browser.open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |
Close a page opened by browser.open.
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |
Changes observed during successful MCP inspections.
Input schema / properties / in_workspaceAdded value: +{
+ "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
+ "type": "integer"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds nothing behavioral beyond this – no note on what closing does to the session, auth requirements, or effects on other sessions.
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 short sentence with no filler, and the action is front-loaded. It is efficient, though its brevity comes partly at the cost of the details penalized in other dimensions.
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 simple close tool with annotations carrying the safety profile and no output schema, this is roughly adequate. It nonetheless omits the source of page_id and any consequence of closing (resource release, effect on later calls).
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 only 50%: page_id has a title but no description. The description hints that page_id corresponds to a page from browser_open but never names the parameter or explains where to obtain it, and gives no additional meaning for in_workspace beyond the schema's own text.
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 and resource (close a page) and ties it to the origin action browser_open. However, it does not distinguish this from sibling browser_tabs, which likely also manages page/tab lifecycle, so sibling differentiation is weak.
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?
Usage is only implied by 'a page opened by browser.open' – the agent can infer this is called on pages it previously opened. There is no explicit when/when-not guidance, no prerequisites, and no named alternative such as browser_tabs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.