Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

patch_items_by_id_tracks

Idempotent

Modify track metadata for an Audiobookshelf item by ID, sending a request body with the fields to update.

Instructions

Update items tracks.

PATCH /api/items/{id}/tracks

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

B3/5.0
Behavior3/5

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

Annotations include idempotentHint=true, so the agent knows the operation is idempotent, but the description does not add any behavioral context beyond that. The description does not mention that the body is flexible (additionalProperties: true) or that the operation might overwrite existing tracks. Since idempotence is already covered by annotations, the description only adds minimal value, making this a baseline 3.

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 very short and to the point. It front-loads the purpose in the first line, then restates the endpoint and gives a brief instruction on how to understand the body. There is no fluff, but the 'Args' section is semi-redundant with the schema. Still, it's efficient and well-structured.

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 tool has a high complexity with a nested object body and an output schema that is not described. The description is sparse, but it does give a clear directive to read the GET or /schema endpoint to understand the body fields, which is a pragmatic workaround. However, it does not explain the output, success criteria, or error possibilities. With no output schema details in the description, an agent might not know what to expect in response, but the instruction to use the schema endpoint partially compensates.

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 has 2 parameters with 0% description coverage, meaning the schema provides no descriptions. The body is a free-form object with additionalProperties: true, and the description says 'Read the matching GET or the /schema endpoint first to see the fields this resource expects', which is a crucial hint for understanding the body parameter. However, it does not explain the 'id' parameter beyond 'Path parameter', which is obvious from the schema. Overall, the description adds some value by directing the agent to external resources, but it does not fully compensate for the lack of schema descriptions.

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 'Update items tracks' which identifies the verb 'update' and the resource 'items tracks'. It is distinguishable from sibling tools like patch_items_by_id_media and patch_items_by_id_cover by the resource name, so the purpose is reasonably clear, but it lacks explicit differentiation from similar update operations on the same item resource.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention any conditions, prerequisites, or exclusions. The only hint is the resource name 'tracks', which implies it is specific to updating track-related fields, but this is not explicitly stated.

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