Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_tools_item_by_id_embed_metadata

Idempotent

Creates or updates embedded metadata for a specific library item using its ID and a request body. Use this tool to apply item metadata fields after checking the schema endpoint for expected payload.

Instructions

Create or act on item embed-metadata.

POST /api/tools/item/{id}/embed-metadata

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.6/5.0
Behavior2/5

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

Annotations already convey readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and the description adds no extra behavioral context such as side effects, permissions, or rate limits. 'Create or act on' merely matches the mutation hint without disclosing what the operation changes.

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-structured: the endpoint is front-loaded, and the args are listed cleanly. The main weakness is that the first sentence is vague, but there is no unnecessary prose.

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 with an unconstrained request body and a vague operation, the description leaves too much to inference. It directs the agent to GET/schema, which helps with payload construction, but it never clarifies the purpose, expected effect, or why an agent should choose this over its batch sibling. The output schema exists, so return-value documentation is not the main gap.

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 description correctly notes that id is a path parameter and body is the payload, and it points to the matching GET or /schema endpoint for field discovery. Since the schema has 0% description coverage and body is an opaque additionalProperties object, this pointer is useful, though it does not enumerate any actual body fields.

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 identifies the resource ('item embed-metadata') and an action ('Create or act on') plus the exact endpoint, so it is more than a tautology. However, 'act on' is vague and does not explain what embedding metadata actually does or how this differs from siblings like create_tools_batch_embed_metadata.

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?

There is no guidance on when to use this tool versus alternatives such as create_tools_batch_embed_metadata, nor any exclusions or prerequisites. The instruction to read the matching GET or /schema endpoint is about request construction, not 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