Skip to main content
Glama
Anujsup

Milkbasket MCP Server

by Anujsup

add_to_cart

Add a product to your cart or increase its quantity for an upcoming delivery. Use when you want to order more of an item.

Instructions

Add a NEW product to the basket or INCREASE the quantity of an existing product. Use this only when the quantity is going UP (e.g. adding a product for the first time, or bumping qty from 2 to 3). To DECREASE quantity or DELETE a product from the cart, use remove_from_cart instead. For flash deal products (free items from get_flash_deals), use add_flash_deal_to_cart instead. Requires authentication. Get productId and price from search_products or list_products.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDelivery date in YYYY-MM-DD format. Defaults to tomorrow if not provided.
priceYesThe selling price of the product (the 'selling' field from search results)
quantityNoTarget quantity to set (must be >= 1). Default: 1
productIdYesThe product ID obtained from search_products or list_products
Behavior4/5

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

With no annotations, the description carries the burden and does well by disclosing that authentication is required and that productId/price must be sourced from search/list products. It also clarifies its behavioral role (add vs. increase). However, it doesn't reveal potential side effects (e.g., failure behavior) or whether quantity is absolute/incremental beyond the schema's 'Target quantity to set'.

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?

The description is concise and well-structured: the primary action is stated first, followed by usage boundaries, alternatives, auth, and data sourcing. Every sentence serves a purpose without redundancy.

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?

The description is complete for a moderately complex tool: it covers purpose, alternatives, authentication, and parameter provenance. It doesn't mention error handling or return values, but there is no output schema, and these are not essential for selecting/invoking the tool correctly in most cases.

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 coverage is 100%, so the baseline is 3. The description adds value by telling the agent where to obtain productId and price ('Get productId and price from search_products or list_products'), which is not in the schema. It also reinforces the quantity parameter's intent with the 'bumping qty' example, though the schema already describes it as a target quantity.

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 tool's function with a specific verb and resource: 'Add a NEW product to the basket or INCREASE the quantity of an existing product.' It also explicitly distinguishes itself from sibling tools by naming remove_from_cart and add_flash_deal_to_cart for alternative use cases.

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?

The description provides explicit usage boundaries: 'Use this only when the quantity is going UP' and gives concrete examples. It also names the exact alternatives for decreasing/deleting (remove_from_cart) and flash deals (add_flash_deal_to_cart), fulfilling the when/when-not 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/Anujsup/milkbasket-mcp'

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