Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_items_by_id_match

Idempotent

Applies a metadata match to an item by ID, updating it with provider information from the match result.

Instructions

Create or act on items match.

POST /api/items/{id}/match

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

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

Annotations already indicate idempotentHint=true and destructiveHint=false, so the description does not need to restate those. However, the description adds no behavioral context beyond the vague 'Create or act': it does not disclose what state changes occur, whether metadata providers are required, or whether existing match data will be replaced. No contradiction with annotations exists.

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

Conciseness3/5

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

The description is short and includes the essential endpoint and parameter hints, but the opening sentence 'Create or act on items match' is vague and adds little value. It is not poorly structured overall, but the lead wastes the opportunity to clarify the action.

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?

With an output schema present, return values need not be explained, but the description still leaves critical gaps: what 'match' does, when to call it, what prerequisites exist, and how it differs from batch quickmatch. For a mutation-style action on items, this is insufficient context for an agent to confidently invoke it.

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?

Schema description coverage is 0%, so the description must compensate. It identifies id as a path parameter and body as the request payload, and it instructs the agent to consult the matching GET or /schema endpoint for field details. This is genuinely helpful for the body object, but it does not explain what id refers to or what fields body should contain.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Create or act on items match,' which essentially restates the tool name without clarifying what 'match' means as an operation. The endpoint path POST /api/items/{id}/match is precise, but the description does not explain the effect of the match action or distinguish it from similar tools like create_items_batch_quickmatch.

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?

The description gives no guidance on when to use this tool versus alternatives such as create_items_batch_quickmatch or create_items_batch_scan. The only usage-related instruction is to read the matching GET or /schema endpoint first, which is a parameter prerequisite rather than a tool-selection guideline.

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