Skip to main content
Glama

Change a project item

update_project_item

Changes one item: only what you send. A note is added below the item's notes (send only the text; Guest Logic starts it with the date and AI, 11/19 - AI -, itself); photo_url adds a picture; an empty field value clears it, and so does an empty code, goes, option or cart_id; decision approves or disapproves it (undecided clears it); retired true marks a replaced item: kept on record, never bought, out of every total. Owner only. Needs the owner's sign-in.

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

Input Schema

NameRequiredDescriptionDefault
codeNoPlacement code: where it goes, written on its box, e.g. L01 (lobby), D01, H01, A1 (letters, digits, up to 12)
goesNoWhere it goes, in words, e.g. "Net over the front desk; trees"
linkNoProduct page, https address
nameNoItem name, without its code
notesNoA note to add, the text only (no date or AI stamp)
priceNoPrice in dollars
storeNoStore
fieldsNoSourcing columns by key
optionNoOption group letter (A, B…): a design option of a space, out of the cart until the owner picks it in the Design phase; empty clears
cart_idNoThe store's id for the cart button: Amazon ASIN (B0D9GB2PZP) or Walmart item id (19969702337)
item_idYesItem id, from project
retiredNotrue: replaced, do not buy (kept on record, out of every total); false: back in the list
sectionNoThe slot
decisionNoThe owner's decision on the item, only when the owner gave it
photo_urlNoPublic https address of a picture

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / option / description
      Previous value: -"Option group letter (A, B…): kept out of the total until the owner ticks the option; empty clears"New value: +"Option group letter (A, B…): a design option of a space, out of the cart until the owner picks it in the Design phase; empty clears"
  2. Changed7 schema fields changed
    • addedInput schema / properties / cart_id
      Added value: +{
      +  "description": "The store's id for the cart button: Amazon ASIN (B0D9GB2PZP) or Walmart item id (19969702337)",
      +  "type": "string"
      +}
    • addedInput schema / properties / code
      Added value: +{
      +  "description": "Placement code: where it goes, written on its box, e.g. L01 (lobby), D01, H01, A1 (letters, digits, up to 12)",
      +  "type": "string"
      +}
    • addedInput schema / properties / goes
      Added value: +{
      +  "description": "Where it goes, in words, e.g. \"Net over the front desk; trees\"",
      +  "type": "string"
      +}
    • changedInput schema / properties / name / description
      Previous value: -"Item name"New value: +"Item name, without its code"
    • changedInput schema / properties / notes / description
      Previous value: -"A note to add"New value: +"A note to add, the text only (no date or AI stamp)"
    • addedInput schema / properties / option
      Added value: +{
      +  "description": "Option group letter (A, B…): kept out of the total until the owner ticks the option; empty clears",
      +  "type": "string"
      +}
    • addedInput schema / properties / retired
      Added value: +{
      +  "description": "true: replaced, do not buy (kept on record, out of every total); false: back in the list",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / decision
      Added value: +{
      +  "description": "The owner's decision on the item, only when the owner gave it",
      +  "enum": [
      +    "approve",
      +    "disapprove",
      +    "undecided"
      +  ],
      +  "type": "string"
      +}
  4. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses note appending with an automatic date/AI prefix, empty-value clearing, decision reset behavior, and soft retirement that preserves the record while excluding it from purchases and totals. It also adds owner authentication requirements, providing substantial operational context not present in the annotations.

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?

The description is compact for a 15-parameter mutation and front-loads the important rule that only supplied values change. Its long semicolon-chained central sentence and awkward date/AI-stamp phrasing reduce scannability, preventing a top score.

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?

Together with the fully described schema, it covers the main requirements for correct invocation: item scope, omitted-field behavior, note and photo effects, clearing, decisions, retirement, and owner authentication. With no output schema, the absence of any response or error-behavior information leaves a small gap, as does the lack of explicit sibling routing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema description coverage is 100%, the description adds cross-parameter patch semantics, clearing behavior for custom field values and several other parameters, and the precise handling of appended notes. Some wording about photo_url and retired repeats the schema, but the new information about omitted values, clearing, note stamps, and undecided is substantial.

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?

"Changes one item: only what you send" states a specific mutation, its single-item scope, and its partial-update semantics. Read with the name and title, the resource is clear, but the description does not explicitly differentiate itself from siblings such as add_project_item or update_project.

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

Usage Guidelines4/5

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

"Owner only" and "Needs the owner's sign-in" provide explicit authorization preconditions, while "only what you send" establishes the targeted-update use case. It does not explain when to choose this tool over adding an item or updating the project as a whole.

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