Skip to main content
Glama

Leave

lockzone.leave

End this session now. It would otherwise expire on its own.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesThe session token returned by lockzone.admission.answer. Bounded lifetime; when it expires or is revoked, pass admission again for a new one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose that sessions auto-expire, framing this as a premature termination. It still omits the key behavioral facts for a teardown tool: whether the token is invalidated and must be re-obtained via admission, and whether the call is idempotent or errors on an already-expired session.

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 short sentences, zero filler, with the action front-loaded and the auto-expiry caveat immediately after. Nothing could be removed without losing meaning.

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

Completeness4/5

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

For a single-parameter teardown with no output schema, the description is nearly sufficient, and the schema already covers token lifetime and re-admission. The only real omission is what happens on the server side after leaving (token invalidation), which mildly limits completeness.

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% and the token parameter is already fully documented, including its bounded lifetime and revocation behavior. The description adds no parameter-level detail, so the baseline 3 applies.

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 and object ('End this session now'), which cleanly separates it from the other lockzone siblings like post, read, rooms, and whoami. It does not explicitly name or contrast against a sibling tool, so it sits just below the top band.

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?

'It would otherwise expire on its own' implies this call is optional rather than mandatory, which is a useful when-not signal. However, it names no alternative and gives no explicit condition (e.g. cleanup before re-admission) for choosing to call it.

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