Skip to main content
Glama

Trailberg Ireland — Activewear, Tracksuits & Footwear

View cart

view_cart

Return the current Trailberg Ireland 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 supplied, so the description carries the full behavioral burden and does not meet it. It never states that the tool is read-only, what happens when no cart exists, or that passing track_action (default true) appears to emit an analytics event — a side effect the description completely omits.

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 redundant wording, which is structurally clean. The brevity works against it, though, since the space saved is not used for any of the missing usage or parameter context.

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 cart tool with no annotations the description is far too thin. It leaves the choice between this and render_cart unresolved and gives no information about the many cart-identity parameters.

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?

Five parameters have 0% schema description coverage, and the description explains none of them. cart_id, cart_scope_id, cart_session_id, track_action, and the source_surface enum are entirely undocumented, with only a faint hint that "current" cart is the default target.

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 states a verb ("Return") and a resource ("the current Trailberg Ireland cart contents"), so the basic operation is identifiable. However, it does not distinguish itself from the sibling render_cart, and the phrase "to an already-rendered app" is the only hint about how it differs, which is oblique.

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 guidance and no mention of alternatives such as render_cart, update_cart, or bootstrap_cart_session. The phrase "already-rendered app" implies a precondition but never states it as a rule, leaving the agent to infer when this tool is appropriate.

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