Skip to main content
Glama
Yandex Lavka Uzbekistan MCP
by d3d0n

get_cart

Reads the current grocery cart for given coordinates without selecting or changing a delivery address, so clients can inspect items and totals before checkout.

Instructions

Read the cart for these coordinates; does not select an address.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "longitude": "<longitude>",
      "latitude": "<latitude>"
    },
    "name": "get_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYes
longitudeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; "Read" does signal a non-mutating operation and the address clause discloses one deliberate non-effect. However, it is silent on whether an empty cart is created when none exists, what happens on invalid or out-of-region coordinates, and any side effects, which matters for a coordinate-scoped cart lookup.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the scope constraint front-loaded and no filler. The lone weakness is that "for these coordinates" is slightly oblique phrasing that could have been spent on concrete detail.

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

Completeness2/5

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

With no annotations, no output schema, and zero parameter documentation, the description is the only source of behavioral detail and does not say what the cart response contains or what occurs when the cart does not yet exist. Two required undocumented parameters make this under-specified for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so both latitude and longitude are bare numbers with no units, ordering, or coordinate-system guidance. The phrase "these coordinates" only weakly maps to the two parameters and adds no format or validity detail, leaving the schema gap uncompensated.

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?

"Read the cart" gives a specific verb and resource, and the qualifier "for these coordinates" scopes it to a location-bound cart. The trailing clause "does not select an address" distinguishes it from address/delivery siblings, though the notion of a coordinate-keyed cart is never explained.

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?

The description implies usage context (you must already have coordinates) and rules out one adjacent action by saying it does not select an address, hinting that address selection belongs to another tool. It never names an alternative such as delivery_location or saved_addresses, and gives no explicit when-to-use or prerequisite guidance.

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