Skip to main content
Glama

Quantum Atlas — Local Shops, Products & Sales Tax

Match a Plain-English Shopping List to Local Store Items (Free)

retail_resolve_intent_basket
Read-onlyIdempotent

Use this to turn a plain-English shopping list of 1 to 20 items (with smart substitute suggestions when something is sold out) into a ready-to-buy local store basket and direct checkout link. Parameters: intents, destination_id. Behavior: free for AI assistants, no wallet or API key required. Never charges a shopper’s card automatically.

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": {
      "intents": "<intents>"
    },
    "name": "retail_resolve_intent_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentsYesList of 1 to 20 plain-English items to match (for example: ["ceramide barrier serum", "canvas tote"]).
spend_keyNoOptional prepaid spend key (sbk_*) for paid tools. Can also be sent in the x-atlas-spend-key HTTP header.
builder_codeNoOptional partner builder_code for ERC-8021 revenue attribution.
destination_idNoTown 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.
idempotency_keyNoOptional request ID so retries are safe.
payment_signatureNoOptional Base USDC x402 PAYMENT-SIGNATURE header value when settling with a crypto wallet.

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 cover read-only, idempotent, non-destructive and open-world behavior, and the description adds genuinely new facts: the tool is free for AI assistants with no wallet or API key required, it never auto-charges a shopper's card, and it supplies substitute suggestions when an item is sold out. That resolves the apparent tension with the spend_key/payment_signature parameters in the schema. It stops short of describing failure modes or how the substitute logic picks alternatives.

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?

Two short blocks, front-loaded with the core capability, and no filler. The 'Parameters: intents, destination_id.' line is largely redundant with a fully-documented schema and is the one part that does not earn its place.

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 six parameters, one required, and no output schema, the description covers the input shape, the conceptual return (basket plus checkout link), the free/no-charge model, and sold-out substitution. The only gap is that the optional paid-settlement parameters are left entirely to the schema.

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 description coverage is 100%, so every parameter including destination_id, spend_key and payment_signature is already documented in the schema. The description names only 'intents' and 'destination_id' and restates the 1-20 item bound, adding little beyond what the schema provides.

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 gives a concrete verb+resource pair: it turns a plain-English shopping list (1-20 items) into a ready-to-buy local store basket plus a checkout link. That clearly separates it from estimate-oriented siblings like retail_estimate_basket, though no sibling is named explicitly to reinforce the boundary.

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 implied by the opening 'Use this to...' with an item-count bound (1-20), which tells the agent the right input shape. There is no when-not guidance and no mention of when to prefer retail_estimate_basket, retail_search_products, or retail_check_inventory_pulse instead.

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