Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_session_local

Idempotent

Create or update a local playback session in Audiobookshelf by posting session data to the API, enabling you to track and manage in-progress listening activities.

Instructions

Create or act on session local.

POST /api/session/local

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already supply idempotentHint=true, readOnlyHint=false, and destructiveHint=false, and the description does not contradict them. It adds the HTTP method and 'create or act' framing, but gives no detail on side effects, authentication, or what 'acting' changes.

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 front-loaded with the purpose, followed by the endpoint and argument guidance. The vague 'Create or act' wording costs a point, but there is 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?

The pointer to GET/schema is useful for an opaque body, and an output schema exists, but the description never explains what a 'session local' is, what 'act' covers, or how this differs from create_session_local_all. An agent could invoke it but may not know the intended scenario.

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 schema exposes a single opaque body with additionalProperties true and no property descriptions, so schema coverage is 0%. The description partially compensates by identifying body as the request payload and instructing the agent to consult the matching GET or /schema endpoint, but it supplies no actual field semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Create or act on session local' names a resource but uses the vague compound verb 'create or act', so an agent cannot tell precisely what operation is performed. It does not differentiate from the sibling create_session_local_all or the session close/sync tools, and the endpoint line mostly restates the tool name.

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?

The only usage guidance is to read the matching GET or /schema endpoint before calling. There is no statement of when to prefer this tool over related session siblings, no exclusions, and no scenario context.

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