Get cart
cart_getGet the current cart for a store.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | Yes | Okam store id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No |
cart_getGet the current cart for a store.
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | Yes | Okam store id. |
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered by structured fields. The description only adds that the cart is the 'current' one for a store; it doesn't say what happens if no cart exists or whether an empty cart is returned.
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 front-loaded sentence with no filler. Nothing is wasted, and the resource and scope appear immediately.
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 one-parameter read tool with an output schema and read-only annotations, the description is nearly sufficient. The only real gap is the edge case of a missing or empty cart, which an agent might need to know before invoking.
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 coverage is 100% and storeId is documented in the schema as the Okam store id. The description mentions 'for a store' but adds no format, range, or lookup detail beyond the schema. Baseline 3 for full coverage is appropriate.
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 ('Get') and resource ('current cart'), scoped to a store. It is clear on its own, but it doesn't distinguish itself from cart_validate or cart_get-style siblings beyond the obvious name contrast.
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?
Usage is only implied by the noun 'current cart' — an agent can infer this is a read of existing cart state, but there is no explicit when-to-use or when-not, and no pointer to cart_validate or the checkout tools.
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.