Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

get_session_by_id

Read-onlyIdempotent

Fetch an Audiobookshelf session by ID to view its details, including status and metadata.

Instructions

Get api session.

GET /api/session/{id}

Args: id: Path parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description's 'Get' is consistent with those. However, the description adds no further behavioral context such as error behavior, authentication needs, or response characteristics beyond what annotations already convey.

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 compact and front-loaded, with no wasted prose. The first sentence and the HTTP route are mildly redundant, but for a one-parameter GET operation this is an appropriately sized definition.

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?

Given the tool's simplicity, read-only annotations, and the presence of an output schema, the description is minimally adequate. However, it leaves domain semantics unclear—an agent might not know what an 'api session' is or how it relates to list_sessions and public session endpoints.

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 input schema provides only the name 'id' and type string, while the description adds that it is a path parameter, which is useful routing information. With schema description coverage at 0%, this is thin compensation: it doesn't explain what the ID represents or any expected format.

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 identifies a GET operation on a specific resource via the route GET /api/session/{id}, and the name matches a fetch-by-id operation. It distinguishes from sibling list/delete/session tools by naming the exact endpoint, though it doesn't define what an 'api session' is.

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

Usage Guidelines2/5

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

There is no guidance about when to use this tool versus alternatives like list_sessions or the other session-related get/create/delete tools. The description states only the endpoint and parameter without any conditions, exclusions, or comparison to sibling tools.

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