view_cart
View current cart contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. |
View current cart contents.
| Name | Required | Description | Default |
|---|---|---|---|
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full disclosure burden and largely drops it. 'View' implies a read, but it says nothing about empty-cart behavior, what fields come back, whether it triggers a notification, or that the notification_message parameter only matters on follow-up failure.
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?
One short, front-loaded sentence with zero filler — appropriate for a simple read tool. The flip side of that brevity is under-specification rather than verbosity.
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?
For a parameterless read tool with no output schema and no annotations, the description is minimally adequate but thin. An agent still lacks return-shape expectations and cart-state edge cases (empty cart, guest vs logged-in) that would make calling it confident.
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?
Schema description coverage is 100%, so the single optional notification_message parameter is already fully documented in the schema. The description adds nothing about it, which is the expected baseline when the schema does the heavy lifting.
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?
States a specific verb (View) and resource (current cart contents), so the agent knows exactly what the tool returns at a high level. It does not, however, explicitly distinguish itself from the near-identical sibling view_vendor_cart, leaving the 'current' vs 'vendor' scope to be inferred.
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?
No guidance on when to call this versus view_vendor_cart, view_vendor_items, or any of the other cart-adjacent siblings. There are no prerequisites, exclusions, or context cues, so the agent must guess from the name alone.
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.