Skip to main content
Glama

Get Online Cart

ah_get_cart
Read-only

Retrieve a live, read-only view of the user's active Albert Heijn shopping cart and order summary to check current items, quantities, and totals before checkout.

Instructions

Read-only view of the user's active Albert Heijn online shopping cart and order summary. Always fetched live, never cached.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes that this is a safe read operation. The description adds useful behavioral context beyond the annotation by stating that the cart is always fetched live and never cached, which tells the agent the data freshness profile.

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 short sentences with zero waste. The read-only nature and resource are front-loaded, and the freshness detail follows immediately.

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

Completeness4/5

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

For a zero-parameter read tool with readOnlyHint and no output schema, the description covers the resource, the read-only nature, and freshness behavior. It is nearly complete, though it could mention authentication requirements if the cart requires a logged-in user.

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, so the baseline score is 4. There are no parameter semantics to explain, and the empty schema is straightforward.

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

Purpose4/5

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

The description states a specific read-only action on a specific resource: the user's active Albert Heijn online shopping cart and order summary. It is clear enough for an agent to know what the tool does, but it does not explicitly distinguish this cart view from sibling tools like ah_get_shopping_list.

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?

Usage is implied by the name and description — read the active cart — but there is no explicit guidance on when to use this instead of a sibling such as ah_get_shopping_list or ah_get_receipt_details. No exclusions or alternative routing are given.

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