Skip to main content
Glama

update_inventory_item

Idempotent

Modify specific fields of an inventory item you own. The update is idempotent and only alters provided values.

Instructions

Patch an inventory item. Only provided fields change. Idempotent.

Caller must own the item (404 otherwise — the API doesn't leak existence). For lifecycle changes, see mark_for_sale and mark_sold for ergonomic wrappers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYes
item_idYes
nameNo
product_idNo
statusNo
quantityNo
notesNo
acquisition_priceNo
acquisition_currencyNo
purchased_atNo
asking_priceNo
asking_currencyNo
conditionNo
external_linkNo
external_idNo
projectNo
Behavior5/5

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

Beyond annotations (idempotentHint=true), description adds crucial behavioral details: partial update nature, 404 for non-owners without leaking existence, and idempotency confirmation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences with clear front-loading: first sentence defines the action, second confirms idempotency, third adds ownership context and links to alternative tools. No superfluous text.

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?

Given complexity (16 parameters, no output schema), the description covers key aspects (partial update, idempotency, ownership, lifecycle alternatives). Lacks return value description but is otherwise adequate for a patch operation.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not explain individual parameters (e.g., name, quantity). It only implies partial update but fails to add semantic meaning for the many optional fields.

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 clearly states it patches an inventory item with 'only provided fields change', which is specific and distinguishes from sibling tools like 'mark_for_sale' and 'mark_sold' that handle lifecycle changes.

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?

Explicitly mentions ownership requirement ('Caller must own the item') and provides alternatives ('see `mark_for_sale` and `mark_sold` for ergonomic wrappers'), guiding when to use this tool versus siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rubenayla/partle'

If you have feedback or need assistance with the MCP directory API, please join our Discord server