Skip to main content
Glama

rappi_add_to_cart

Add a product to your Rappi cart by providing store ID, product composite ID, and units. Increments quantity if the item is already in cart.

Instructions

Add an item to the cart (or increment its quantity if already present).

Args: store_id: Numeric store ID (e.g. 900024799). store_type: Store type slug (e.g. "lider"). composite_id: Product composite ID from rappi_search_products. units: Number of units to add. sale_type: "U" (unit) or "WP" (by weight), from search results.

Returns the updated cart response from Rappi.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
store_idYes
store_typeYes
composite_idYes
unitsYes
sale_typeYes
Behavior3/5

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

No annotations present; description adds incremental behavior and return value but misses details like prerequisites (cart existence) and error conditions.

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?

Description is concise (6 lines) with clear arg list and returns line, no wasted words.

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 5-param tool with no output schema or annotations, description covers parameters and return value well; could add more on prerequisites or error handling but is largely complete.

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 0% schema coverage, description explains each parameter meaningfully, including examples for store_id and sale_type, bridging the gap significantly.

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?

Description clearly states the tool adds an item to the cart and increments quantity if already present, which distinguishes it from siblings like rappi_remove_from_cart and rappi_clear_cart.

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?

Provides implicit guidance by mentioning composite_id and sale_type come from search results, but lacks explicit when-to-use or when-not-to-use guidance compared to siblings.

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/bgirardi99/RappiMCP'

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