Skip to main content
Glama

Add a project item

add_project_item

Adds one item to a project's Sourcing tab; a project with no Sourcing phase (a design project) gets one first, and the answer says so. fields holds the company's own Sourcing columns by key (see project: item_fields), e.g. size, qty. photo_url adds a picture (PNG, JPEG or WebP, up to 10 MB). code, goes, option and cart_id are for a project Claude sources (see update_project). notes: send only the text; Guest Logic starts it with the date and AI (11/19 - AI -) itself. 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": {
      "project_id": "<project_id>",
      "name": "<name>"
    },
    "name": "add_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
nameYesItem name, without its code
notesNoA note, the text only (no date or AI stamp)
priceNoPrice in dollars
storeNoStore
fieldsNoSourcing columns by key, e.g. {"size": "84 in", "qty": "2"}
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)
sectionNoThe slot, e.g. Sofa
photo_urlNoPublic https address of a picture
project_idYesProject id

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. Changed6 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"New value: +"A note, 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"
      +}
  3. Added

TDQS

A4/5.0
Behavior5/5

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

With only readOnlyHint=false and destructiveHint=false given, the description adds substantial behavior: it silently creates a missing Sourcing phase and 'the answer says so', it enforces photo type and a 10 MB cap, it mutates the caller's input by prefixing notes with date and AI stamp, and it requires owner authentication. These are exactly the non-obvious traits an agent cannot get from 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?

Front-loaded with the action, then packed with high-value clauses — no filler sentences. It reads as one dense block with several semicolon chained facts, so a small amount of structural separation would help scanning, but nothing is wasted.

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 13-parameter mutation with a nested object and no output schema, the definition covers side effects, auth, and validation well. It does not say what a successful response contains beyond the phase-creation message (e.g. new item id) or how duplicates are handled, which is a minor remaining gap.

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 baseline is 3, but the description goes beyond it: fields is explained as the company's own Sourcing column keys (cross-referencing project: item_fields) rather than a generic object, notes is explained as text-only because the server stamps the date, and photo_url gains format/size constraints absent from the schema.

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 — 'Adds one item to a project's Sourcing tab' — plus the non-obvious scope detail that a design project with no Sourcing phase gets one created. That distinguishes it from update_project_item and update_project by action, though the description never names those siblings outright to contrast add-vs-edit.

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?

Use context is implied (add a Sourcing item to a project) and the description gives a real prerequisite: 'Owner only. Needs the owner's sign-in.' It also scopes code/goes/option/cart_id to 'a project Claude sources (see update_project)', which helps route parameters. However there is no explicit when-to-use/when-not guidance or pointer to update_project_item for modifying an existing item.

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