Skip to main content
Glama
etairl

parallel-browser-mcp

by etairl

Close Session

close_session

End a browser session by providing its numeric session ID, releasing resources in parallel browser automation.

Instructions

Close a browser session by numeric session ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

B3.4/5.0
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It only restates the close operation and adds no context about idempotence, effects on associated browser resources, behavior for invalid or already-closed session IDs, or reversibility. This is a meaningful gap for a destructive action.

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 a single clear sentence with no filler. It front-loads the action and immediately specifies the parameter concept, making it easy to scan and parse.

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

Completeness3/5

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

For a one-parameter tool, the description provides the minimum needed to attempt a correct call: the action and the parameter's role. However, with no annotations, no output schema, and no error-handling information, an agent is left guessing about edge-case behavior, so it is not fully complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for the undocumented parameter. It adds 'numeric' and links the ID to a browser session, but the schema already provides integer type and minimum value. No additional meaning is provided about where the ID comes from, whether it must reference an active session, or what happens if it is invalid.

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 states a specific verb and resource: 'Close a browser session by numeric session ID.' It clearly identifies the action and scope, and the singular 'a browser session' distinguishes it from close_all_sessions and start_session without needing to open anything else.

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

Usage Guidelines3/5

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

The description implies the tool is used when a single, specific browser session should be closed by its numeric ID, and close_all_sessions is an obvious alternative. However, it does not explicitly state when to prefer this over alternatives or mention prerequisites such as the session needing to be active.

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