Skip to main content
Glama

session_release

Releases a managed session by terminating tmux and exiting salloc, returning allocated compute resources to the Slurm cluster.

Instructions

释放托管会话:杀 tmux → salloc 退出 → 资源归还集群。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purposeYes
connectionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is partly covered. The description adds real behavioral detail beyond that (tmux is killed, the salloc allocation exits, resources return to the cluster), but says nothing about irreversibility, whether other jobs on the allocation are affected, or any auth/permission requirement for releasing a session you may not own.

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?

A single compact sentence, front-loaded with the verb and resource, with the arrow chain efficiently conveying ordering of effects. No filler whatsoever.

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?

An output schema exists, so return values need not be described. However, for a two-parameter mutation tool with 0% schema documentation and no annotations covering usage, the description is too thin: it never explains what a 'managed session' is, how to obtain the connection value, or what happens if the session is already gone.

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%: neither 'connection' nor 'purpose' has any explanation, and the description never mentions either parameter. For a two-required-parameter tool with no schema documentation, the description is expected to compensate, and it does not — an agent cannot tell whether 'connection' is a cluster, SSH target, or session handle.

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?

Specific verb (释放/release) plus the resource it acts on (托管会话/managed session), with the concrete side effects spelled out as a chain: kill tmux → salloc exits → resources returned. It is clearly distinct from session_list and session_info by virtue of being the tear-down action, though no sibling is named explicitly.

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?

The description gives no when-to-use guidance, no prerequisites, and never contrasts itself with plausible alternatives such as cancel or session_info. The usage is only inferable from the meaning of 'release a managed session'.

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