Skip to main content
Glama

add_to_cart

Add a TitanStore product to your cart and receive a cart token. Requires a valid SKU. Returns cart_token needed for checkout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuYes
quantityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

B3.4/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 full burden. It mentions requiring a valid SKU and returning a cart token, but fails to disclose behaviors such as what happens if the product already exists in the cart, whether quantity updates or errors, authentication requirements, or error handling for invalid SKU.

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 two sentences long with no wasted words. It front-loads the primary action and outcome, then adds a prerequisite and return value succinctly.

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 simplicity (2 parameters, output schema exists), the description covers the main purpose and return value, but omits details on quantity behavior, error states, and authentication, leaving gaps for an agent to properly invoke the tool in all scenarios.

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

Parameters2/5

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

Schema description coverage is 0%, meaning the description adds no detail about either parameter beyond mentioning 'sku' implicitly. The quantity parameter is completely ignored, and no additional meaning (e.g., valid ranges, defaults, or format) is provided.

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 action: 'Add a TitanStore product to your cart and receive a cart token.' It uses specific verb and resource, and distinguishes from sibling tools like checkout, confirm_payment, etc., which serve different stages of the purchasing process.

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?

The description implies the tool is used before checkout by stating 'Returns cart_token needed for checkout,' but it does not explicitly state when to use it versus alternatives, nor does it provide when-not-to-use guidance or mention exclusions.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a distinct purpose in the purchase flow: searching products, getting details, adding to cart, checking out, and confirming payment. No overlap in functionality.

Naming Consistency5/5

All tool names follow a clear verb_noun pattern in snake_case (e.g., add_to_cart, get_product). Even 'checkout' is a standard verb that fits the pattern.

Tool Count5/5

Five tools cover the core e-commerce workflow without redundancy. The number is appropriate for the server's purpose of handling basic store operations.

Completeness4/5

The set covers the essential purchase lifecycle from search to payment confirmation. Minor gaps like cart modification or order history are absent but not critical for a basic store.