Skip to main content
Glama

close_session

Destructive

Permanently delete the temporary collaborative workspace. Save or export a preset first; downloaded and normally saved presets remain available.

Input Schema

NameRequiredDescriptionDefault
tokenYes
sessionIdYes
baseRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark this as destructive, but the description adds valuable context beyond them: the deletion is permanent, presets should be saved/exported first, and some presets survive the deletion. It does not cover authentication requirements or revision-conflict behavior, but it meaningfully clarifies the destructive consequence.

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?

Two concise sentences with the destructive action front-loaded and the important pre-save guidance immediately following. Every sentence earns its place.

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 destructive operation, the description adequately warns about permanence and preservation of some presets. However, it does not explain authentication via token, concurrency via baseRevision, or what the caller should expect after deletion, leaving material gaps 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% for all three required parameters (sessionId, token, baseRevision). The description provides no information about their roles, formats, or semantics, so it fails to compensate for the undocumented schema.

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: permanently delete the temporary collaborative workspace. This clearly distinguishes it from sibling tools like checkpoint_session, restore_session, and edit_session, which preserve or modify rather than permanently remove the session.

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

Usage Guidelines4/5

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

It gives a clear prerequisite: save or export a preset first. It also notes that downloaded and normally saved presets remain available after closure. However, it does not explicitly compare this tool with alternatives such as checkpoint_session or explain when to avoid closing a session.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources