Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_session_by_id_sync

Idempotent

Sync an Audiobookshelf playback session by ID: provide the session ID and required payload to create or update session sync data, keeping playback state current.

Instructions

Create or act on session sync.

POST /api/session/{id}/sync

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
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Aside from repeating the POST endpoint, the description reveals no behavior: no mention of what synchronizing does, what state changes occur, or any side effects. Annotations (idempotentHint, readOnly false) carry the safety profile, but the description adds no behavioral context of its own.

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 well organized with endpoint and args. The body-discovery pointer is a useful sentence, though 'Create or act on' is vague and could be replaced with concrete behavior.

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 tool whose semantics are opaque and whose body is unconstrained by the schema, the description is too thin: it omits the purpose/effect of sync and the conditions under which it should be invoked. While an output schema exists, that does not clarify when or why to call this tool.

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?

It correctly identifies id as a path parameter and body as the request payload, and it adds a useful pointer: read the matching GET or /schema endpoint to discover body fields. However, it does not explain what id refers to or what sync actions the body can express, so the 0% schema coverage is only partially compensated.

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

Purpose2/5

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

The description repeats the name ('Create or act on session sync') and gives an endpoint, but never states what the operation actually does—whether it creates a session, synchronizes data, or updates state. It lacks a specific verb+resource and does not distinguish itself from get_session_by_id or delete_sessions_by_id.

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?

No statement about when to use this tool versus the many session tools (get_session_by_id, delete_session_by_id, create_session_local). The only guidance is to read the GET or /schema endpoint before calling, which is a preparation step, not a selection rule.

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