Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

delete_items_by_id_file_by_fileid

DestructiveIdempotent

Remove a specific file from an Audiobookshelf item by providing the item ID and file ID. Streamline library management by deleting unwanted audio files directly via API.

Instructions

Delete items file.

DELETE /api/items/{id}/file/{fileid}

Args: id: Path parameter. fileid: 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
fileidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already establish destructiveHint=true and idempotentHint=true; the description adds no behavioral context beyond the HTTP verb. It does not disclose side effects, reversibility, permissions, or what happens to related resources. There is no contradiction with the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three terse lines with no filler: action statement, exact route, and per-argument annotations plus a useful pointer. It is front-loaded with the purpose and avoids repeating schema types.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter delete with annotations covering destructive/idempotent behavior and an output schema present, the description supplies enough to invoke correctly: route, param roles, and a discovery path for the payload. The lack of sibling differentiation and side-effect detail keeps it just short of fully complete.

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

Parameters4/5

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

Schema coverage is 0%, but the description maps id and fileid to path parameters and explains that body is a request payload whose fields must be discovered via GET or /schema. This compensates for the opaque body schema (anyOf object/null) by telling the agent how to obtain the required structure, though it does not enumerate actual fields.

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?

Begins with a specific action and resource ('Delete items file') and gives the exact DELETE endpoint with {id} and {fileid}, making clear it removes a file from an item. It does not, however, distinguish itself from siblings such as delete_items_by_id_cover or get_items_by_id_file_by_fileid, and 'items file' is slightly terse.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The only operational instruction is to consult the matching GET or /schema endpoint for body fields, which is a prerequisite step but not guidance for tool selection.

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