Skip to main content
Glama

Bite

Add to my Bite cart

add_to_cart
Idempotent

Adds a compared basket (basket_id), typed items (items) or specific Bite products by id (products) to the signed-in user's Bite cart, next to what is already there, so they can finish in the Bite app. A product already in the cart takes the new quantity. Example requests: "add this to my cart", "תוסיף לעגלה". Requires signing in to Bite.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_to_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoProducts to add as the user wrote them, one per entry, with the count first if more than one (e.g. "2 חלב 3%").
productsNoSpecific Bite products to add exactly as chosen, such as ones listed by browse_products.
basket_idNoA basket from compare_basket or refine_basket; adds its products (the ones the user chose) with their quantities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false; the description adds valuable non-obvious semantics: additions are additive rather than replacing, and a duplicate product takes the new quantity. It also discloses the auth requirement (sign in to Bite). What's missing is the return shape or failure behavior, but the annotations plus added merge semantics make this solid.

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?

Front-loaded with the core action and its three modes, then merge behavior, then examples and sign-in requirement. Dense but purposeful; the Hebrew example is useful for matching user utterances, though it adds a slight bit of visual noise for non-Hebrew readers.

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 3-param, zero-required mutation tool with no output schema, the description covers what each input means, that combinations are allowed, additive/quantity-override semantics, and the auth prerequisite. Return values and error cases are undocumented, but the essential invocation guidance is present.

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 baseline is 3, but the description adds real meaning by explaining the relationship between the three modes (basket from compare_basket/refine_basket, free-typed items, exact products from browse_products) and confirming they can coexist. This ties parameters to sibling tool outputs, which the schema does not.

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?

States a specific verb (adds) and resource (user's Bite cart), enumerates the three input modes (basket_id, items, products), and clarifies additive behavior ('next to what is already there'). Distinguishes itself from siblings like get_my_cart and compare_basket without needing examples.

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 concrete when-to-use cues via example utterances ('add this to my cart', 'תוסיף לעגלה') and notes the sign-in requirement. It doesn't explicitly exclude cases (e.g., when to prefer compare_basket first), but the example phrasings effectively anchor when the tool applies.

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