Skip to main content
Glama
PedroHSGuimaraes

Tienda Nube MCP Server

tiendanube_update_cart_item_quantity

Update cart item quantity using item ID or variant ID. When only variant ID is given, removes and re-adds the item.

Instructions

UPDATE CART ITEM QTY - Update line item quantity by item_id or variant_id (fallback removes+adds).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cart_idNoCart numeric ID
cart_tokenNoCart token string
item_idNoCart line item ID
variant_idNoVariant ID (if no item_id)
quantityYesNew quantity (>=1)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the fallback remove+add behavior when using variant_id, but does not clarify required cart identification (cart_id or cart_token) or describe the response.

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?

Two concise sentences that front-load the purpose and avoid extraneous information. Every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the core logic but omits details like how to identify the cart (though schema parameters are present) and what the tool returns, which would help an agent assess completeness given no output schema.

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 description coverage is 100%, and the description adds context beyond the schema by explaining that variant_id is an alternative to item_id and that using variant_id triggers a fallback remove+add operation.

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 the action (UPDATE CART ITEM QTY) and specifies the resource (line item quantity). It distinguishes from siblings like add and remove by mentioning the update mechanism and fallback behavior.

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?

The description provides context for use (updating quantity) and mentions the fallback behavior, but does not explicitly exclude when not to use it or suggest alternatives among sibling tools.

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/PedroHSGuimaraes/nuvem-shop-mcp-server'

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