Skip to main content
Glama
veronoicc

electronic-components-mcp

by veronoicc

cart_add_item

Add an electronic component to a store shopping cart by specifying its shopId:itemId slug and optional quantity. Use it to build per-store carts before checkout.

Instructions

Add an electronic component to the store shopping cart

Input Schema

NameRequiredDescriptionDefault
slugYesComponent slug ('shopId:itemId')
quantityNoQuantity to add (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a mutation but says nothing about authentication, whether adding an already-present slug errors or increments quantity, or whether the cart persists across sessions — all critical for a cart mutation.

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?

A single front-loaded sentence with no filler. It is efficient, though its brevity reflects under-specification rather than disciplined trimming.

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

Completeness3/5

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

For a two-parameter tool with full schema coverage and no output schema, the description is minimally sufficient to invoke. However, the silence on duplicate-slug behavior and on the add-vs-update boundary with cart_update_item leaves real gaps an agent will hit in practice.

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

Parameters3/5

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

Schema description coverage is 100%, with the slug format ('shopId:itemId') and quantity default/minimum already documented in the schema. The description adds no additional parameter meaning, so the baseline 3 applies.

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?

States a specific verb and resource ('Add an electronic component to the store shopping cart'), so the agent knows exactly what operation occurs. It does not name or contrast with the obviously related sibling cart_update_item, so the distinction between adding a new line and updating an existing one is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no exclusions, and no mention of when to prefer cart_update_item or cart_remove_item instead. With three cart-level siblings sharing nearly identical naming, the absence of routing guidance forces the agent to guess.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.