Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

delete_me_sessions_by_id

DestructiveIdempotent

Delete a user session by ID to terminate it and revoke its access.

Instructions

Delete me sessions.

DELETE /api/me/sessions/{id}

Args: id: Path parameter. body: Request payload. Read the matching GET or the /schema endpoint first to see the fields this resource expects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already carry destructiveHint=true and idempotentHint=true, and the description adds only the HTTP method and resource path, not extra consequences like whether the deletion is permanent or affects active playback. It does not contradict the annotations, but it provides no behavioral disclosure beyond what the structured hints already say.

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?

The description is short and easy to scan, and the body-discovery instruction is front-loaded. The wording 'Delete me sessions' is grammatically unclear, but the description contains no filler.

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?

For a simple DELETE-by-id operation, the description plus annotations and output schema is nearly sufficient, and the body hint addresses the one opaque field. It is incomplete around operational context: no explicit current-user scope, no guidance for choosing between this and sibling session-deletion tools, and no mention of how to locate the id.

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?

The body parameter is an opaque open object, so the direction to read the matching GET or /schema endpoint first is valuable and partially compensates for zero schema description coverage. The 'id' entry only repeats that it is a path parameter and adds no semantic context such as where to find valid session IDs.

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 clearly states the operation (delete) and the resource (a session under /api/me/sessions/{id}), so an agent can infer it deletes the current user's session. However, 'Delete me sessions' is awkwardly worded and it does not explicitly distinguish this from delete_sessions_by_id or session-close siblings.

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?

The path and 'me' imply this is for deleting the current user's sessions rather than admin/scoped sessions, and the instruction to read the matching GET or /schema endpoint is a useful precondition. But it never states when to prefer this over delete_sessions_by_id or how the id should be obtained.

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

Deploy Server

Other Tools