Skip to main content
Glama

Update an item

update_item
Idempotent

Modify an existing inventory item’s fields—such as name, brand, category, notes, location, tags, or links—while leaving omitted fields unchanged. Use it to correct or enrich item records.

Instructions

Changes some of an item's fields — name, brand, value, category, notes, the box it's in… — after the person has said what to change (or confirmed suggestions from get_item). Fields left out stay as they are; send null to clear one. tags and links replace the whole list (send the old ones you want to keep). To move it, set locationId (from list_locations; null: nowhere in particular) — moving a box takes what's inside along, and moving something that was in a box takes it out of the box; to put it into a box, containerItemId. For using some up or restocking use adjust_stock, which logs the change; for a counter reading use record_reading. Returns the updated item.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe item's id, from search_inventory or list_items
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
nameNoWhat 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
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. Changed3 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"
      +}
  2. 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"
      +}
  3. 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"
  4. 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"
      +}
  5. 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 / id / description
      Added value: +"The item's id, from search_inventory or list_items"
    • 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 / 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"
  6. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (idempotent, not destructive, not read-only), the description discloses the patch semantics: omitted fields persist, null clears, and tags/links replace wholesale. It also explains the cascade of moving a box ('takes what's inside along') versus moving an item out, and states it returns the updated item.

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 dense but front-loaded and every sentence carries operative detail; the move/box cascade and list-replacement rules are high-value. Minor density cost keeps it from a clean 5, but nothing is 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 40-parameter mutation tool, this covers the subtle patch/replace distinctions and relationship cascades an agent would otherwise get wrong, and it notes the return value. With annotations handling safety and full schema coverage, the description is complete for correct invocation.

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 individual parameter meanings are already documented, but the description adds cross-cutting semantics the schema cannot: patch-vs-replace behavior, null-to-clear, and the locationId vs containerItemId interplay. This goes beyond restating field definitions.

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?

The description states a specific verb and resource ('Changes some of an item's fields') and enumerates examples (name, brand, value, category, notes, box). It distinguishes itself from siblings by naming adjust_stock and record_reading as the tools for other kinds of updates.

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 explicit when-to-use framing ('after the person has said what to change (or confirmed suggestions from get_item)') and, crucially, redirects stock changes to adjust_stock and counter readings to record_reading. Alternatives and exclusions are both present.

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