Skip to main content
Glama
shaiu
by shaiu

rami_levy_view_cart

Display the current shopping cart contents with the running total and checkout URL. Reads local state only, requiring no network call.

Instructions

Show everything currently in the cart, with the running total and the checkout URL. Reads local state only — no network call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it explicitly states there is no network call and that it reads local state only, signaling a read-only, side-effect-free operation. It does not discuss edge cases like an empty cart, but for a local view operation the core behavior is disclosed.

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?

A single, front-loaded sentence covers action, output details, and the key local/network behavior. No filler or repetition; every clause earns its place.

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

Completeness5/5

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

For a zero-parameter, no-output-schema view operation, the description is sufficient: it says what is shown (cart items, total, checkout URL) and how it behaves (local, no network). An agent can invoke it correctly without additional context.

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

Parameters4/5

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

The tool has zero parameters and the schema confirms this, so the baseline is 4. The description needs to explain no parameter semantics, and it doesn't introduce any confusing parameter expectations.

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 opens with a specific verb and object ('Show everything currently in the cart') and adds the exact outputs (running total, checkout URL). This clearly distinguishes it from sibling mutation/search tools like add_item or search_products.

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?

'Reads local state only — no network call' gives clear context for when this lightweight read is appropriate. It doesn't explicitly name exclusions or alternatives, but the sibling names and the phrase 'currently in the cart' make the intended use obvious.

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