Skip to main content
Glama

Macron Store Vilnius

Add to cart

add_line

Adds a quantity of a product (and combination, for products with sizes or colours) to the cart. At most 10 of one item and 50 in total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quantityNo
cart_tokenYescart_token from create_cart
product_idYes
combination_idNofrom get_availability; 0 or absent for a product without combinations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this a non-destructive write in a closed world, so the bar is lower. The description adds genuine constraint context the annotations do not carry: a per-item cap of 10 and a cart total of 50, which shapes how an agent should batch adds. It omits what happens when the cap is exceeded.

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 tight sentences with zero filler. The primary action is front-loaded and the constraint sentence follows, so an agent gets the operation first and the limits second.

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 mutation tool with no output schema and annotations carrying the safety profile, this covers action, variant handling, and quantity caps adequately. Missing only error behavior on cap violation and explicit sibling routing, which are minor given the surrounding schemas and tools.

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?

With only 50% schema description coverage, the description must compensate, and it does partially: it explains the combination concept ('products with sizes or colours') and the quantity limit that reinforces the schema's maximum: 10. cart_token and product_id semantics remain undocumented in both places.

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?

Clear verb+resource: 'Adds a quantity of a product ... to the cart', which an agent can distinguish from set_quantity and remove_line. It also clarifies the combination case for sized/coloured products. It stops short of explicitly naming a sibling, so it is clear but not routed.

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?

Usage is only implied by the verb 'adds' plus the stated caps ('at most 10 of one item and 50 in total'). There is no explicit when-to-use-vs-alternatives guidance (e.g. add_line vs set_quantity), nor any statement about prerequisites beyond the cart_token reference.

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