adl_close
Close a session and invalidate all its handles and cursors to end browser or desktop control cleanly.
Instructions
Close a session and invalidate all its handles and cursors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Close a session and invalidate all its handles and cursors to end browser or desktop control cleanly.
Close a session and invalidate all its handles and cursors.
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Changes observed during successful MCP inspections.
v0.1.4Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does disclose the key destructive effect: all handles and cursors are invalidated. It stops short of stating reversibility, idempotency (what happens if the session is already closed), error behavior for unknown session ids, or permission requirements.
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 no filler; the destructive side effect is stated immediately after the action.
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 one-parameter tool with no output schema and no annotations, the description covers the core action and its consequences. Only the semantics of session_id and post-close error behavior are left undocumented, which are modest gaps.
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?
There is a single parameter, session_id, at 0% schema coverage, and the description adds nothing about its format, expected origin (presumably obtained from adl_open), or behavior for an invalid value. The word 'session' hints at the linkage but does not document the parameter.
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 ('Close') and resource ('session') plus the effect on handles and cursors. It reads as the natural counterpart to the sibling adl_open, though it never names that counterpart explicitly.
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: an agent infers it should close a session when finished, but there is no explicit when/when-not guidance, no note on what state the session must be in, and no mention of alternatives such as simply abandoning a session.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.