get_cart
Current cart contents and total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Current cart contents and total.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It does disclose the key return content ('contents and total'), which is useful for a read tool, but says nothing about authentication requirements, empty-cart behavior, or response shape.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with the essential information front-loaded and no waste. It is arguably too terse to fully serve the agent, but it is well-structured and appropriately sized.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a simple zero-parameter read tool, so little is required. However, with no output schema the description should ideally specify what 'contents' includes (line items, quantities, prices, currency) and the empty-cart case; 'contents and total' leaves the return shape vague.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to disambiguate; per the rubric this is a baseline 4. No parameter-related gaps exist.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific resource (cart) and what is retrieved from it (contents and total), which is clear enough for an agent to know this is the cart-read operation. It does not explicitly distinguish itself from siblings such as add_to_cart or checkout, so it falls short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this tool versus alternatives like add_to_cart or checkout, nor any prerequisites or exclusions. The read-only intent is only implied by the phrase 'Current cart contents', which is weak guidance for routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.