Skip to main content
Glama

willys_find_cheapest

Find the product with the lowest unit price at Willys by comparing price per kg, liter, or item. Filter by category, brand, or required words to avoid misranked similar products.

Instructions

Sök och rangordna på jämförpris (kr/kg, kr/l, kr/st), sorterat av Willys över hela träffmängden. Returnerar tillgängliga kategorier så du kan smalna av — utan kategori rankas köttfärssås som köttfärs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
needNoBehov, t.ex. "1.7 kg" — ger antal paket och total kostnad
limitNo
queryNo
categoryNoFacettvärde från availableCategories, t.ex. "Kött" eller "Fågel". Filtreras serverside. Kör först utan för att se vilka som finns.
sessionIdYes
mustContainNoOrd produktnamnet måste innehålla (ordgräns/suffix, inte delsträng — "smör" matchar inte "Smörgåsmargarin"). Skydd mot att billigaste träffen delar ett ord men inget annat.
onlyBuyableNo
onlySwedishNoEndast produkter med verifierad svensk ursprungsmärkning
excludeBrandsNoUteslut varumärken, t.ex. ["Eldorado", "Garant"]
mustNotContainNoUteslut produkter vars namn innehåller något av dessa ord (max 20), t.ex. ["margarin","picklad","sås","juice"]. Tar bort nära-missar som delar huvudordet men är fel vara.
requireSwedishMeatNoStriktare: kräver meat_from_sweden eller swedish_bird. Använd för kött.
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It reveals the sorting mechanism, that ranking applies across the entire hit set, and highlights a concrete pitfall with category-less ranking. It does not disclose auth or output shape, but for a read-only search tool this is reasonably transparent.

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?

The description is two sentences with the main function front-loaded and the category caveat in the second sentence. Every part is informative, and there is no filler or redundancy.

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?

Given 11 parameters and no output schema, the description covers the core ranking behavior, the category mechanism, and a critical edge case. It does not describe the full return shape or all parameter interactions, but the schema covers many parameters, making the description reasonably complete for a search tool.

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 64%, and the schema already provides rich descriptions for many parameters. The description adds meaningful context about categories and the ranking pitfall, but does not explain undocumented parameters like limit, query, or onlyBuyable. It adds some value beyond the schema but does not fully compensate for the remaining gaps.

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 clearly states the tool searches and ranks by comparative price (kr/kg, kr/l, kr/st), distinguishing it from general sibling search tools like willys_search. It also notes it returns available categories, further specifying its unique behavior.

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

Usage Guidelines4/5

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

The description provides clear usage context by explaining that categories can narrow results and explicitly warns that without a category, minced meat sauce may rank as minced meat. It does not explicitly name alternative tools, but the specialized search-and-rank purpose implies when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oscarthroedsson/willys-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server