Skip to main content
Glama

Goma – MCP for Danish grocery prices, meal plans, and recipes

Sammenlign priser

compare_prices
Read-onlyIdempotent

Use this when the user asks where a grocery is cheapest or what it costs across Danish chains (Netto, Føtex, Rema 1000, Lidl, Coop, Bilka …). Returns the most relevant products of each chain with price, unit price and chain, lowest pricePerUnit first; compare pricePerUnit for different pack sizes.

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": {
      "query": "<query>"
    },
    "name": "compare_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesProduct, preferably in Danish, e.g. letmælk, smør, bananer.
storeNamesNoOptional chains, e.g. Netto, Føtex, Rema 1000, Lidl, Bilka; Coop means all Coop chains. Omitted: a logged-in user's favourite chains, else all chains.
organicOnlyNoOnly organic (økologisk) products.

Output Schema

NameRequiredDescriptionDefault
queryYes
productsYesLowest pricePerUnit first.
totalCountYesProducts matching the search, before the per-chain selection.
favoriteStoresYesThe logged-in user's favourite chains, used because no storeNames were given; else null.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results are the most relevant products per chain, include price, unit price and chain, and are ordered lowest pricePerUnit first. It does not discuss result limits, empty-result behavior, or how 'most relevant' is determined.

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 sentences, front-loaded with the triggering condition and followed by the return contract. The chain list is slightly redundant with the storeNames schema description but is defensible as it defines the tool's domain. No filler.

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?

With an output schema, full annotation coverage, and 75% schema description coverage, the description supplies exactly what structured fields cannot: when to invoke it and how results are ordered. Nothing an agent needs in order to call it correctly appears to be missing.

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 75% and both query and storeNames already carry their own descriptions, including the Coop-means-all-Coop-chains nuance and the favourite-chains fallback. The description adds no parameter-level detail beyond reinforcing that unit price is the comparison basis; limit and organicOnly are left entirely to the schema, so baseline 3 is appropriate.

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?

States a specific action (compare prices) and resource (grocery prices across named Danish chains), and the opening 'Use this when the user asks where a grocery is cheapest' makes the intent unmistakable. It does not explicitly distinguish itself from siblings like compare_shopping_list_prices or compare_meal_plan_cost, but the single-product query framing makes the scope reasonably clear.

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?

Gives explicit triggering conditions ('when the user asks where a grocery is cheapest or what it costs across Danish chains') and adds a usage hint about comparing pricePerUnit for different pack sizes. It stops short of stating when NOT to use it or naming the closest alternative tools, so it is clear context without exclusions.

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