Skip to main content
Glama
alterlab-mcp-server

alterlab-mcp-server

Delete Session

alterlab_delete_session
DestructiveIdempotent

Permanently removes a stored session and its cookies when the session is no longer needed or has been compromised.

Instructions

Delete a stored session. This permanently removes the session and its cookies. Use this when a session is no longer needed or has been compromised.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>"
    },
    "name": "alterlab_delete_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesUUID of the session to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful context beyond them: removal is permanent and it also destroys the session's stored cookies. It does not mention auth/permission requirements or confirmation expectations.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and immediately followed by the consequence. The trailing 'no longer needed' clause is mildly redundant with the verb but costs little.

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 one-parameter destructive tool with full annotation coverage and a fully documented schema, this is close to sufficient: it says what is destroyed and why you would invoke it. Only permission/ownership requirements and recovery expectations are absent.

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?

There is a single required parameter, session_id, with 100% schema description coverage ('UUID of the session to delete'). The description adds no further meaning such as where to obtain the UUID or whether it must be owned by the caller, so the schema does all the work – baseline 3.

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 states a specific verb and resource: 'Delete a stored session.' The verb distinguishes it implicitly from sibling lifecycle tools (create_session, get_session, update_session, refresh_session, validate_session) without naming them.

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 offers a when-to-use cue ('when a session is no longer needed or has been compromised'), but that cue largely restates the verb. There is no when-not guidance and no routing to alternatives such as refresh_session for credential rotation or list_sessions for cleanup scoping.

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