Skip to main content
Glama

Aari Clothing — Premium Menswear, Activewear & Footwear

View cart

view_cart

Return the current Aari Clothing cart contents to an already-rendered app.

Input Schema

NameRequiredDescriptionDefault
cart_idNocurrent
track_actionNo
cart_scope_idNo
source_surfaceNocart
cart_session_idNo

Output Schema

NameRequiredDescriptionDefault
typeNocart_result
emptyNo
itemsNo
cartIdNo
totalsNo
messageYes
storeIdYes
snapshotAtNo
cartScopeIdNo
cartVersionNo
continueUrlNo
emptyReasonNo
snapshotModeNocurrent
cartSessionIdNo
lineItemCountNo
cartSessionStateNoactive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/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 disclosure burden, yet it never says whether the call is read-only, whether it creates a cart when none exists, or what happens if the cart is empty. The only behavioral hint is "already-rendered app," which implies a rendering-context dependency but leaves it unexplained. Parameters such as track_action and source_surface also imply side effects (analytics tracking, surface attribution) that go unmentioned.

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?

It is a single front-loaded sentence with no filler or redundancy. The brevity is appropriate in form, though here it edges toward under-specification rather than efficiency.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but for a five-parameter tool with zero schema coverage and no annotations the description is far too thin. It leaves the cart identity parameters, the tracking flag, and the relationship to the render_* and bootstrap_cart_session siblings entirely unresolved.

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

Parameters1/5

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

Schema description coverage is 0% across five parameters, and the description mentions none of them. cart_id, cart_scope_id, and cart_session_id overlap confusingly and are not disambiguated anywhere, and the track_action flag's effect is entirely undocumented. Even the enumerated source_surface values receive no explanation of why the calling surface matters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description supplies a specific verb and resource ("Return the current Aari Clothing cart contents"), which is clearer than the bare name. However, with siblings like render_cart, update_cart, and bootstrap_cart_session in the same family, "return contents" does not clearly establish how this differs from render_cart or whether it mutates state. The phrase "to an already-rendered app" gestures at a distinction but never states it plainly.

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?

There is no explicit when-to-use or when-not-to-use guidance. An agent facing both view_cart and render_cart gets no rule for choosing between them, and no prerequisites (such as needing an existing cart or session) are stated beyond the vague "already-rendered app" clause.

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