Skip to main content
Glama

Add to a list

add_to_list

"Lägg mjölk på listan": on the person's own list (done at once, only they see it) or their household's (a card they tap in Hem). to picks; left out, it goes where they last chose, else the household's when they have one. Something already there isn't 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": {
      "items": "<items>"
    },
    "name": "add_to_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNome = their own list, home = their household's.
itemsYes1–20 things, one per entry, e.g. ["mjölk", "ägg"].
householdNoThe household's name or householdId from list_households, e.g. "Hemma". Leave out when the person has only one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive, non-idempotent write; the description adds real behavioral context: personal lists are private (''only they see it''), household lists are surfaced in a shared place (''a card they tap in Hem''), a deferred default target is remembered, and duplicates are suppressed. Note a mild tension with idempotentHint=false, since ''Something already there isn't added twice'' implies repeated adds collapse — but the stateful 'last chosen list' default plausibly explains the annotation, so this is not a hard contradiction.

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

Conciseness4/5

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

It is compact, front-loads the concrete Swedish example, then explains destinations and defaults in a logical order with no filler. The 'a card they tap in Hem' phrasing is UI-specific and slightly opaque without app context, which keeps it from a 5.

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?

For a 3-parameter write tool with no output schema and full schema coverage, the description covers destination choice, defaults, visibility, and deduplication — the things an agent needs to call it correctly. It does not state what a successful response contains or what happens when a household is ambiguous, but the schema mitigates most of that.

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?

Schema coverage is 100%, so the baseline would be 3, but the description adds semantics the schema lacks: what happens when `to` is omitted (last choice, then household fallback) and duplicate-item handling. The `household` parameter is only explained in the schema, so it stops short of a 5.

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?

The description states a concrete verb+resource (add things to a list) and distinguishes the two destinations — the person's own private list versus the household's shared list — which an agent can act on immediately. It does not name or differentiate against nearby siblings such as check_shopping_items or household_info, so it falls short of the top score.

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?

The defaulting rule for `to` (''left out, it goes where they last chose, else the household's when they have one'') is genuinely useful selection guidance for that parameter. However, there is no statement about when to use this tool versus check_shopping_items or how to discover a household name (the `household` field points at list_households only via the schema).

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.