Skip to main content
Glama

Quantum Atlas — Local Shops, Products & Sales Tax

Calculate Basket Total With Local Sales Tax & Pickup Fees

retail_estimate_basket
Read-onlyIdempotent

Use this to calculate an exact shopping basket total with local sales tax (for example 6% DC retail vs. 10% DC dining, 0% USVI duty-free up to $1,600), clothing tax exemptions, and pickup or shipping fees. Never charges a card automatically. Parameters: business_id, items, fulfillment_mode, destination (optional). Behavior: free, exact price calculation, never places a charge.

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": {
      "business_id": "<business_id>",
      "items": "<items>"
    },
    "name": "retail_estimate_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes1 to 30 products from retail_get_store_catalog or retail_search_products.
business_idYesStore business_id.
destinationNoTown or city slug (for example: "annapolis", "ocean_city", "kill_devil_hills", "navy_yard", "st_croix", "calistoga", or any global city like "rehoboth_beach_de"). Optional when connected to /retail/:destination/mcp.
fulfillment_modeNoFulfillment method (in_store_pickup and curbside_pickup have $0.00 fulfillment fee).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description still adds real behavioral context beyond that: the calculation is free, it is exact, it is local-tax aware, and it never places a charge — the last point being the most operationally important fact for an agent.

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?

The purpose is front-loaded and the whole definition is a few short lines. The 'Never charges a card automatically' / 'never places a charge' pair is mildly redundant, and the bare 'Parameters:' list restates schema fields, but nothing is padded.

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?

With no output schema, the description still makes clear that the result is an exact total including tax and fulfillment fees, which is enough to interpret the response. A brief note on whether a tax/fee breakdown is returned would make it fully complete.

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%, so the baseline is 3; the description merely lists the four parameter names without elaborating on formats, limits (1-30 items, max quantity 50) or the slug pattern. The tax examples do give flavor for why destination matters, but nothing an agent could not read from the schema.

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?

The description states a specific verb and resource — 'calculate an exact shopping basket total' — and scopes it with tax, exemption and fee handling. It implicitly distinguishes itself from charging tools ('never places a charge'), though it never names a sibling tool for comparison.

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?

It gives concrete usage context (DC retail vs. dining tax rates, USVI duty-free threshold, clothing exemptions, pickup/shipping fees) that tells an agent when the tool matters. However, there is no explicit statement of when to prefer it over alternatives such as retail_preview_paid_tool or retail_resolve_intent_basket, and no stated prerequisites.

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