Skip to main content
Glama
bxxf

OlaOla Supplement MCP

by bxxf

Update OlaOla Cart Item

olaola_update_cart_item

Update the quantity of a specific item in an OlaOla supplement cart by providing the cartItemId and new quantity. Read the cart first to obtain the cartItemId.

Instructions

Set the quantity for an existing OlaOla cart line item. Read the cart first, then pass the item's cartItemId. In auto mode, use the real account cart when credentials work; real cart changes require confirmed=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
cartIdNo
quantityYes
confirmedNo
cartItemIdYes
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions that real cart changes require confirmed=true, implying mutability, but does not disclose idempotency, destructive nature, authorization needs, or error states. Partial coverage.

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?

Two sentences with key steps, no redundancy. Could be more structured (e.g., bullet points) but remains clear and efficient.

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?

Provides basic workflow but lacks details on success/error responses, mode differences, and cartId usage. With 5 parameters and no output schema or annotations, the description should be more comprehensive.

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

Parameters3/5

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

Schema description coverage is 0%, so description must compensate. It adds meaning for cartItemId (read first) and confirmed (real cart requirement) and mode (auto mode behavior). However, cartId and quantity parameters are not elaborated. Partial but not full compensation.

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 ('Set the quantity') and resource ('existing OlaOla cart line item'), using specific verbs and distinguishing from sibling tools like add_to_cart or remove_from_cart.

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?

Provides explicit workflow: 'Read the cart first, then pass the item's cartItemId.' Also explains mode behavior and the confirmed parameter requirement for real cart changes. Lacks explicit when-not-to-use or alternatives, but sufficient guidance.

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/bxxf/olaola-supplement-mcp'

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