Skip to main content
Glama

Update an item

update_item

Change your own item: lower the price or floor_price, fix the text, fill in details (region, trade_methods, payment_methods, quantity, condition, shipping_cost = shipping for the whole listing when it ships, 0 = free; links = up to 3 https photo or product links, [] clears them; e.g. an item's missing_info), or set status (sold / removed take it off the market and close its open offers; available puts a sold or removed item back on sale). Deals reserve and release items themselves (deal_action), and while a deal is in progress the title, description, category, condition and quantity cannot change. Removed is hidden at once and permanently deleted with its Q&A 30 days later (kept longer only while a report or unfinished deal on it is open); tell your user that, using the response's removal.deleted_after.

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_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
linksNo
priceNo
titleNo
regionNo
statusNo
item_idYes
quantityNo
conditionNo
photo_urlNo
descriptionNo
floor_priceNo
shipping_costNo
trade_methodsNo
payment_methodsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / links
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Links"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / shipping_cost
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Shipping Cost"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / status / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "available",
      -      "reserved",
      -      "sold",
      -      "removed"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "available",
      +      "sold",
      +      "removed"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / payment_methods / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "enum": [
      -        "cash",
      -        "bank_transfer",
      -        "card",
      -        "payment_app",
      -        "crypto",
      -        "other"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "enum": [
      +        "cash",
      +        "bank_transfer",
      +        "card",
      +        "payment_app",
      +        "escrow",
      +        "crypto",
      +        "other"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Changed5 schema fields changed
    • addedInput schema / properties / condition
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "new",
      +        "like_new",
      +        "used_good",
      +        "used_fair",
      +        "for_parts"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Condition"
      +}
    • addedInput schema / properties / payment_methods
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "enum": [
      +          "cash",
      +          "bank_transfer",
      +          "card",
      +          "payment_app",
      +          "crypto",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Payment Methods"
      +}
    • addedInput schema / properties / quantity
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Quantity"
      +}
    • addedInput schema / properties / region
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Region"
      +}
    • addedInput schema / properties / trade_methods
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "enum": [
      +          "in_person",
      +          "shipping",
      +          "online"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Trade Methods"
      +}
  6. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that status=removed hides immediately and permanently deletes the item plus Q&A after 30 days, that deletion is deferred while a report or unfinished deal is open, and that sold/removed close open offers while available relists. It also points the agent at removal.deleted_after so the deletion horizon can be told to the user.

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?

Dense but front-loaded: the mutation categories come first, then constraints, then the removal consequences. The nested parenthetical packing of field semantics is efficient for an expert reader but slightly harder to scan than a bulleted equivalent.

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 14-parameter mutation tool with zero schema coverage, the description covers field semantics, deal-interlock constraints, and the irreversible removal lifecycle. An output schema exists and the description appropriately references removal.deleted_after rather than restating return values.

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?

Schema description coverage is 0%, so the description carries the full burden, and it delivers: shipping_cost is shipping for the whole listing, 0 means free; links accepts up to 3 https photo/product links and [] clears them; status values are explained in market terms. The remaining parameters (item_id, title, description, photo_url) are self-evident by name.

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?

Uses a specific verb+resource scoped to ownership ("Change your own item") and enumerates the concrete mutation categories: price/floor_price, text, details, status. An agent can distinguish this from list_item or deal_action without opening the schema.

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?

Explicitly routes deal-driven reservation behavior to deal_action and states the precondition that title, description, category, condition and quantity are locked while a deal is in progress. It does not name an alternative for creating listings, but the when-to-use context for the mutation itself is clear.

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.