Skip to main content
Glama

Add to a list

add_to_list
Idempotent

Add a library item to a list by title. Creates the list if it does not exist. The item must already be in the library (use add_item first if not).

Input Schema

NameRequiredDescriptionDefault
noteNoOptional note about why this item is on the list
titleNoThe library item title (exact title preferred; an ambiguous partial match returns candidates with ids instead of guessing)
item_idNoLibrary item id (UUID), as shown by get_details. When given, title is ignored and the row is addressed exactly.
list_nameYesThe list to add to (case-insensitive; created if missing)
media_typeYesType of media

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so the safety profile is carried structurally. The description adds genuinely new behavior: the implicit list creation side effect and the library-membership prerequisite. It doesn't say what the ambiguous-title response looks like, though the schema parameter text does.

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

Conciseness5/5

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

Three short sentences, front-loaded with the primary action, followed by the auto-create behavior and the prerequisite. Nothing redundant and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter mutation tool with full schema coverage and no output schema, the description covers the primary action, the side effect, and the precondition — everything needed to invoke it correctly without opening sibling tools.

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 coverage is 100% and the parameter descriptions are already rich (exact-title preference, item_id override, case-insensitive list_name). The description's only added hint is 'by title', so it neither regresses nor meaningfully extends the schema — baseline 3.

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

Purpose5/5

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

States a specific verb+resource ('Add a library item to a list') and immediately adds the two scope facts an agent needs: the list is auto-created and the item must already exist. This distinguishes it cleanly from add_item and create_list in the sibling set.

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

Usage Guidelines5/5

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

Explicitly routes to the sibling: 'use add_item first if not' handles the precondition, and 'Creates the list if it does not exist' tells the agent not to call create_list first. Both the when-to-use and the when-to-use-something-else cases are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources