Skip to main content
Glama

Okam

Get cart

cart_get
Read-only

Get the current cart for a store.

Input Schema

NameRequiredDescriptionDefault
storeIdYesOkam store id.

Output Schema

NameRequiredDescriptionDefault
cartNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources