Skip to main content
Glama

sessions_destroy

End an active user session by providing its public ID and confirmation to invalidate it immediately.

Instructions

Destroy one other session.

Args: public_id: Session public id. confirm: Required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
public_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only repeats the destructive nature already implied by the tool name and provides no context about irreversibility, permissions, or what happens to the affected session.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded, which is good. However, the line 'confirm: Required.' is misleading and does not earn its place, and the description is too terse to be fully useful.

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?

For a destructive session tool with no annotations, the description lacks essential context such as how confirm should be set, whether the action is reversible, and what the result will be. The output schema helps with return format, but the description is still incomplete for safe 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%, yet the description adds almost no semantic value. It calls confirm 'Required,' which contradicts the input schema where only public_id is required, and it does not explain what confirm means or what value should be passed.

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: 'Destroy one other session.' It clearly distinguishes this tool from siblings like sessions_list and sessions_destroy_all_other by limiting scope to a single other session.

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 implied by the wording 'one other session' — it should be used when targeting a single session rather than all sessions. However, it does not explicitly state when to prefer this over sessions_destroy_all_other or mention any prerequisites.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OpenIaaS/directadmin-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server