Skip to main content
Glama

update_library_metadata_by_ids_matches

Idempotent

Fetch metadata matches for specified media IDs to correct or update library information, with optional filters for title, year, language, and manual matching.

Instructions

Get metadata matches for an item.

PUT /library/metadata/{ids}/matches

Args: ids: Comma-separated list of IDs title: The title to filter by parent_title: The parentTitle agent: The identifier of the metadata agent to use language: The language code to use year: The year to filter by manual: Whether to perform the operation manually

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
yearNo
agentNo
titleNo
manualNo
languageNo
parent_titleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.9/5.0
Behavior1/5

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

The description describes a read-only 'Get' operation while the annotations say readOnlyHint=false and the HTTP method is PUT. This is an annotation contradiction and hides the mutating nature of the operation; no side effects, state changes, or prerequisites are disclosed.

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

Conciseness2/5

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

The description is short and organized, but the opening sentence is actively misleading, and parent_title's explanation is a tautology. The endpoint line is useful, but the structure leads with incorrect information.

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?

Given 7 parameters, an output schema, and a large sibling family, the definition lacks when-to-use context, behavioral side effects, and any relationship to the other metadata update tools. The parameter list alone is insufficient for safely invoking what appears to be a mutating match operation.

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?

With 0% schema description coverage, the arg list adds real meaning to all 7 parameters, especially ids, title, year, agent, and language. However, manual lacks accepted values and the schema types it as a string, while parent_title is merely restated as 'The parentTitle.'

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 'Get metadata matches for an item,' which is a specific retrieval statement, but the tool name says update_, the endpoint is PUT, and readOnlyHint=false. This makes the stated purpose misleading rather than merely vague.

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?

No guidance is given for when to use this tool versus closely related siblings such as update_library_metadata_by_ids_match, update_library_metadata_by_ids_unmatch, or update_library_metadata_by_ids_merge. It also never explains when manual should be set or what workflow this supports.

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