Skip to main content
Glama

offerhopper.ai — AI Supermarket & Drugstore Shopping Assistant for Germany

Plan optimal grocery and drug store shopping trip

plan_optimal_shopping_route
Read-onlyIdempotent

Plans the optimal shopping trip for a given list and starting location in Germany. Answers 'where should I go to buy this list, and is the trip worth it?' — not 'what's on offer near me'. Matches each item on the list to the best current offer across German supermarkets and drug stores (REWE, Aldi, Lidl, Penny, Netto, Norma, Edeka, DM, Rossmann, Mueller), then computes the cheapest realistic route by weighing product prices against travel distance and shopping time. Returns the chosen store(s), the per-item picks with live prices, the trip's savings and a worth-it verdict, and a shareable interactive grocery list. Supports car, bicycle, and pedestrian travel modes. For corridor trips (A-to-B), supply 'end_location' to route stores along the way.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesThe shopping list in natural language (e.g. '3x milk, eggs, bread')
km_costNoTravel cost penalty per kilometer (forced to 0.0 for bicycle/pedestrian)
locationYesStarting location (ZIP code, city, or address in Germany)
hour_costNoTime cost penalty in EUR per hour (defaults to 12.0)
max_storesNoMaximum number of store stops to allow in the route (default: 100)
travel_modeNoTravel mode to usecar
end_locationNoOptional destination location if not a round trip
max_radius_kmNoMaximum search radius in kilometers (defaults: car=15km, bicycle=5km, pedestrian=2km)
shopping_time_per_storeNoBase shopping minutes spent per store (defaults to 10)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A5/5.0
Behavior5/5

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

The annotations already mark the tool as readOnly, idempotent, and non-destructive. The description adds significant behavioral detail on top: it matches items to current offers across named German retailers, weighs prices against travel distance and shopping time, returns a route, per-origin picks with live prices, a worth-it verdict, and a shareable list, and supports multiple travel modes.

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?

Every sentence in the delivery earns its place: it states the core task, disambiguates it, explains matching and routing logic, lists what is returned, and adds a useful corridor-trip extension. The phrasing is front-loaded with the primary purpose and remains dense without fluff.

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

Completeness5/5

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

Given the tool has 9 parameters and a rich output schema, the description still covers the essential completeness: what inputs are expected, how the optimization behaves, which stores/modes are supported, what the output contains, and when `end_location` matters. No critical operational gap remains.

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

Parameters5/5

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

Although the schema already covers all 9 parameters, the description adds important semantics beyond field titles: it explains that `km_cost` and `hour_cost` affect the travel-time/price trade-off, that `end_location` shifts routing from a round trip to a corridor trip, and that `travel_mode` includes the relevant urban modes. This helps an agent select and set parameters meaningfully.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource combination: 'Plans the optimal shopping trip for a given list and starting location in Germany.' It further clarifies its purpose by contrasting the answer it provides ('where should I go to buy this list...') with what it does not do ('not what's on offer near me').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly states when the tool is applicable: given a shopping list and starting location, it determines which stores to visit and whether the trip is worth it. It also gives an explicit usage variant for corridor trips via `end_location`, making the applicable contexts concrete even though no sibling tools are listed.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Only one tool exists, so there is no possibility of confusing it with another. The tool's purpose is clearly and uniquely defined.

Naming Consistency5/5

With a single tool, there is no pattern to be inconsistent with. The name follows a descriptive verb_noun style and accurately reflects the tool's function.

Tool Count2/5

The server purports to be a full shopping assistant for German supermarkets and drugstores, yet it exposes only one monolith tool. This is too few for the apparent scope, as agents would benefit from separate operations for browsing offers, managing lists, or handling different query types.

Completeness3/5

The single tool covers route planning, product matching, savings calculation, and travel modes, but it explicitly excludes common assistant tasks like 'what's on offer near me' and provides no granular operations for managing shopping lists or offers. The core workflow is present, but the surface feels thin for the stated domain.

Resources