Skip to main content
Glama

Add list items

add_list_items
Idempotent

Add items to a list or detail_list preference. Items already on the list are reported, not added twice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "<key>",
      "items": "<items>",
      "reason": "<reason>"
    },
    "name": "add_list_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesthe list's key, such as media.watched_movies
itemsYesthe items to add, at most 100
reasonYesone sentence on why, usually what the user said

Output Schema

NameRequiredDescriptionDefault
addedYes
pendingNoset when adding waits for the user's approval
already_presentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and the description reinforces this with "Items already on the list are reported, not added twice," which tells the agent what the duplicate outcome looks like rather than silently succeeding. It stops short of describing the returned report or the 100-item limit (left to the schema).

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?

Two short sentences, zero filler, with the core action front-loaded and the duplicate-handling caveat immediately after it.

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

Completeness4/5

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

With rich annotations, a fully documented schema, and an output schema covering the returned report, the description is sufficient to call the tool correctly. The only shortfall is that the behavioral difference between a list and a detail_list is left entirely to the schema example.

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 100%, including worked examples for key, label, fields, and external_ref, so the schema does the heavy lifting. The description adds nothing parameter-specific beyond the list/detail_list distinction; baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ("Add items to a list or detail_list preference") and scopes it to two container types. It does not name a sibling such as update_list_items or remove_list_items, so differentiation relies on the agent's reading of the verb.

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

Usage Guidelines3/5

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

Usage is implied by "Add items to a list or detail_list preference" — an agent can infer this is the append path versus removal or update — but there is no explicit when-to-use, no prerequisites, and no named alternative for edits to existing items.

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