Skip to main content
Glama

Release Session Lease

terminal_release_lease
DestructiveIdempotent

Release an exclusive terminal session lease held by a specific owner to free the session for other operators or AI agents.

Instructions

Release an exclusive Session lease owned by this operation.

Input Schema

NameRequiredDescriptionDefault
ownerYesOpaque caller-generated lease owner capability.
session_idYesActive Session ID or short reference.

Output Schema

NameRequiredDescriptionDefault
releasedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds the meaningful ownership constraint ('owned by this operation'), implying the owner capability is validated, but it does not say what happens on owner mismatch or releasing an unknown/expired lease.

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 front-loaded sentence with zero filler. The verb, resource, and ownership qualifier all appear before any subordinate clause.

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?

With the output schema present and annotations covering the mutation profile, the essentials are covered. Still, for a destructive mutation the description says nothing about failure modes (owner mismatch, already-released lease) or the effect on concurrent holders, which an agent would want before calling it.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both session_id and owner are documented in the schema; the 3 baseline applies. The phrase 'owned by this operation' loosely links the owner parameter to the caller, but adds no format or matching rules beyond the schema.

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?

The description gives a specific verb ('Release') and resource ('exclusive Session lease') along with the ownership scope ('owned by this operation'). It is clearly distinct from terminal_acquire_lease and terminal_renew_lease by name semantics, though it never explicitly names the sibling it pairs with.

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

Usage Guidelines3/5

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

Usage is only implied: an agent infers this is the counterpart to acquiring a lease. There is no explicit when/when-not guidance, no mention of terminal_renew_lease as an alternative, and no stated prerequisite that a lease must already be held.

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