Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

patch_items_by_id_cover

Idempotent

Update the cover image of any library item in Audiobookshelf by providing its ID and the new cover payload.

Instructions

Update items cover.

PATCH /api/items/{id}/cover

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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds the HTTP method and resource but does not disclose any further behavioral traits, such as whether the previous cover is replaced or any authentication requirements. With annotations present, this is acceptable but adds little beyond 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?

The description is concise and well-structured: it front-loads the purpose in the first sentence, then provides the HTTP path and a brief argument list. Every sentence earns its place, and there is no redundant or vague content. The pointer to GET/schema is compact yet valuable.

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?

An output schema exists, so return values need not be explained. The description covers the two parameters and the endpoint, and it correctly directs the agent to schema documentation for the body fields. However, it does not mention potential side effects, prerequisites like item existence, or error scenarios. Given the moderate complexity of a patch operation, this is adequate but has clear gaps.

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?

The input schema has 0% description coverage, and the body parameter is a free-form object with additionalProperties true. The description compensates by directing the agent to read the matching GET or /schema endpoint to discover valid fields. This is a meaningful addition that helps the agent understand the body parameter, even though it does not enumerate the fields itself.

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 states a specific verb and resource: 'Update items cover.' This clearly indicates the tool's purpose. It does not explicitly distinguish from sibling tools like create_items_by_id_cover or delete_items_by_id_cover, but the verb 'Update' and the HTTP method PATCH make the intent clear enough. Slight deduction for not naming alternatives directly.

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

Usage Guidelines3/5

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

The description provides some usage guidance by instructing the agent to 'Read the matching GET or the /schema endpoint first to see the fields this resource expects.' This helps with parameter construction, but it does not explain when to use this tool versus alternatives (e.g., when to update vs. create or delete a cover). No explicit exclusions or scenario guidance, so it is adequate but not comprehensive.

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