Skip to main content
Glama
mgwalkerjr95

Texas Grocery MCP

by mgwalkerjr95

cart_add

Destructive

Add an item to the shopping cart using product and SKU IDs. Confirm the action to verify the item was added successfully.

Instructions

Add an item to the shopping cart with verification.

Without confirm=true, returns a preview of the action. With confirm=true, executes the action and VERIFIES it worked.

IMPORTANT: Use both product_id and sku_id from product_search results:

  • product_id: shorter ID (e.g., '127074')

  • sku_id: longer ID (e.g., '4122071073')

Returns error if item wasn't actually added to cart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sku_idNoSKU ID (longer numeric ID). If not provided, uses product_id for both.
confirmNoSet to true to confirm the action
quantityNoQuantity to add
product_idYesHEB product ID (short numeric ID from search results)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds detail beyond the `destructiveHint: true` annotation by explaining that `confirm=true` executes and verifies the addition, and returns an error if the item wasn't added. It does not mention other side effects (e.g., cart state changes), but the verification behavior is well described.

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 with a clear structure: main action, preview vs. execution, important parameter guidance, and error behavior. It is front-loaded and uses bullet points effectively without unnecessary text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity, the presence of an output schema (context signal), and the sibling tools, the description covers all necessary aspects: the action, verification, parameter relationships, and error handling. It is complete for an agent to use correctly.

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

Parameters5/5

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

Although the schema already covers all parameters (100% coverage), the description adds critical value by explaining the relationship between `product_id` (short ID) and `sku_id` (long ID) and how they come from search results. This goes beyond the schema's individual descriptions.

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 action: 'Add an item to the shopping cart with verification.' It specifies the preview vs. execution behavior and distinguishes itself from siblings like `cart_add_many` and `cart_add_with_retry` by focusing on single-item addition with verification.

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?

The description explains when to use `confirm` (preview vs. execution) and provides guidance on using both `product_id` and `sku_id` from search results. It does not explicitly state when to use alternatives like `cart_add_many`, but the context is clear enough for an agent to differentiate.

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/mgwalkerjr95/texas-grocery-mcp'

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