Skip to main content
Glama

update_library_metadata_by_ids_match

Idempotent

Match metadata for specified library item IDs using guid, name, or year to fix incorrect or missing metadata.

Instructions

Match a metadata item.

PUT /library/metadata/{ids}/match

Args: ids: Comma-separated list of IDs guid: The guid name: The name year: The year to filter by

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
guidNo
nameNo
yearNo

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, destructiveHint=false, and readOnlyHint=false, but the description adds no behavioral context beyond that. It does not say what side effects a match has, whether existing fields are overwritten, or what matching criteria mean in practice. 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.

Conciseness2/5

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

The description is short, but the 'Args' block largely duplicates the input schema and several lines are tautological. The opening sentence is vague, and the redundant parameter list means not every part earns its place.

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 mutation-like operation with four parameters and zero schema descriptions, this description is incomplete. Even though an output schema exists, the agent lacks enough information to know what the operation does, when to choose it, or how guid/name/year interact with ids during matching.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 carry the parameter meaning, but it mostly repeats the parameter names: 'guid: The guid' and 'name: The name' are tautologies. Only 'ids: Comma-separated list of IDs' and 'year: The year to filter by' add limited value, and the role of these fields in the match operation is still unclear.

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 a resource ('a metadata item') and an operation ('Match'), and gives the exact endpoint, so it is more than a tautology. However, 'match' is ambiguous and the description does not explain what matching entails, nor does it distinguish this from siblings like update_library_metadata_by_ids_matches or update_library_metadata_by_ids_unmatch.

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 about when to use this tool versus the many sibling metadata update/match operations. The description only restates the endpoint and arguments; it provides no context, prerequisites, or exclusions.

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