Skip to main content
Glama

HPControl Industrial Catalog

Create a shopping cart

create_cart
Idempotent

Create an HPControl cart. Simple products use SKU; configurable bundle products require a configuration_handle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
idempotency_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
statusYes
totalsYes
cart_refYes
expires_atNo
continue_urlNo
idempotent_replayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already indicate idempotentHint=true and readOnlyHint=false; description adds no behavioral details beyond creating a cart, such as side effects or authentication requirements, but matches expected safety profile without contradictions.

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?

Single concise sentence that front-loads the core action and immediately addresses the key complexity, with no extraneous information.

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?

Given the tool's complexity (nested items with oneOf and multiple parameters), the description covers the most nuanced aspect but omits guidance on idempotency key usage, qty boundaries, or expected output, though an output schema exists.

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?

With 0% schema description coverage, the description partially compensates by explaining the oneOf condition for items (SKU vs configuration_handle), but fails to describe qty or idempotency_key, leaving some parameter meaning unaddressed.

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 'Create an HPControl cart' and distinguishes between simple and configurable products, making its function distinct from sibling tools like get_cart or update_cart.

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 explicit guidance on when to use SKU vs configuration_handle for product types, but does not discuss when to prefer this tool over alternatives like update_cart or when not to use it.

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