Skip to main content
Glama

Add an item

create_item

Add a new item to a home inventory with location, category, tags, and optional details; search first to avoid duplicates, then update or adjust stock if it already exists.

Instructions

Adds a new item. Search first (search_inventory) so you don't add a duplicate; if it's already there, update_item or adjust_stock instead. Put it somewhere with locationId (list_locations) or in a box with containerItemId, and give it a categoryId and tags (list_categories; new tag names are created). Prices in cents. For a collection, collectionId (list_collections) starts it from the collection's template; wanted: true puts it on the want list (looked for, not owned yet), and update_item with wanted: false once it's got. From a photo, use add_item_from_photo. Returns the new item with its id.

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": {
      "name": "<name>"
    },
    "name": "create_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardNoA trading card: which one in its game's catalog (Pokémon: TCGdex id like sv01-025; Magic: Scryfall id) and the finish owned
heirNoWho should have it one day
nameYesWhat it is, the way people would look for it: "Cordless drill"
tagsNoTag names; new ones are created. When updating, the full new list
brandNoWho made it
linksNoWeb links: the maker's page, the manual online… When updating, the full new list
modelNoModel name or number, as on its label
notesNoAnything else worth keeping: where the spare key is, quirks, settings
gradedNoA graded coin or card: who graded it (pcgs or psa) and the certificate number on its slab
originNoWhich of the app's ways added it; ignored for Claude and API keys (recorded by the server)
wantedNoOn the want list: not owned yet — left out of totals, the report, stock and search unless asked for
barcodeNoIts UPC/EAN barcode (also learned into the household's barcode book)
favoriteNoStarred, to find quickly in the app
quantityNoHow many there are; to count stock up or down, adjust_stock logs the change
returnByNoThe last day the store takes it back, yyyy-mm-dd — what_needs_attention says so the week before
conditionNoWhat shape it's in
usageUnitNoWhat its counter measures, for maintenance by use (a car's miles, a mower's hours)
categoryIdNoA category id from list_categories
disposedOnNoWhen it went, yyyy-mm-dd
disposedToNoWho it went to: the charity or organisation for a donation
locationIdNoWhere it's kept: a location id from list_locations (null: nowhere in particular)
templateIdNoThe item template it's made from (list_categories), whose fields it then has
valueCentsNoWhat one is worth now, in cents — used for the insurance report
collectibleNoA LEGO set (Rebrickable set number like 75192-1), coin (Numista type id, with its issue id and grade), comic (Comic Vine issue id) film or show (TMDB, movie-603 or tv-1396, with the format and a show's season) video game (IGDB id, with the platform as format) record (Discogs release id, with its condition) or book (Open Library work id, e.g. OL27482W) — which one in its collector catalog
descriptionNoA longer description: colour, size, what it's for
dispositionNoNo longer had: sold, given (away), donated (to a charity), discarded, lost or stolen (null: still have it). Gone items leave lists and totals
isContainerNoA box, bin or case that holds other items (they set containerItemId to it)
minQuantityNoKeep at least this many: at or below it, it goes on the shopping list
collectionIdNoThe collection it's part of (list_collections)
customFieldsNoValues for its category's or template's extra fields, by their keys (list_categories shows them)
disposalNoteNoWho it went to, or what happened (for a lost or stolen claim)
partOfItemIdNoThe thing this is a part or supply for (an item id): bags for a dust collector, filters for a furnace — listed on that thing's page under Parts & supplies. Put the part number in model
purchaseDateNoWhen it was bought, yyyy-mm-dd
replacedByIdNoWhat replaced it, once it's gone: the new item's id — both pages link the other
serialNumberNoIts serial number, for warranty claims and insurance
disposalCentsNoWhat it sold for, what insurance paid, or (donated) what it was worth when given, in cents
lifespanYearsNoHow many years this one should last, if not its category's or the typical lifespan — for the replacement forecast
containerItemIdNoThe box it's in: an item id with isContainer; it's then wherever the box is
replacementCentsNoWhat it would cost to replace today, in cents (for the insurance report)
purchasePriceCentsNoWhat was paid for one, in cents (12999 = $129.99)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2026.11.25
    • addedInput schema / properties / card
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "finish": {
      +          "anyOf": [
      +            {
      +              "maxLength": 40,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "game": {
      +          "enum": [
      +            "pokemon",
      +            "magic"
      +          ],
      +          "type": "string"
      +        },
      +        "id": {
      +          "maxLength": 80,
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "game",
      +        "id"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "A trading card: which one in its game's catalog (Pokémon: TCGdex id like sv01-025; Magic: Scryfall id) and the finish owned"
      +}
    • addedInput schema / properties / collectible
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "condition": {
      +          "anyOf": [
      +            {
      +              "maxLength": 40,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "format": {
      +          "anyOf": [
      +            {
      +              "maxLength": 40,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "grade": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "g",
      +                "vg",
      +                "f",
      +                "vf",
      +                "xf",
      +                "au",
      +                "unc"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "id": {
      +          "maxLength": 80,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "issue": {
      +          "anyOf": [
      +            {
      +              "maxLength": 40,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "kind": {
      +          "enum": [
      +            "lego",
      +            "coin",
      +            "comic",
      +            "video",
      +            "game",
      +            "record",
      +            "book"
      +          ],
      +          "type": "string"
      +        },
      +        "season": {
      +          "anyOf": [
      +            {
      +              "maximum": 200,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "kind",
      +        "id"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "A LEGO set (Rebrickable set number like 75192-1), coin (Numista type id, with its issue id and grade), comic (Comic Vine issue id) film or show (TMDB, movie-603 or tv-1396, with the format and a show's season) video game (IGDB id, with the platform as format) record (Discogs release id, with its condition) or book (Open Library work id, e.g. OL27482W) — which one in its collector catalog"
      +}
    • addedInput schema / properties / graded
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "by": {
      +          "enum": [
      +            "pcgs",
      +            "psa"
      +          ],
      +          "type": "string"
      +        },
      +        "cert": {
      +          "pattern": "^[0-9A-Za-z-]{4,30}$",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "by",
      +        "cert"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "A graded coin or card: who graded it (pcgs or psa) and the certificate number on its slab"
      +}
    • changedInput schema / properties / origin / enum
      Previous value: -[
      -  "app",
      -  "photos",
      -  "walkthrough",
      -  "scan",
      -  "label",
      -  "receipt",
      -  "words"
      -]New value: +[
      +  "app",
      +  "photos",
      +  "walkthrough",
      +  "scan",
      +  "cards",
      +  "collector",
      +  "label",
      +  "receipt",
      +  "words"
      +]
  2. Changed1 schema field changedv2026.11.23
    • changedInput schema / properties / origin / enum
      Previous value: -[
      -  "app",
      -  "photos",
      -  "walkthrough",
      -  "scan",
      -  "label"
      -]New value: +[
      +  "app",
      +  "photos",
      +  "walkthrough",
      +  "scan",
      +  "label",
      +  "receipt",
      +  "words"
      +]
  3. Changed3 schema fields changedv2026.11.14
    • addedInput schema / properties / lifespanYears
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 100,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "How many years this one should last, if not its category's or the typical lifespan — for the replacement forecast"
      +}
    • addedInput schema / properties / partOfItemId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The thing this is a part or supply for (an item id): bags for a dust collector, filters for a furnace — listed on that thing's page under Parts & supplies. Put the part number in model"
      +}
    • addedInput schema / properties / replacedById
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What replaced it, once it's gone: the new item's id — both pages link the other"
      +}
  4. Changed4 schema fields changedv2026.11.12
    • changedInput schema / properties / disposalCents / description
      Previous value: -"What it sold for, in cents"New value: +"What it sold for, what insurance paid, or (donated) what it was worth when given, in cents"
    • addedInput schema / properties / disposedTo
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 200,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Who it went to: the charity or organisation for a donation"
      +}
    • changedInput schema / properties / disposition / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "sold",
      -      "given",
      -      "discarded",
      -      "lost",
      -      "stolen"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "sold",
      +      "given",
      +      "donated",
      +      "discarded",
      +      "lost",
      +      "stolen"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / disposition / description
      Previous value: -"No longer had: sold, given, discarded, lost or stolen (null: still have it). Gone items leave lists and totals"New value: +"No longer had: sold, given (away), donated (to a charity), discarded, lost or stolen (null: still have it). Gone items leave lists and totals"
  5. Changed2 schema fields changedv2026.11.10
    • addedInput schema / properties / replacementCents
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What it would cost to replace today, in cents (for the insurance report)"
      +}
    • addedInput schema / properties / returnBy
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The last day the store takes it back, yyyy-mm-dd — what_needs_attention says so the week before"
      +}
  6. Changed31 schema fields changedv0.1.1
    • addedInput schema / properties / barcode / description
      Added value: +"Its UPC/EAN barcode (also learned into the household's barcode book)"
    • addedInput schema / properties / brand / description
      Added value: +"Who made it"
    • addedInput schema / properties / categoryId / description
      Added value: +"A category id from list_categories"
    • addedInput schema / properties / collectionId / description
      Added value: +"The collection it's part of (list_collections)"
    • addedInput schema / properties / condition / description
      Added value: +"What shape it's in"
    • addedInput schema / properties / containerItemId / description
      Added value: +"The box it's in: an item id with isContainer; it's then wherever the box is"
    • addedInput schema / properties / customFields / description
      Added value: +"Values for its category's or template's extra fields, by their keys (list_categories shows them)"
    • addedInput schema / properties / description / description
      Added value: +"A longer description: colour, size, what it's for"
    • addedInput schema / properties / disposalCents / description
      Added value: +"What it sold for, in cents"
    • addedInput schema / properties / disposalNote / description
      Added value: +"Who it went to, or what happened (for a lost or stolen claim)"
    • addedInput schema / properties / disposedOn / description
      Added value: +"When it went, yyyy-mm-dd"
    • addedInput schema / properties / disposition / description
      Added value: +"No longer had: sold, given, discarded, lost or stolen (null: still have it). Gone items leave lists and totals"
    • addedInput schema / properties / favorite / description
      Added value: +"Starred, to find quickly in the app"
    • addedInput schema / properties / heir / description
      Added value: +"Who should have it one day"
    • addedInput schema / properties / isContainer / description
      Added value: +"A box, bin or case that holds other items (they set containerItemId to it)"
    • addedInput schema / properties / links / description
      Added value: +"Web links: the maker's page, the manual online… When updating, the full new list"
    • addedInput schema / properties / locationId / description
      Added value: +"Where it's kept: a location id from list_locations (null: nowhere in particular)"
    • addedInput schema / properties / minQuantity / description
      Added value: +"Keep at least this many: at or below it, it goes on the shopping list"
    • addedInput schema / properties / model / description
      Added value: +"Model name or number, as on its label"
    • addedInput schema / properties / name / description
      Added value: +"What it is, the way people would look for it: \"Cordless drill\""
    • addedInput schema / properties / notes / description
      Added value: +"Anything else worth keeping: where the spare key is, quirks, settings"
    • addedInput schema / properties / origin / description
      Added value: +"Which of the app's ways added it; ignored for Claude and API keys (recorded by the server)"
    • addedInput schema / properties / purchaseDate / description
      Added value: +"When it was bought, yyyy-mm-dd"
    • addedInput schema / properties / purchasePriceCents / description
      Added value: +"What was paid for one, in cents (12999 = $129.99)"
    • addedInput schema / properties / quantity / description
      Added value: +"How many there are; to count stock up or down, adjust_stock logs the change"
    • addedInput schema / properties / serialNumber / description
      Added value: +"Its serial number, for warranty claims and insurance"
    • addedInput schema / properties / tags / description
      Added value: +"Tag names; new ones are created. When updating, the full new list"
    • addedInput schema / properties / templateId / description
      Added value: +"The item template it's made from (list_categories), whose fields it then has"
    • addedInput schema / properties / usageUnit / description
      Added value: +"What its counter measures, for maintenance by use (a car's miles, a mower's hours)"
    • addedInput schema / properties / valueCents / description
      Added value: +"What one is worth now, in cents — used for the insurance report"
    • addedInput schema / properties / wanted / description
      Added value: +"On the want list: not owned yet — left out of totals, the report, stock and search unless asked for"
  7. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

The annotations already declare this is a non-destructive, non-open-world write, so the description's job is to add context beyond that. It does add real side-effect detail — new tag names are created, collectionId seeds the item from a collection template, and it returns the new item with its id — but it never covers failure modes such as duplicate rejection, missing location/category ids, or what happens when a template's custom fields are omitted.

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 front-loaded with the duplicate-check rule and the primary placement choices, and nearly every clause carries decision-relevant information. The middle section is a run-on chain of conditionals that could be split for scanability, but there is no filler.

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 40-parameter creation tool with no output schema, it covers the decisions an agent actually has to make — location vs container, category vs tags, collection template, want list — and states the return value. The long tail of disposal, grading, collectible, and maintenance fields is left entirely to the schema, which is acceptable given full coverage there.

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 property descriptions are already unusually rich, so the baseline is 3. The definition does add value by tying several parameters to the lookup tools that supply their ids (list_locations, list_categories, list_collections) and by flagging that prices are in cents, but the remaining ~35 parameters get no treatment in the description.

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?

"Adds a new item" is a specific verb+resource, and the definition immediately scopes it against siblings by naming search_inventory, update_item, adjust_stock, and add_item_from_photo. An agent can tell which creation path applies without opening any schema.

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?

It gives an explicit pre-flight rule (search first to avoid duplicates), names the alternatives and the condition that selects them (already exists -> update_item or adjust_stock; photo -> add_item_from_photo), and explains the want-list lifecycle including the exit path via update_item with wanted: false.

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