Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

get_items_by_id_ebook_by_fileid

Read-onlyIdempotent

Retrieve a specific ebook file from an Audiobookshelf library item using its item ID and file ID.

Instructions

Get items ebook.

GET /api/items/{id}/ebook/{fileid}?

Args: id: Path parameter. fileid: Path parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
fileidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds only the HTTP method and path template, not behavioral context such as response type, authentication requirements, or whether the endpoint returns raw file bytes.

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 organized: purpose line, endpoint template, then an Args list. It avoids fluff, though the purpose line is too vague and the trailing '?' in the endpoint is untidy.

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 read-only GET with two path parameters and an output schema, the endpoint and parameter list are minimally sufficient to attempt a call. However, the lack of semantic detail about the ebook resource and the absence of sibling differentiation leave the description incomplete for confident tool selection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it only restates the parameter names and labels both as 'Path parameter.' It does not explain what id and fileid refer to, what formats are expected, or how fileid relates to the item's ebook files.

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 description states a GET operation on an 'ebook' resource with id and fileid path parameters, so an agent can infer it retrieves an ebook file. However, 'Get items ebook' is vague and does not say whether this returns file content, metadata, or a download stream, nor does it distinguish it from sibling endpoints like get_items_by_id_file_by_fileid_download.

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 guidance is given for when to use this tool versus alternatives. The sibling list contains many get_items_by_id_* endpoints, but the description does not mention any of them or state conditions for choosing this ebook endpoint.

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