Skip to main content
Glama

stop_session

Tear down an active test session: disconnect the test client and stop test-manager, ibsrv, Xvfb, and bridge processes.

Instructions

Tear down a session: disconnect test-client, stop test-manager, ibsrv, Xvfb and bridge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clean_dataNo
session_idNodefault-18

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of explaining behavior. It does this well by listing exactly what gets disconnected and stopped. However, it does not mention side effects such as data cleanup or that teardown is irreversible.

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 sentence with the action front-loaded and the affected components listed compactly. Every word earns its place; there is no filler.

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

Completeness2/5

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

While an output schema exists, the tool still has two optional parameters whose semantics are entirely undocumented. The description explains what happens during teardown but not how to choose a session or when clean_data should be enabled, leaving the definition incomplete for correct invocation.

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

Parameters1/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 parameters, but it mentions neither clean_data nor session_id. The word 'session' refers to the resource, not to the identifying parameter, so the agent gets no help selecting or passing arguments.

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 action ('Tear down a session') and enumerates the concrete resources affected: test-client, test-manager, ibsrv, Xvfb, and bridge. This clearly differentiates it from siblings like start_session and session_status.

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 guidance on when to use this tool versus alternatives, no mention of prerequisites such as an active session, and no exclusion criteria. The implied context is that this ends a session, but that 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.

Deploy Server

Other Tools