Skip to main content
Glama

mimicus_close_session

Close a Mimicus browser session by sessionId, releasing its proxy, temporary page, and analysis state.

Instructions

Close the browser/context/proxy and release temporary page and analysis state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0-beta.2

TDQS

B3/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations by naming what is torn down and clarifying that only temporary page and analysis state is released. It does not contradict the annotations (destructiveHint=false is defensible for session cleanup), but it also doesn't cover what happens on a repeat call despite idempotentHint=false, or whether results become unrecoverable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; the only minor cost is the compressed 'browser/context/proxy' slash list, which reads slightly less clearly than prose but is still economical.

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?

An output schema exists so return values need no explanation, and the single-parameter surface is narrow. Still missing are the conditions under which the call is valid and what the caller should do with results after the analysis state is released, leaving it adequate but not fully self-sufficient.

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% and the sole parameter sessionId is never referenced in the description, so the description contributes nothing beyond the schema's type and length constraints. The low coverage means the description should have compensated but does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (close) plus the concrete resources torn down (browser/context/proxy) and the side effect (release temporary page and analysis state). It is clear what the tool does, though it does not distinguish itself from the teardown-flavored sibling mimicus_end_discovery.

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

Usage Guidelines2/5

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

There is no explicit when-to-use statement, no prerequisites (e.g. must the session be open?), and no guidance on how this differs from mimicus_end_discovery, which also sounds like an ending operation. Usage is only inferable from the name.

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